Go to file
2020-02-06 10:03:34 +01:00
.circleci Add nice title for CI task: 'Wait for blockchain and REST server ...' 2020-02-04 22:28:53 +01:00
packages Fix titles and links 2020-02-06 10:03:34 +01:00
scripts Add nonces 2020-02-06 08:59:22 +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.js Enable @typescript-eslint/prefer-readonly 2020-02-03 09:46:35 +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
faucet.Dockerfile Add packages/sdk to build container 2020-01-31 18:04:11 +01:00
lerna.json v0.0.2 2020-02-06 09:00:44 +01:00
LICENSE Use an unmodified copy of Apache-2.0 2020-01-23 18:32:43 +01:00
NOTICE Add packages/faucet 2020-01-30 07:36:44 +01:00
package.json Fix titles and links 2020-02-06 10:03:34 +01:00
README.md Fix titles and links 2020-02-06 10:03:34 +01:00
tsconfig.json Convert to monorepository using lerna/workspaces 2020-01-29 12:00:32 +01:00
tslint.json Let eslint take case of prefer-const 2020-02-03 09:45:32 +01:00
yarn.lock Remove top level dependencies 2020-02-05 14:12:18 +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