- Make sure Public key is set on the M3ter contract
- Make sure the price for evergy as been set on the PriceContext contract
- Make sure the Console has been granted publish permission on the Streamr stream
-
Clone/Update
git clone https://github.com/M3tering/Console.git # or cd Console/ && git pull
-
Environment Variables Create
.envfile:PORT=3000 API_TOKEN=... APPLICATION_ID=... CONTRACT_LABEL=M3ters CHIRPSTACK_HOST=localhost MAINNET_RPC=https://sepolia.drpc.org PREFERRED_PROVER_NODE=http://34.244.149.153 STREAMR_STREAM_ID="0x567853282663b601bfdb9203819b1fbb3fe18926/m3tering/test" ETHEREUM_PRIVATE_KEY="..." -
Docker Build and Run
sudo docker compose down sudo docker compose up -d
sudo docker ps- list running containerssudo docker ps -a- list all containerssudo docker compose down- stop containersudo docker compose logs- view logssudo docker compose logs -tf- follow logs with timestampssudo docker system prune- cleanup unused containers/imagessudo docker system prune -a- cleanup everything unused
npm install
npm run dev