Skip to content

Commit

Permalink
fix fee
Browse files Browse the repository at this point in the history
  • Loading branch information
pynixwang authored and webmaster128 committed Mar 8, 2024
1 parent ec9ab22 commit 280ea8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wasmd/send_first.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 280ea8e

Please sign in to comment.