substrate-js-utilities
substrate-js-utilities copied to clipboard
A set of useful JavaScript utilities for Substrate using Polkadot.js API
Along https://docs.substrate.io/reference/scale-codec/#fn-1 Compact encoded as `0x1501` should be decoded as decimal 69 but if I use this https://www.shawntabrizi.com/substrate-js-utilities/codec/ with ``` [ { "nonce": "Compact" } ] ``` I get 5377
Can we add a field that creates sub account for a given pallet id?
Raw bytes: `0x00400600` Custom types: ```json [ { "Number": "u32" } ] ``` Output: `4195840` The output should be: `409600`