Bounty: Livepeer + Disco (Video Gating using Verifiable Credentials) - 175 OP Reward
kamescg opened this issue Β· 1 comments
π¨βπ» User Story
As a content creator I want the ability to easily stream video to my audience using verifiable credentials as the access controls.
More specifically I want to utilize the Disco API and Livepeer protocol to gate video content.
π Disclaimer
To be eligible for the payout you must first get approval to work on the bounty.
- Join the β‘οΈTurboETH Discord channel
- Introduce yourself in the
general
channel - Announce your interest in the
bounty
channel
It's recommended to share a link to your personal Github account.
𧱠Project
Add the verifiaible credential access controls to the Livepeer integration.
Dependent on issue #49 - Bounty: Livepeer Integration - 250 OP Reward being complete.
The bounty should utilize the Disco API to and verifiable credential validation to gate video services from the Livepeer protocol.
*Disco Access Controls Examples
A template exists that demonstrates how to use Disco for access control gateways.
Disco Documentation
Livepeer Documentation
- Streaming Access Controls - https://docs.livepeer.org/guides/developing/access-control
- Video on Demand Access Controls - https://docs.livepeer.org/guides/developing/access-control-vod
Developer Tasks:
- Create Route -
/integrations/livepeer/route-gating-stream-via-disco
- Create Route -
/integrations/livepeer/route-gating-vod-via-disco
- Create API -
/app/api/livepeer/gating-stream-via-disco
- Create API -
/app/api/livepeer/gating-vod-via-disco
Gating Routes/API
The gating logic should be containe in the route
files and exported in the api
file.
An example if this can be found in the Disco integartion.
Potential File Structure
Integration
The API logic should be added to the integrations/livepeer/routes
folder.
integrations/livepeer
ββ routes/
β ββ route-gating-stream-via-disco.ts
β ββ route-gating-vod-via-disco.ts
Application
The API should be added to the app/livepeer
folder.
pages/api/livepeer
ββ gating-stream-via-disco.ts
ββ gating-vod-via-disco.ts
π° Bounty Reward
The bounty reward is 175 OP tokens and TurboETH DevPass digital collectible.
TurboETH is the recipient of 18,271.88 OP Tokens from Optimism Retroactive Public Goods Funding. The OP tokens earned from the PGF program are the primary funding source for TurboETH bounties.
Notice
The final integration may not resemble the proposed integration - that's O.K - a natural part of software development.
During development you might discover an original hypothesis doesn't make sense. No problem. Make a comment and clearly explain why a new approach is better than old one. Get rewarded for thinking out of the box.
The final bounty reward can be increased to match new bounty tasks.
Resources
- Livepeer
- 10 Minute Primer - https://livepeer.org/primer
- Documentation - https://docs.livepeer.org/reference/livepeer-js
- Site - https://livepeer.org/
- β‘οΈ TurboETH
- Documentation - http://docs.turboeth.xyz
Interested