Skip to content

nooomski/cosmjs-sandbox

Repository files navigation

CosmJS beginner sandbox

To reproduce issue on Cosmos SDK v0.46:

Set up Local chain

Make sure to nuke your .simapp folder or set a different home directory and checkout and build v0.46.0-beta2 in your SDK folder

simd config chain-id demo
simd config keyring-backend test
simd keys add alice
simd keys add bob
simd init test --chain-id demo
simd add-genesis-account alice 5000000000stake --keyring-backend test
simd gentx alice 1000000stake --chain-id demo
simd collect-gentxs
simd start --mode validator

Set up key

Export your key and add this to a new file called simd.alice.private.key in the root folder:

simd keys export alice --unsafe --unarmored-hex

Install packages

$ npm install

Run it

$ npm run experiment-local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published