Eat Deployment - Table of Contents

Publisher Deployment

The Edge Activity Token ($EAT) is a crypto token on the Polygon
Blockchain . As you watch BizTV you are paid in $EAT. The more
you watch, the more you earn.
Want to earn even more? Turn on the sound, its that simple.
Want a preview on how it works, watch this video.
$EAT Legal Status
https://d1uws33cwei8x4.cloudfront.net/v1/master/9d062541f2ff 39b5c0f48b743c6411d25f62fc25/EdgeVideo-EnglishFootball Channel/m.m3u8
This is a simple step which requires the code to be installed
from the Wallet Management Page.
Watch this video here to see how to deploy Watch2Earn and
manage wallets on a channel by channel basis.
<script type="text/javascript" src="https://livesearch.localhost/edge/js/eatThemAll.js?channelWallet=0x5653E149A55632F53EF305F53D25E5 9A4C9F4A12"> </script>


Business Model (flow of funds)
The allows the publisher to manage engagement and the budget and also helps the $EAT price grow as its an automatic staking mechanism.
Adding Funds & Pay Rates
Click deposit and add the tokens to your channel(s).



How To Buy Tokens
Or contact us to use traditional forms of payment.
Adding Funds & Pay Rates
Add funds to your wallet using the Wallet Management Page.
Viewers are paid at different rates, depending on the viewer.
Click to deposit and add the tokens to your channel(s).
How To Buy Tokens
Or contact us to use traditional forms of payment.
First Time Viewers
Earning $EAT in 90 seconds
Step 1: Press “Install Metamask” follow the steps to install Metamask in Google Chrome.
Step 2: Press “Connect Wallet” Button, Polygon will be added to the list of chains.
Step 3: Add $EAT to your Metamask Now the viewers will see a realtime display overlaying the video showing their $EAT being earned.


Creating The Install/Connect Button
<button class="edge-connect-button" type="button"> INSTALL METAMASK </button><script type="text/javascript" src="https://livesearch.edgevideo.
com/js/edgeConnectButton.js"> <script>
SMART TVs
Integrate Watch2Earn into your Apple TV, Amazon Fire TV and more
On your backend you’d need to give users a place to enter a wallet address to receive the EAT they’ll earn – if you’ve got users in a database that’s likely just a 40 character column.
On your frontend, on the web, you’d probably want to add something like the following to allow them to enter & modify On our w2e wallet management page you’d create wallets – we create a different wallet for every channel – and then deposit EAT and MATIC (MATIC is used for gas and goes a long way.) On your backend you’d need to associate the wallet address from our publisher page with your channel(s).
When a viewer starts watching:
- create a websocket connection to our backend – wss://faices-api.edgevideo.com
- supply the channel’s wallet address by sending JSON like the following:
`{“type”: “channel”, “value”: “0x90B10109840FCEC8A890B786A0986B3304EA9492”}` - supply the viewer’s wallet address by sending JSON like the following:
`{“type”: “wallet”, “value”: “0x851400912c070D2CBd78dcA46244f588c97710BB”}` - set the viewer’s rate by sending JSON like the following:
`{“type”: “rate”, “value”: 150}`
Rate is the rate at which a viewer accumulates score – for the web we vary this based on whether the tab is in the background, the video is muted, the video is fullscreen etc. but that’s up to you (the minimum is 0 and the maximum is 600.) On that websocket connection you’ll periodically get information about the viewer’s offchain earnings (how much is yet to be sent) and we’ve got a different APi you could use to get their onchain balance (demo.)
Smart TV UI