Skip to content

Commit

Permalink
Even more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
conache committed Feb 14, 2024
1 parent 3aa3d60 commit 7bd5ecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion faucet.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@ async function sendCosmosTx(recipient, chain) {
// const mnemonic = "surround miss nominee dream gap cross assault thank captain prosper drop duty group candy wealth weather scale put";
const chainConf = conf.blockchains.find(x => x.name === chain)
if(chainConf) {
console.log("Chain conf found")
const wallet = await DirectSecp256k1HdWallet.fromMnemonic(chainConf.sender.mnemonic, chainConf.sender.option);
const [firstAccount] = await wallet.getAccounts();

// console.log("sender", firstAccount);

console.log ("#################");
const rpcEndpoint = chainConf.endpoint.rpc_endpoint;
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, wallet);

Expand Down

0 comments on commit 7bd5ecf

Please sign in to comment.