scripts: Add missing prefix to wasmd send_first
This commit is contained in:
parent
da8dda823a
commit
52c6b13d02
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user