From 280ea8eaf940057eb9301e52dd0b5ef9a12433e3 Mon Sep 17 00:00:00 2001 From: Pynix Wang Date: Wed, 28 Feb 2024 15:25:01 +0800 Subject: [PATCH] fix fee --- scripts/wasmd/send_first.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wasmd/send_first.js b/scripts/wasmd/send_first.js index 1812bfe7..e8a397c2 100755 --- a/scripts/wasmd/send_first.js +++ b/scripts/wasmd/send_first.js @@ -23,7 +23,7 @@ async function main() { const wallet = await DirectSecp256k1HdWallet.fromMnemonic(faucet.mnemonic, { prefix: prefix }); const client = await SigningStargateClient.connectWithSigner(rpcUrl, wallet, { prefix: prefix }); const recipient = "wasm14qemq0vw6y3gc3u3e0aty2e764u4gs5lndxgyk"; - const amount = coins(226644, "ucosm"); + const amount = coins(500000000, "ucosm"); const fee = calculateFee(100_000, "0.025ucosm"); const memo = "Ensure chain has my pubkey"; const sendResult = await client.sendTokens(faucet.address0, recipient, amount, fee, memo);