mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
fix fee
This commit is contained in:
parent
ec9ab2224e
commit
280ea8eaf9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user