Build for Wasm
We offer several ways to use Wasm Rings, including:
Using Rings SDK
Using Rings Browser Extension
Build your custom-rings
Rings SDK
To fetch the SDK from npm
, just:
If you want to use the latest version of Rings Network, you can also directly incorporate the latest version or a specific branch of Rings Network into your Node.js project by modifying the package.json file. For example:
As a developer, if you want to build local offline dependencies, you can do the following.
Note: The reason for using a git path instead of a local path is that npm, after a certain version, no longer executes the prepare script in local path packages, and rings-node relies on the prepare script to help with wasm compilation.
Rings Browser Extension
Rings Browser Extension is not released yet, but you can check the implementation at
Custom Build
To build Rings Network for WebAssembly, run the following commands:
Or build with wasm-pack
Last updated