The dApp requires a version of the tbtc.js library corresponding to the
environment being tested on. Versions with version -pre*
are for the Keep
internal testnet and will not work with Ropsten. For Ropsten, look for
versions of tbtc.js labeled -rc*
instead. Clones of the`master` branch of
this repository will by default use a -pre*
version of the tbtc.js library;
this version can be adjusted in the package.json
file.
npm start
runs the app in the development mode.<br>
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
To build a Docker image execute:
docker build . -t tbtc-dapp
To run the Docker image execute:
docker run -p 8080:80 tbtc-dapp
This will expose the app under http://localhost:8080.
To access the internal Keep testnet you need to be connected to it via VPN.
Contracts with which the app is interacting are deployed under an address that
depends on the current deployment; the latest tbtc.js
version with prerelease
id pre
should point to the deployed version.
To use the internal testnet, a custom network must be added to MetaMask:
RPC URL |
|
ChainID |
|