Skip to content

deso-protocol/deso-examples-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deso Examples React

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.

How to run these examples locally

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

How to use this repo

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!

Examples

About

Examples of how to use deso libraries with react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published