Skip to content
/ cosmjs Public

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.

License

Notifications You must be signed in to change notification settings

cosmos/cosmjs

Repository files navigation

@iov/cosmos

npm version

This is a Typescript client-side binding to wasmd, a sample blockchain for the cosmwasm smart contracting platform.

Development

Requires Node 10+. For best results, use yarn. The basic commands are:

# compile the code
yarn build
# run unit tests
yarn test

# format and lint the code
yarn format && yarn lint

Integration tests

To run the entire test suite, you need to run a local blockchain to test against. This should work on any Linux/OSX system with docker installed.

./scripts/cosm/start.sh
COSMOS_ENABLED=1 yarn test
./scripts/cosm/stop.sh

About

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.

Resources

License

Stars

Watchers

Forks