DeFi Notifications

Open notification protocol for DeFi

The Open DeFi Notification Protocol is a community led initiative to provide users with decentralized and free mobile notifications for on-chain events.

Add notifications for any project by implementing a simple JavaScript web3 class

Aave Example

This notification will protect Aave users from liquidation by notifying them when their position health factor drops below 1.1

const BigNumber = require("bignumber.js");

class LowHealth {
  static displayName = "Low Health";
  static description = "Get notified when health factor is getting low (below 1.1)";

  async onInit(args) {
    const abi = [{/* ... */}];
    this.contract = new args.web3.eth.Contract(abi, "0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9");
  }

  async onBlocks(args) {
    const position = await this.contract.methods.getPositionData(args.address).call();
    if (new BigNumber(position.healthFactor).dividedBy("1e18").toNumber() < 1.1) return {
      notification: "Health factor dropped below 1.1"
    };
  }
}

module.exports = LowHealth;

Powered by Orbs Network

Powered by Orbs Network

Notification schemas are constantly executed by protocol alert nodes in order to analyze new blocks of on-chain data for notifying protocol subscribers. Alert nodes are running on Orbs Network, a permissionless and decentralized oracle chain, and executed by the public validators of the network. Orbs Network has dozens of independent validators running Proof-of-Stake consensus with 1.1B ORBS staked. The network has been running in mainnet since 2019.

Open source iOS and Android app

Users can receive notifications for free by using a sleek open-source iOS and Android app, or through Discord, Twitter, Telegram, etc.