@cennznet/types
TypeScript icon, indicating that this package has built-in type declarations

2.1.1-alpha.4 • Public • Published

@cennznet/types

CENNZnet runtime type definitions

Update metadata + types

  1. Add new modules to interfaces/update existing definitions to include additional type stubs and RPC methods.
  2. Start a node with the target runtime
  3. Run the following
# Get metadata from local CENNZnet node running target version
curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9933 > cennznet.json

yarn build

Readme

Keywords

Package Sidebar

Install

npm i @cennznet/types

Weekly Downloads

2

Version

2.1.1-alpha.4

License

Apache-2.0

Unpacked Size

808 kB

Total Files

208

Last publish

Collaborators

  • admincentrality