Skip to content

Latest commit

 

History

History

statuspage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

react

Setup

yarn init -y
touch yarn.lock
yarn config set nodeLinker node-modules
yarn add react react-dom ethers
yarn add @types/react @types/react-dom --dev
yarn add tailwindcss postcss autoprefixer --dev
yarn add parcel --dev

Run

yarn parcel src/index.html

Config

ORACLE_API_URL="https://oracle.vechain.energy"
ORACLE_FEED_IDS="vet-usd,vtho-usd"