Protocol Interfacing for Notifications

Concept

All of the payloads are uploaded as JSON format in decentralized storage solutions (or in some special future cases, even centralized ones). The EPNS JS Library interfaces with Ethereum Push Notification Service protocol and calls:

sendNotification(address _recipient, bytes _identity)

The delimiter + is used for joining the fields together, this is done to optimize the payload written on chain.

Example _identity: 2+QmcdzjicUnxv8ASKKSgEEYjhK7symwxqDG4BeCS82rdNBk

Always recommended to interface with EPNS JS Library for abstracting these details out.

This feature of protocol will keep evolving for further optimizations in the future.

Last updated