Typescript NodeJS Snippet to send any Cosmos based chain crypto asset using Ledger Hardware Wallet

Job ID: 35011694

Budget: $8 – $15 USD

Provide a full example of NodeJS Typescript based on (https://github.com/cosmos/cosmjs/blob/main/packages/ledger-amino/demo/node.js ) that would not only sign a transaction using a Ledger Hardware Wallet. But at the same time broadcast it to the blockchain (and be able to verify it).

We need this snippet to work with any cosmos based chain (let's say Cosmos Hub, Osmosis, and Terra v2);

It should sign and broadcast the transaction to the network. We can confirm it in mintscan for instance.
Related categories: JavaScript Node.js Blockchain Cryptocurrency