Go to file
2020-01-29 12:26:47 +01:00
.circleci Add lint job 2020-01-26 16:04:14 +01:00
packages/bcp Use separate .gitignore for package 2020-01-29 12:26:47 +01:00
scripts cli.sh works directory independent 2020-01-23 12:36:33 +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 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
lerna.json Convert to monorepository using lerna/workspaces 2020-01-29 12:00:32 +01:00
LICENSE Use an unmodified copy of Apache-2.0 2020-01-23 18:32:43 +01:00
NOTICE Add me 2020-01-23 18:33:01 +01:00
package.json Convert to monorepository using lerna/workspaces 2020-01-29 12:00:32 +01:00
README.md Add LICENSE, dev instructions in README 2020-01-22 22:24:09 +01:00
tsconfig.json Convert to monorepository using lerna/workspaces 2020-01-29 12:00:32 +01:00
tslint.json Copy config from parent dir 2020-01-22 09:55:20 +01:00
yarn.lock Upgrade lerna 2020-01-28 22:52:28 +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