/cosmjs-sandbox

This repository implements CosmJS using the Cosmos developer portal documentation & covers the following points: 1) Prepare a simple testnet. 2) Establish your connection. 3) Inspect a balance. 4)Send transactions. 5) Send multiple tokens in a single transaction. 6) Sign and broadcast. 7) Assemble multiple messages.

Primary LanguageTypeScript

CosmJS beginner sandbox

Use it to experiment with CosmJS commands.

Install it

$ npm install

Run it

$ npm run experiment

Exercise progression

As you progress with your exercise, you can look at the solutions in their respective branches. Here is how the branches follow each other:

  • master, start here
  • file-preparation, diff
  • with-stargate-client, diff
  • with-signing-stargate-client, diff
  • send-tokens, diff
  • send-tokens-local, diff