Links

Deploying your First Channel

This quick tutorial will walk you through setting up a Test Channel using the Push Staging dApp
Any legitimate Ethereum Wallet address can activate itself in the protocol as a Channel, and start sending notifications. In order to set up a channel, a user can create one by using our Push dapp or directly interacting with our EPNS Core Smart Contracts.
In this tutorial, we will use the Push Staging dApp to launch our channel and test notifications features. It's incredibly simple and easy to deploy channels on the Push using our dApp. Without any further ado, let's set up our channel 🚀

5 Steps to Create Channel

Make sure you are ready with your wallet. Push protocol supports both EOA & Multisig wallets.

Step 1️⃣ - Visit Push dapp

Head to the Push prod dapp or the staging dapp based on your channel creation requirement.

Step 2️⃣ - Connect to Web3

Connect your Metamask Wallet or any other supported wallet!
Push dApp

Step 3️⃣ - Developer > Create Channel

Once Connected, go to the Developer > Create Channel
Create Channel Page
If you are on a staging environment, don't forget to mint: - Testnet Ethereum - Testnet Dai - Testnet Matic (If Multichain)
Currently, Channel Alias is the only way to enable multi-chain communication and it is immutable. It's heavily recommended to understand it and set it up as part of channel creation.
Faucets giving you trouble? Head to our
👉
Push Discord Channel and ask an admin to send you some.

in Step 4️⃣ - Understand and fill details (Especially Channel Alias)

Channel Alias is immutable in Push Protocol v1 and can't be changed later

What is Channel Alias Address?

An alias address is required to enable your channel on other chains so that they are capable of triggering notifications on other chains apart from the Ethereum chain only.
For instance, if you wish to send a notification on the polygon chain, provide the alias address of your channel on Polygon chain. Alternatively, you may choose to keep it blank if you only wish to send notifications on the Ethereum chain itself.
Channel Alias is only shown if you switch to any other network than Ethereum. This means that your channel will be able to send notifications on both Ethereum and the other blockchains which you select!
Read the section attached below to learn more about channel alias addresses.

Step 5️⃣ - Do Transactions

You will need to do two transactions (and optionally the third one if you are creating a multi-chain channel, more on that in step 6).
  1. 1.
    Approval of DAI -> This transaction ensures that your wallet address has successfully approved the EPNSCore contract to use 50 DAI on your behalf.
  2. 2.
    Channel Creation on EPNSCore -> Once approved, the 2nd transaction calls the channel creation function on EPNSCore smart contract to create the channel.

Step 6️⃣ - Verify Channel on another Blockchain

If you have created a multichain channel then you need to switch to that blockchain network and do another tx that verifies your channel on that network.
Congratulations 🎉 Your channel should now be successfully created. YES, it's this much easy..!

Know your Channel

Channel Dashboard
After successful channel creation, the EPNS dApp will start showing the Channel's Profile Page. There are a few details about this page listed below for your reference;
  • This Channel Profile page shall only be visible to the Creator of the Channel.
  • The Channel Profile page allows the channel owner to trigger notifications to its subscribers via the dApp.
  • This page also gives the channel owner access to the Settings button through which the channel owner can perform multiple actions, such as adding a delegate notification sender for the channel, removing a delegate, deactivating the channel, etc.
Alright, now that you own a Channel, let's understand how you can send notifications to your subscribers and establish better communications in the Web3 world 🥳