Created
May 3, 2019 09:02
-
-
Save oed/ffa8d514524954a5fb49377dfaee38f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Set the public app profile data | |
| livepeerSpace.public.set('defaultProfile', 'livepeer') | |
| livepeerSpace.public.set('name', 'yourname') | |
| const imageObject = [{ | |
| "@type":"ImageObject", | |
| "contentUrl": "<https://ipfs.infura.io/ipfs/><ipfs-hash-of-image>", | |
| "cid": {"/":"<ipfs-hash-of-image>"} | |
| }] | |
| livepeerSpace.public.set('image', imageObject) | |
| livepeerSpace.public.set('url', '<https://yoursite.com>') | |
| // Set the private app profile data | |
| livepeerSpace.private.set('email', 'youremail@gmail.com') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment