diff --git a/.env.example b/.env.example index e7ce350..791aa7c 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -APP_VERSION=0.3.9 +APP_VERSION=0.4.0 NEXT_PUBLIC_PINATA_ENDPOINT_URL=https://api.pinata.cloud/pinning/pinFileToIPFS NEXT_PUBLIC_SG721_CODE_ID=274 diff --git a/contracts/sg721/contract.ts b/contracts/sg721/contract.ts index dbefd57..a46ed29 100644 --- a/contracts/sg721/contract.ts +++ b/contracts/sg721/contract.ts @@ -620,7 +620,7 @@ export const SG721 = (client: SigningCosmWasmClient, txSigner: string): SG721Con admin?: string, ): Promise => { const result = await client.instantiate(senderAddress, codeId, initMsg, label, 'auto', { - funds: [coin('1000000000', 'ustars')], + funds: [coin('2500000000', 'ustars')], memo: '', admin, }) diff --git a/contracts/vendingFactory/contract.ts b/contracts/vendingFactory/contract.ts index 6082804..d8aa8ba 100644 --- a/contracts/vendingFactory/contract.ts +++ b/contracts/vendingFactory/contract.ts @@ -73,7 +73,7 @@ export const vendingFactory = (client: SigningCosmWasmClient, txSigner: string): sender: txSigner, contract: contractAddress, msg, - funds: [coin('1000000000', 'ustars')], + funds: [coin('2500000000', 'ustars')], } } diff --git a/contracts/vendingMinter/contract.ts b/contracts/vendingMinter/contract.ts index e462cfb..e132380 100644 --- a/contracts/vendingMinter/contract.ts +++ b/contracts/vendingMinter/contract.ts @@ -587,7 +587,7 @@ export const vendingMinter = (client: SigningCosmWasmClient, txSigner: string): label: string, ): Promise => { const result = await client.instantiate(senderAddress, codeId, initMsg, label, 'auto', { - funds: [coin('1000000000', 'ustars')], + funds: [coin('2500000000', 'ustars')], }) return { diff --git a/package.json b/package.json index 193c433..1ba8673 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stargaze-studio", - "version": "0.3.9", + "version": "0.4.0", "workspaces": [ "packages/*" ], diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index b9de7f0..a5a0e69 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -439,7 +439,7 @@ const CollectionCreationPage: NextPage = () => { messages: vendingFactoryMessages, txSigner: wallet.address, msg, - funds: [coin('1000000000', 'ustars')], + funds: [coin('2500000000', 'ustars')], } const data = await vendingFactoryDispatchExecute(payload) setTransactionHash(data.transactionHash) @@ -817,11 +817,11 @@ const CollectionCreationPage: NextPage = () => { const checkwalletBalance = () => { if (!wallet.initialized) throw new Error('Wallet not connected.') if (whitelistDetails?.whitelistType === 'new' && whitelistDetails.memberLimit) { - const amountNeeded = Math.ceil(Number(whitelistDetails.memberLimit) / 1000) * 100000000 + 1000000000 + const amountNeeded = Math.ceil(Number(whitelistDetails.memberLimit) / 1000) * 100000000 + 2500000000 if (amountNeeded >= Number(wallet.balance[0].amount)) throw new Error('Insufficient wallet balance to instantiate the required contracts.') } else { - const amountNeeded = 1000000000 + const amountNeeded = 2500000000 if (amountNeeded >= Number(wallet.balance[0].amount)) throw new Error('Insufficient wallet balance to instantiate the required contracts.') } diff --git a/pages/contracts/vendingMinter/instantiate.tsx b/pages/contracts/vendingMinter/instantiate.tsx index 03463de..f8c0f76 100644 --- a/pages/contracts/vendingMinter/instantiate.tsx +++ b/pages/contracts/vendingMinter/instantiate.tsx @@ -208,7 +208,7 @@ const VendingMinterInstantiatePage: NextPage = () => { contract .use(VENDING_FACTORY_ADDRESS) ?.createVendingMinter(wallet.address, msg, [ - coin('1000000000', 'ustars'), + coin('2500000000', 'ustars'), ]) as Promise, { loading: 'Instantiating contract...',