{"repo":"OriginProtocol/origin-dollar","free":true,"listed":false,"github":"https://github.com/OriginProtocol/origin-dollar","clone":"git clone https://github.com/OriginProtocol/origin-dollar.git","description":"OUSD and OETH are stablecoins that passively accrue yield while you are holding it","language":"Solidity","stars":149,"topics":["defi","ethereum","web3"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Origin DeFi's OTokens: Origin Dollar (OUSD) and Origin Ether (OETH) For more details about the product, checkout our docs. --- Branch CI/CD Status -------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- master Requirements - Node Version - ^16.0.0 = node /contracts directory. The Ethereum tests and the local Ethereum EVM node are managed by Hardhat. A variety of Hardhat tasks are available to interact with the contracts. Additional information can be found by running npx hardhat from the contracts/ directory. --- Running the node The dapp interacts with many 3rd party contracts (Uniswap, Curve, Sushiswap) and it would be too cumbersome to initialize all those contracts in a fresh node environment and set them to a state that mimics the Mainnet. For that reason we are using Hardhat's forked mode. By setting the BLOCK NUMBER environment variable, the node will download part of the mainnet state that it requires to fulfill the requests. It is less reliable since the node isn't as stable in forked mode (and sometimes requires restarts), but mimicking the mainnet is a huge benefit. We used to develop with fresh state node, but the behavior discrepancies between fresh node and mainnet have started to become too large. For that reason, we have deprecated the fresh state development. Rename contracts/dev.env to .env and set PROVIDER URL to a valid one (S","default_branch":null,"files":null,"tree":[],"storefront":"/r/OriginProtocol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OriginProtocol/origin-dollar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}