walletconnect-docs icon indicating copy to clipboard operation
walletconnect-docs copied to clipboard

Expand push notifications section

Open ikucheriavenko opened this issue 3 years ago • 2 comments

Hello! Could you please expand push notifications description with more details:

  1. Body parameters description (e.g. type in payload - what types are supported)
  2. Some integration cases/examples of how to use the API (e.g., how to interact with API to create a push notification for a transaction user have to sign)

Thank you!

ikucheriavenko avatar Aug 25 '22 11:08 ikucheriavenko

Great feedback, thanks. Will do.

Can you let us know a bit more about your use case?

chadyj avatar Aug 25 '22 11:08 chadyj

Thank you for the prompt response! @arein

I'd like to send push notifications once a user has connected to a dApp via the mobile app; anytime there is a message/transaction request, the user is notified. For instance, as Rainbow does: when you connected to Opensea your Rainbow wallet through WalletConnect, anytime you have, e.g., a transaction to confirm, Rainbow sends you a push to notify you about this event. Maybe Rainbow receives some registered webhooks, etc. And I am trying to figure out how to make the same flow but on the dApp side. Can I push notification on dAPP side when transaction must be confirmed (in the case when wallet does not implement push notifications) Regarding described API in the notification section, I can’t make out the whole thing: should I have my push notification server similar to this node-server-example, does it work for dAPP or only to wallets clients?

ikucheriavenko avatar Sep 06 '22 18:09 ikucheriavenko