Using Neo Cast dApp (Gasless)

Sending Gasless Notifications via Neo Cast dApp

In this tutorial, you'll learn how to send gasless decentralized notifications using the Neo Cast dApp. We'll be using the Staging dApp and Goerli Network for demonstration.

Prerequisites: Before you can send notifications via the Neo Cast dApp, you must create a channel on Neo Cast. If you haven't done this yet, please follow the channel creation guide here.

Sending Notifications via Neo Cast dApp:

  1. Once you've created your channel, navigate to the h dApp.

  2. On the dApp dashboard, you'll find your channel's profile page and various utilities.

  3. Scroll down to the "Send Notification" section, where you can initiate the process of sending notifications. Here, you'll see a dropdown labeled "Select Notification Type."

  4. Neo Cast dApp supports three types of gasless notifications: Broadcast, Subset, and Targeted.

Broadcast Notifications:

  • Broadcast notifications are ideal for communicating messages to all subscribers of a channel.

  • Select "Broadcast" from the dropdown.

  • Fill in the required fields with your notification details, such as title and body.

  • You can preview how the notification will appear in real-time.

  • Click "Send Notification" to initiate a gasless transaction on the Goerli Network. Sign the transaction, and the notification will be sent to all your subscribers.

Subset Notifications:

  • Subset notifications are useful when you want to notify only a specific group of wallet addresses, such as for distributing rewards or sending notifications to users with special access.

  • Select "Subset" from the dropdown.

  • Fill in the notification details, and in the "Wallet Addresses" field, enter the addresses of the users you want to notify (you can separate addresses with commas or by pressing the enter key).

  • Click "Send Notification" to initiate a gasless transaction. Your notification will be sent to the specified wallet addresses.

Targeted Notifications:

  • Targeted notifications are used to send notifications to specific wallet addresses.

  • Select "Targeted" from the dropdown.

  • Fill in the notification details and specify the wallet address you want to notify.

  • Click "Send Notification" to initiate a gasless transaction. Your customized notification will be delivered to the specified wallet address.

By following these steps, you can easily send gasless notifications to your subscribers using the Neo Cast dApp. Notifications sent via the dApp are seamlessly delivered to your subscribers' inboxes, enhancing communication within the blockchain ecosystem.

Last updated