MetaMorpho Notifier - Let's you know when critical operations are performed on MetaMorpho Vaults.
npm i
Create a .envrc
file from the .envrc.example
file and fill in the required values.
In one terminal, run the following command to fork the mainnet using hardhat:
npx hardhat node
In another terminal, run the following command to test the notifier:
npx hardhat run scripts/demo.ts --network hardhat
You can extend M2N by adding more notifier implementations. Currently, there are two implementations available:
ConsoleNotifier
- Notifies via consolePushProtocolNotifier
- Notifies via Push Protocol