Files
Tommy Verrall a6a661b4c5 change location
2022-03-03 16:59:02 +00:00
..
2022-03-03 16:59:02 +00:00
2022-01-19 16:52:02 +00:00
2021-12-16 15:35:30 +00:00
2021-03-24 11:49:58 +00:00
2021-03-09 11:32:51 +00:00
2021-12-16 15:35:30 +00:00
2021-03-24 11:49:58 +00:00
2022-03-03 16:54:35 +00:00
2022-03-03 11:47:30 +00:00

Nym Validator Client

A TypeScript client for interacting with CosmWasm smart contracts in Nym validators.

Running tests

The tests will be separated into three categories: unit, integration and mock.

Currently the command to run all tests:

npm test

The tests require .env.example being renamed to .env. The variables and their values for these tests are currently pointing to the nym-sandbox environment.

Tests are still in development - the test libary is jest and the test script will execute currently with: --coverage --verbosity false

Generating Documentation

You can generate docs by running npm run docs. Generated output will appear in the docs directory.

Packaging

If you're a Nym platform developer who's made changes to the client and wants to re-publish the package to NPM, here's how you do it:

  1. Bump the version number (use SemVer)
  2. npm run build
  3. npm login (if you haven't already)
  4. npm publish