Files
nym/clients/validator
Dave Hrycyszyn ce7dcbc163 Feature/bigger better stronger mnemonics (#541)
* Upping the size of the mnemonic

* Making mnemonicToAddress static
2021-03-24 10:33:41 +00:00
..
2021-03-09 11:32:51 +00:00
2021-03-23 12:18:08 +00:00

Nym Validator Client

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

Running examples

With the code checked out, cd examples. This folder contains runnable example code that will set up a blockchain and allow you to interact with it through the client.

Running tests

npm test

You can also trigger test execution with a test watcher. I don't have the centuries of life left to me that are needed to fight through the arcana of wiring up a working TypeScript mocha triggered execution setup, so for now my Cargo-based hack is:

cargo watch -s "cd clients/validator && npm test"

It's ugly but works fine if you have Cargo installed. TypeScript setup help happily accepted here.

Generating Documentation

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