A sample application that demonstrates the features of Plyaback Policy for Livepeer Studio
NOTE: This app uses the Goerli testnest and requires the wallet to contain at least 0.001 testnet Eth
Prerequisites: Node (v16 LTS) plus npm and Git
clone/fork 🎥 Livepeer Studio Playback Policy App:
git clone git@github.com:livepeer/Playback-Policy-Sample-App.gitinstall Playback Policy App and dependencies:
cd playback-policy-sample-app
npm installstart Playback Policy Sample App:
npm run dev🔏 Setup environment Variable:
This sample app uses an API key from a monitored account made for public use. When customizing this for your own use, setup a .env file and store you API key there for security.
Make sure to include the
.envin the.gitignore
Playback Policy with LivepeerJS SDK