rairprotocol / rair-official-library

Simple dApps new users can deploy
https://rairprotocol.org
Apache License 2.0
469 stars 1.02k forks source link
dapp dapp-example dapps-development ethereum-dapp

Banner RAIRmarket RAIRprotocol License Discord Twitter

rair-templates

Official repository for first-party simple distributed application templates new users can deploy

how it works

The rair-dapp mono-repo contains our open-source default front, back, syncing, and streaming engines. This repo contains several frontend folders each designed to showcase a different use case functionality.

how to use

Clone and fork this repo. Please submit new dApps as an independent repo by checking in your unique frontend code, or if you have also modified source code elsewhere in the mono-repo.

Command for building docker images e.g., for starting dev-dapp:

sudo TEMPLATE=dev-dapp docker-compose -f docker-compose-templates.yml up -d

frontend examples

Example Folder About Use cases
rair-simple-dapp Simplest hello world dApp to deploy with RAIRprotocol. Contains default syncing, AA, backend, logic Ticketing, events, signup, interest forms mint NFT
rair-metadata Creates unique identifiers (NFTs) imbues with metadata (JSON). Point to public or private data repositories. Cloud, IPFS, etc. Medical records, IOT devices, Supply chain items
rair-unlock Gates access to Zoom via Zoom API. Debit tokens upon sucessful session Therapy, Coding Help, Auto Mechanic, any use case to connect users with valuable live knowledge in exchange for tokens
rair-age-estimation Triggers Yoti age estimation flow. On success submits age boolean to database that can be written onchain via soulbound NFT. KYC, Adult, other Identity Application
rair-thirdweb-cat-attack Demo of Thirdweb loading inside of RAIRprotocol. Caution this requires https:// and 16gb ram VM to run properly, all native RAIRprotocol deployments only require 8gb ram dApps using thirdweb specific functionality. RPC. Wallets etc instead of native solutions (Alchemy, et al)