Credits

So far, everything we've done with LBRY has been free. However, some actions, such as reserving a name or purchasing paid content, require credits.

To receive credits, first generate a wallet address:

$curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_new_address"}' ["bbFxRyWCFRkA9YcuuZD8nE7XTLUxYnddTs"]

Enter this address in the form below and we'll send you 50 credits.

Request::getRelativeUri() . '#new-developer' ]) ?>

Next, confirm you've received your credits by calling wallet_balance:

$curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_balance"}' [50.00000000]

Publishing

Publishing to LBRY is just as easy as everything else! If you publish something, we'll send you an additional 200 LBC for further use.

Not sure what to publish? We recommend your favorite picture or home video. Or just grab something from here.

$curl 'http://localhost:5279/lbryapi' --data '{"method":"publish", "params": { "name": "electricsheep", "file_path": "\\home\kauffj\\Desktop\\electric-sheep.mp4", "bid": 1, "metadata": { "description": "Some interesting content", "title": "My interesting content", "author": "Video shot by me@example.com", "language": "en", "license": "LBRY Inc", "nsfw": false, } //this should match the metadata returned by resolve_name }}' [ { "claim_id": "2081486f32dc493980c77bdaa0502950b532af13", "fee": 0.000329, "nout": 0, "tx": "0100000001a2dcee285b3f552fb8b3eef416c9f17...", "txid": "d71d63ebb3e10067bfd0b302433bc1ab09fbdd5dc9bc687f50aeb6809d1770fe" //this is the value you need to copy } ]
Request::getRelativeUri() . '#new-developer' ]) ?>

Enjoy a Hollywood Film

It's a Disaster starring David Cross is just one of tens of thousands of great pieces of content available. Check it out!

$curl 'http://localhost:5279/lbryapi' --data '{"method":"get","params":{"name":"itsadisaster"} }' [ { //some response fields omitted for brevity "claim_id": "bd970a51249cba542a9acfb130147294a6326ee2", "download_directory": "/home/kauffj/Downloads", "download_path": "/home/kauffj/Downloads/It's A Disaster_Feature.mp4", "metadata": { "author": "Written and directed by Todd Berger", "content_type": "video/mp4", "description": "Four couples meet for Sunday brunch only to discover they are stuck in a house together as the world may be about to end." } } ]

Try the UI

LBRY comes with a fully-featured UI so that normal people can use it too. You can download it here.

You Did It! What's Next?

Start building something awesome! LBRY works as a discovery and distribution backend for everything from films to CAD files. View the full API documentation.

Join our Slack Channel to interact with LBRY developers and other community members. Please visit the #dev room (note: this is not a default channel).

Visit our GitHub page to view the source code or report issues.