Sending Network's Push Node works with Push vendors like APNS to enable wallet addresses to receive notifications from peers, dApps, and smart contracts. For example, DEX users can set a desired gas price and be notified when such price is met, saving the efforts of constantly checking back. Or, users from the lending protocol can subscribe to the notifications to be informed when they are about to be liquidated. There are tremendous scenarios where web3 users need to receive these important messages promptly.
Edge nodes send event notifications to the push node configured by the developer. Developers can also configure the edge node to determine which events generate notifications.
A basic flow of push notifications can be sent to Push Providers like Apple’s APNS or Google’s GCM:
- 1.The client app selects or gets assigned a set of edge nodes.
- 2.The client app registers with push providers to get a device token.
- 3.The client app configures the edge node(s) to connect to a Sending.Network Push Node.
- 4.The edge node sends the notification message to Push Node through HTTP requests with the device token.
- 5.The Push Node relays the notification message to the push providers like APNS, etc.
- 6.The Push Provider sends the notifications to the client's device.