Simple frontend for the substrate TCR runtime. This is a react.js app, bootstrapped using Create React App.
This app interacts with the Substrate TCR runtime using the Polkadot JS API javascript client library.
The relevant code that interacts with the Substrate node using the Polkadot JS API is in the tcrService.js file.
- Run a local Substrate node with Substrate-TCR runtime.
- Clone this repo.
npm install
npm start
The UI should automatically connect to the local Substrate node.
Note: This UI currently does not support the initialization of the TCR and transfer of tokens. These functions can be called from the Polkadot Apps UI as described here. Make sure to use the same account seeds in both places.