0xNordian / deso-examples-react

Examples of how to use deso libraries with react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deso Examples React

This is a simple Create React App project, but these examples can be easily ported to your preferred framework or build tool.

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 (Create React App, Vite, Nextjs, Remix, Angular, Vue, etc). If you're not sure, Create React App is a reasonable choice for getting a development environment up and running for quick prototyping/experimenting.

Next install the DeSo protocol library using your preferred package manager:

# npm
npm i deso-protocol react-deso-protocol

# yarn
yarn add deso-protocol react-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


Languages

Language:JavaScript 69.5%Language:CSS 16.0%Language:HTML 14.5%