- Node.js >= 18
- npm
- Run
npm installto install dependencies - Edit
config.jsonwith your e-talk user ID and validator wallet - Run
npm startto start the mirror node
- Mirrors WebChain blocks from WEBCHAIN BLOCKCHAIN
- Reports new blocks back to the mother node
- Allows validator transactions via CLI /withdraw + OTP confirmation
- to submit transactions? Use our CLI/SDK
npm install webchain-blockchain-sdk - Optional browser peer relay via WebRTC
If you want to stop the mirror node safely:
-
In the terminal where
npm startis running, pressCtrl + C.
This will stop the mirror immediately without affecting your local chain (chaindb). -
Alternatively, you can close the terminal where it’s running.
To start it again after stopping:
npm start OR npm run start:all