Skip to content

vesperfi/vusd-stablecoin

Repository files navigation

VUSD

A stablecoin pegged to the US Dollar, backed by interest-generating collateral.

Setup

  1. Install

    git clone https://github.com/vesperfi/vusd-stablecoin.git
    cd vusd-stablecoin
    npm install
  2. set NODE_URL in env

    export NODE_URL=<eth mainnet url>

    Or Use .env file

    touch .env
    # Edit .env file and add NODE_URL
    NODE_URL=<eth mainnet url>
  3. Test

These tests will run on mainnet fork, which already configured no extra steps needed.

npm test
  1. Run test with coverage
npm run coverage