Web9c is a JS/TS testbed repository for presenting how can we interact with Nine Chronicles from various JS runtime. (Browser / Node.js / Deno) using our latest JS/TS library support.
With a bit of exception, source code of our JS/TS Libraries are resides mostly in libplanet/@planetarium, so you can take a look about how these libraries are made, even contribute! if you need custom build for your needs, you can modify them and build just for you.
In case of installing dependancies for your project, you can search on npm with @planetarium
Used for Action Generation.
We interoped original C# lib9c source code into WASM. so we can call native action builder from JS/TS. with the right parameters (i.e. PlainValue) given, we can get same bencodex encoded action without handling C#.
Data Serialization/Deserialization
If you have ever interacted with our chain directly using GraphQL, you probably have encountered this format. we recently re-wrote bencodex javascript implementation, with much more robust and comprehensive code, less hassle for handling bencodex on JS/TS environment.
Warning
when you try to install bencodex library, we recommend '@planetarium/bencodex' instead of just 'bencodex'. 'bencodex' support has been deprecated.
WIP