The Verified Markets extension enables real world asset (RWA) owners and managers to borrow liquidity from the Compound protocol. It also enables Compound users to stake collateral for RWAs on Compound and benefit from additional returns that RWAs generate. The Verified Markets specification is here.
The operator code is built with Truffle, and the web extension code is built on React using Vite.
Install dependencies by running:
yarn install
Start the web Dapp by running:
yarn start
or
yarn web:dev
This should spawn a web server at an address such as http://localhost:5183. Visit the page to interact with the web dapp.
A few notes:
Yarn
is required and used to install dependencies and start the frontend not npm
Any changes to web source code should auto-reload.
Frontend(Web Dapp) Workflow
From the url: Official Url or Localhost Url
Users have access to 2 different pages:
The Investor Page: also the landing/home page. ends with /
and includes a table showing all Bonds issued which investors can purchase with collaterals that are accepted on compound. Investors can also reclaim collateral by liquidating bonds if issuers failed to repay them.
The Issuer Page: ends with /issue
allows issuers to issue bonds using RWA tokens as collateral. Once the bonds are sold to investors, issuers can borrow USDC or Ether from compound. Issuers can also redeem bonds by repaying investors.
cd backend
from root directory.npm install
or npm install --force
to install dependencies.npm run test
to run Verified Markets smart contract testcases on base sepolia chain(84532).0xeDFFca9E6c29a9fB27de9B7054019A34407c1920
Topup base sepolia ETH
RWA Issuer: 0xa8BD9CdF1CC2F562B5c0342A1B7bC4692B1e3DC1
Topup base sepolia ETH and WETH: 0x4200000000000000000000000000000000000006
MIT License