Example app that uses Compound III for supplying and borrowing on Mainnet or Base.
This workshop video walks through building the app. The code from the video is in this repository.
Install Node.js at https://nodejs.org/
git clone https://github.com/ajb413/compound-ethonline-2023-workshop.git
cd compound-ethonline-2023-workshop.git/
npm install
Set your Metamask to Localhost network. Select your first developer mnemonic account. Navigate to http://127.0.0.1:3008/ in a web browser. The dApp files are in the public/
folder.
## Get your own JSON RPC URLs for free at alchemy.com
MAINNET_PROVIDER_URL="_your_rpc_url_here_" npm start mainnet
## or
BASE_PROVIDER_URL="_your_rpc_url_here_" npm start base