2.3 KiB
2.3 KiB
title |
---|
Build |
THIS IS NOT DONE AT ALL AND IF YOU CONTINUE TO READ IT YOU MENTALLY ASSENT TO COMMITTING AT LEAST ONE CHANGE THAT MAKES IT BETTER
Introduction
Want to build something on top of LBRY? This is the place to get started.
At least, it's the place to get started so long as you have some idea of what LBRY is. If you don't, you should read the Overview first.
When to Use LBRY
- You want to build an application that contributes to the world's knowledge, or benefits from global, shared discovery (flesh this out).
- You want to replace an existing centralized service related to digital content distribution with a decentralized/community-controlled one.
When Not to Use LBRY
- You want to privately distribute data/information.
- You want to do illegal things.
Application Basics
You can build many types of apps.
Most will use the lbry-sdk as a way of accessing and communicating with the LBRY network.
Others might use lbrycrd, chainquery, lighthouse, torba, etc.
Web Applications
Full Web Applications
- Set up a web server.
- Install lbry. (Docker images? Other convenient ways of doing this?)
- Bridging basics.
- See SDK Basics
Blockchain Applications
- Might not need SDK
- Just use chainquery/lbrycrd
Other Web Applications
- Do these exist?
Desktop Applications
Electron Apps
- Use electron-starter kit
- (Explain basic development)
Other Applications
- You can use whatever tooling you want
- Use the SDK (see SDK Basics)
Mobile Applications
Android Applications
- (Whatever magic you have to do to get a daemon running on Android.)
iOS Applications
We do not currently have tooling available to build LBRY apps on iOS.
Application Tooling
SDK
Talk about using SDK, docs, etc.
When To Use
Tips / Best Practices
- Always leave a tip.
Pitfalls
- Lex
Chainquery
When To Use
- You want blockchain data.
Tips / Best Practices
- Use it.
Pitfalls
- mempool
lbrycrd
When To Use
Tips and Best Practices
- use chainquery and lbrycrd together
- use types to get structured data
Pitfalls
- API naming
Community and Support
Interact with other devs! Share your app!