Go to file
2020-02-12 00:04:13 +01:00
.circleci Extract init.sh 2020-02-10 14:25:33 +01:00
docs Use faucet from NPM 2020-02-06 10:41:08 +01:00
packages Let encodeSecp256k1Signature expect 64 byte signatures 2020-02-12 00:04:13 +01:00
scripts Let Pen.sign return full StdSignature 2020-02-11 19:34:46 +01:00
.editorconfig Set up format and lint configs 2020-01-22 22:24:22 +01:00
.eslintignore Add some code snippets 2020-02-06 17:46:47 +01:00
.eslintrc.js Use radix rule from eslint 2020-02-10 14:19:34 +01:00
.gitignore Use separate .gitignore for package 2020-01-29 12:26:47 +01:00
.prettierrc.json Set up format and lint configs 2020-01-22 22:24:22 +01:00
jasmine-spec-reporter.config.json Deduplicate copies of jasmine-spec-reporter.config.json 2020-02-06 15:53:56 +01:00
lerna.json v0.0.3 2020-02-06 10:22:21 +01:00
LICENSE Use an unmodified copy of Apache-2.0 2020-01-23 18:32:43 +01:00
NOTICE Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
package.json Remove unused memdown dependencies 2020-02-11 18:37:49 +01:00
README.md Fix titles and links 2020-02-06 10:03:34 +01:00
tsconfig.json Cleanup root tsconfig.json 2020-02-06 15:32:12 +01:00
tslint.json Use radix rule from eslint 2020-02-10 14:19:34 +01:00
yarn.lock Remove unused memdown dependencies 2020-02-11 18:37:49 +01:00

CosmWasm JS

This is a JavaScript/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