Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 6.12 KB

File metadata and controls

75 lines (52 loc) · 6.12 KB
description
A simple walkthrough guide to setup a Channel on Push protocol for sending Notifications to your Web3 subscribers

Creating A Channel

Creating a channel is the very first step for sending notifications via Push. Having a Channel on Push dApp (and Smart Contracts) allows you to establish a communication pathway with your users in Web3.0

While there are quite a few protocol level details about channels, let us first begin with understanding the overall Channel creation process.

Using the Push dapp or smart contracts, anyone with a wallet address on the Ethereum network can create their own channel. It can be deployed on:

  1. The Ethereum Mainnet (via Prod dApp), or
  2. Goerli Test Network (via Staging dApp)

The Prod dApp is mainly useful for fully functional dapps & smart contracts that are live on Blockchain networks. Creating your channel on Prod requires 50 PUSH, and it's recommended if you have a good user base or active community who wants notifications.

The Staging dapp is very useful for Builders/Developers to test out channels, send dummy notifications, and understand the functionalities of the Push Protocol. In the upcoming sections, we will set up a channel on Staging App.

Requirements for Setting Up a Channel

Ideally, there are six crucial requirements for creating a Channel. Make sure you are ready with the below list (required for both Prod and Staging)👇🏼

  1. A Channel Name
  2. Channel Logo (an image of size 128px * 128px)
  3. An amount of 50 $PUSH tokens in your Wallet (and some ETH 😇)
  4. A brief Channel Description (250 Characters)
  5. Channel CTA (Call To Action link).
  6. Network & Alias Address

Quick Important Note on Network & Alias Address

  • The Network dropdown allows you to select the network/chain on which you want to send notifications. It is set to Ethereum chain by default but allows you to select other chains as well. (Currently Polygon & BSC).
  • The Alias Address field appears only when you select any chain other than Ethereum for your channel's notification. Alias address is basically the representation of your original Ethereum channel on the selected chain of your choice.
  • The alias address basically allows you to provide an address that will represent your channel on the other chain selected in the Network dropdown section. It is imperative to note that the address you pass as an alias, must be your own as it will be further verified as a part of the channel creation process. Read more about Alias Addresses👇.

{% content-ref url="../../concepts/create-your-notif-channel/what-is-a-channel-alias.md" %} what-is-a-channel-alias.md {% endcontent-ref %}

{% hint style="success" %} Note: You can pass the same Ethereum (EVM-compatible) address, being used for channel creation, as an alias address for other EVM-compatible chains as well.

The Alias address is quite crucial to activate your channel on other chains. Read more about it in enabling-channel-on-other-chains page. {% endhint %}

{% hint style="info" %} Note: The channel address is basically the account(wallet) address you use when creating the channel. {% endhint %}

How to setup your channel

  1. Ensure that you have the above requirements ready.
  2. Head to the Push Prod dapp or Staging dapp based on your channel creation requirement. Note: Channel creation is a protocol-based event which means you can also create the channel by interacting with EPNS Core Smart Contract.
  3. Visit Create Channel and follow the instructions to create your channel. Optionally you can visit deploying-your-first-channel.md guide for step-by-step tutorial.
  4. If you wish to create a channel using a Gnosis safe, please visitcreating-a-channel-using-gnosis-safe.md and follow the guide to create one.
  5. Ensure that you have the above requirements ready.
  6. Head to the Push prod dapp or the staging dapp based on your channel creation requirement. Note: Channel creation is a protocol-based event which means you can also create the channel by interacting with EPNS Core Smart Contract.
  7. Visit Create Channel and follow the instructions to create your channel. Optionally you can visit deploying-your-first-channel.md guide for step-by-step tutorials.
  8. If you wish to create a channel using a Gnosis safe, please visitcreating-a-channel-using-gnosis-safe.md and follow the guide to create one.

{% hint style="warning" %} Need Goerli-PUSH tokens for staging dapp?

If you are setting up a Channel on Staging dApp, you can get Free Goerli $PUSH tokens from the dApp & online faucets. Alternatively, you can also directly mint Goerli Push from Etherscan.
You won't need for real PUSH or ETH on the Staging app 😁 {% endhint %}

{% hint style="success" %} If you are setting up a Channel on Prod dApp (Ethereum Mainnet), you can request for channel creation gas fee reimbursement within 24 hrs by filling out this form. See this medium article for more information. {% endhint %}