- Import the IBP treasury account using the seed shared in the IBP DAO channel.
- Create two accounts for the IBP member and monitor on your PJS browser extension, note the seed phrase of the monitor account. Allow use on any chain for both accounts.
- Go to IBP Node PJS and fund your member & monitor accounts from the treasury account.
- Go to the extrinsics tab, and submit an
ibp.registerMemberextrinsic with the member name to register your member account. - Submit
ibp.registerMemberServiceextrinsic(s) to define your services. ForserviceId, use0for Kusama,1for Polkadot and2for Westend (you can view defined services by querying theibp.servicesstorage). For address, enter your domain. For port enter443for basic SSL. Service path comes from the on-chain service definition. - Register your monitor account using the
ibp.registerMonitorextrinsic. Sign it with your member account, and select your monitor account for the account parameter. - Clone this repo
git clone https://github.com/ibp-network/ibp-node-demo.git. - Edit the
MONITOR_SEED_PHRASEconstant in filesrc/client/ibp-demo.tsand set it to your monitor account seed phrase. - Run the app with
npm install && npm run dev, view it at http://localhost:8080. - Click on the monitor button to run the health check on a randomly selected member node.
ibp-network/ibp-node-demo
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|