scripts: Add missing prefix to wasmd send_first

This commit is contained in:
willclarktech 2021-04-08 13:14:09 +02:00
parent da8dda823a
commit 52c6b13d02
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -17,7 +17,7 @@ const faucet = {
async function main() {
const wallet = await DirectSecp256k1HdWallet.fromMnemonic(faucet.mnemonic, { prefix: prefix });
const client = await SigningStargateClient.connectWithSigner(rpcUrl, wallet);
const client = await SigningStargateClient.connectWithSigner(rpcUrl, wallet, { prefix: prefix });
const recipient = Bech32.encode(prefix, Random.getBytes(20));
const amount = coins(226644, "ucosm");
const memo = "Ensure chain has my pubkey";