Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (16 loc) · 851 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 851 Bytes

EDC-Blockchain-Listener

The listener observes if the mint function of a smart contract is triggered. If so, it forwards a JSON to a WebSocket server that notifies the subscribed clients and relays the JSON.

Listener Setup

Ensure that ./contractConfig.js has the actual addresses and that the right address is in the destination of the ./taquito/listener.js or if you are using docker look out that the correct environment variable is set.

Run the Tezos Client

First, make sure all dependencies are installed:

npm install

Run the server locally:

npm run serve

Tezos Account

You can easily create your own account and change it in the config file.

When originating new contracts, make sure to update the new addresses in ./contractConfig.js.