Go to file
2020-01-22 22:40:34 +01:00
nonces Import from @iov/cosmos 2020-01-22 09:41:48 +01:00
scripts Updated docker image to match what is pushed to dockerhub 2020-01-22 16:09:14 +01:00
src Add prefix and tokens into Codec 2020-01-22 22:40:34 +01:00
types Copy config from parent dir 2020-01-22 09:55:20 +01:00
.editorconfig Set up format and lint configs 2020-01-22 22:24:22 +01:00
.eslintignore Import from @iov/cosmos 2020-01-22 09:41:48 +01:00
.eslintrc.json Set up format and lint configs 2020-01-22 22:24:22 +01:00
.gitignore Copy config from parent dir 2020-01-22 09:55:20 +01:00
.prettierrc.json Set up format and lint configs 2020-01-22 22:24:22 +01:00
jasmine-spec-reporter.config.json Copy config from parent dir 2020-01-22 09:55:20 +01:00
jasmine-testrunner.js Copy config from parent dir 2020-01-22 09:55:20 +01:00
karma.conf.js Import from @iov/cosmos 2020-01-22 09:41:48 +01:00
LICENSE Add LICENSE, dev instructions in README 2020-01-22 22:24:09 +01:00
NOTICE Add LICENSE, dev instructions in README 2020-01-22 22:24:09 +01:00
package.json Copy config from parent dir 2020-01-22 09:55:20 +01:00
README.md Add LICENSE, dev instructions in README 2020-01-22 22:24:09 +01:00
tsconfig.json Copy config from parent dir 2020-01-22 09:55:20 +01:00
tslint.json Copy config from parent dir 2020-01-22 09:55:20 +01:00
typedoc.js Import from @iov/cosmos 2020-01-22 09:41:48 +01:00
webpack.web.config.js Import from @iov/cosmos 2020-01-22 09:41:48 +01:00

@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