@cennznet/types
CENNZnet runtime type definitions
Update metadata + types
- Add new modules to interfaces/update existing definitions to include additional type stubs and RPC methods.
- Start a node with the target runtime
- 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