This commit is contained in:
Pynix Wang
2024-03-08 12:25:22 +01:00
committed by Simon Warta
parent ec9ab2224e
commit 280ea8eaf9
+1 -1
View File
@@ -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);