Skip to content

ibp-network/ibp-node-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBP Node PoC Demo

  1. Import the IBP treasury account using the seed shared in the IBP DAO channel.
  2. 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.
  3. Go to IBP Node PJS and fund your member & monitor accounts from the treasury account.
  4. Go to the extrinsics tab, and submit an ibp.registerMember extrinsic with the member name to register your member account.
  5. Submit ibp.registerMemberService extrinsic(s) to define your services. For serviceId, use 0 for Kusama, 1 for Polkadot and 2 for Westend (you can view defined services by querying the ibp.services storage). For address, enter your domain. For port enter 443 for basic SSL. Service path comes from the on-chain service definition.
  6. Register your monitor account using the ibp.registerMonitor extrinsic. Sign it with your member account, and select your monitor account for the account parameter.
  7. Clone this repo git clone https://github.com/ibp-network/ibp-node-demo.git.
  8. Edit the MONITOR_SEED_PHRASE constant in file src/client/ibp-demo.ts and set it to your monitor account seed phrase.
  9. Run the app with npm install && npm run dev, view it at http://localhost:8080.
  10. Click on the monitor button to run the health check on a randomly selected member node.

About

Simple PoC demo web app for the IBP node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published