Skip to content

yam-finance/degenerative-v2

Repository files navigation

Yam Synths Website

Development

  • General Notes:
    • Utilization is used internally, which is 1/collateral ratio. However, Collateral ratio is shown on to the user.

Generating Typechain classes: Typechain classes must be generated in order to run. To do so, either run yarn prebuild or yarn build.

https://synths.yam.xyz/ - V2 website Netlify Status

https://develop.synths.yam.xyz/ - Development builds Netlify Status

Testing

For manual testing on forked mainnet, follow these steps:

  1. git clone this repository
  2. run yarn to install all dependencies
  3. In a second terminal, run yarn fork to active the Hardhat forked mainnet
  4. Read the output and find one of the test accounts listed by Hardhat.
  5. In your browser's Metamask, connect to the local chain at localhost:8545
  6. In Metamask, import the private key of the account found in step 4
  7. You are ready to test with 10,000 ETH in your wallet
  • Dev Notes:
    • Be mindful to reset your wallet after running an instance of the forked chain