This is a simple Create React
App project. ⚠ ️Since these examples were created,
the Create React App project has been deprecated and is no longer maintained.
For learning and experimenting, these examples are still fine to use. For a production application, however, we recommend porting these examples to a another framework or build tool. You can see a list of officially recommended react frameworks here: https://react.dev/learn/start-a-new-react-project
The deso-protocol library itself is framework agnostic, so you can install and use it in any non-react context as well, even a simple vanilla javascript application.
Run the following in your terminal
git clone https://github.com/deso-protocol/deso-examples-react.git
cd deso-examples-react
npm i
npm run start
If you want to port these examples to your own app, set up a project using the docs for your preferred tool (Vite, Nextjs, Remix, Angular, Vue, etc). If you're not sure, You can see a list of officially recommended react frameworks here: https://react.dev/learn/start-a-new-react-project
Next install the DeSo protocol library using your preferred package manager:
# npm
npm i deso-protocol
# yarn
yarn add deso-protocol
Finally, use the examples found in this repo to help you build social features for your application using the DeSo blockchain
There are lots of comments throughout the code, but if anything is unclear, please open an issue!