The CENNZnet JavaScript API library for browsers and Node.js.
See the Getting started guide on the wiki for an introduction to the API.
Then head to the docs and try the example snippets to get started.
Name | Description |
---|---|
@cennznet/api | The core API package |
@cennznet/types | CENNZnet specific type definitions |
Running integration tests
# Start test nodes
docker-compose up
yarn test:e2e
Fetch latest metadata from local node and regenerate dynamic type definitions + docs
yarn meta:update
- Create a branch
prerelease/<semver>
e.g.prerelease/1.5.0
for an ordinary release orprerelease/1.5.0-alpha.0
for a release candidate.
Bump package versions, ensure static metadata updated and docs regenerated - Open a PR, passing CI and review
- label it 'automerge' and the release will be published to npm
Generate typedocs
yarn docs:src