This project implements a Vault that allows a user to borrow a stable token (pegged to USD) by depositing ether into the Vault as collateral.
The amount of tokens that can be borrowed is derived from the ETH/USD price provided by an on-chain oracle.
The user is allowed to withdraw the collateral after repaying the borrowed tokens.
The amount of collateral available to withdraw depends on the current ETH/USD price provided by the Oracle.
Built With
- ganache
- truffle
Log in or sign up for Devpost to join the conversation.