Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Latest commit

 

History

History

backend

BlockSig Backend

Interacting with the Ethereum components

  • Setup EthVigil account or MaticVigil

  • Deploy BlockSig.sol from CLI or Web UI

  • See config/default.json and create another file like ${NODE_ENV}.json by copying over contract address and API KEY (secret)

Running the server

Setup webhook

  • Use the MaticVigil or EthVigil CLI or Web UI to register for all events on your contract to https://server.dev/hook

Tip: Open a SSH tunnel or use ngrok to open up the server running at 5000 as a publicly reachable https URL to register the hook