verified-network / verified-compound-markets

RWA markets for the Compound protocol
1 stars 4 forks source link
rwa staking

Comet Extension for Verified Markets

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.

Getting Started With The Frontend(Web Dapp)

  1. First, install NodeJS and yarn.

  2. Install dependencies by running:

    yarn install
  3. 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:

Getting Started With The Backend(Smart Contract Tests)

  1. Run cd backend from root directory.
  2. Run npm install or npm install --force to install dependencies.
  3. Comment out line 85 to line 87 on VerifiedMarkets.sol file.
  4. Run npm run test to run Verified Markets smart contract testcases on base sepolia chain(84532).
  5. Incase of insufficient gas and ERC20:balance error:
    1. contact Verified Network team to topup test wallets.
    2. Manually topup wallets: Contract Owner: 0xeDFFca9E6c29a9fB27de9B7054019A34407c1920 Topup base sepolia ETH RWA Issuer: 0xa8BD9CdF1CC2F562B5c0342A1B7bC4692B1e3DC1 Topup base sepolia ETH and WETH: 0x4200000000000000000000000000000000000006

License

MIT License