Extensible Message Interface
1. JavaScript
1.1 Compile and install
// generate the wasm package of the plugin project
cd message-type-plugin
./build-wasm.sh// generate the wasm package of the Radix main project
cd radix
./build-wasm.sh
// generate service worker sw.js
cd web/
yarn install
yarn build1.2 Deploy and Register
1.2.1 Deploy
1.2.2 Register the Plugin
1.3. Use the Plugin
2. iOS & Android
2.1 Compile the Plugin Project
3. Dapp Callback
3.1 Preparation
3.2 API Provider (Web applications that provide APIs to Dapps)
3.3 Call an API
Last updated