{"repo":"ubiquity/uad-contracts","free":true,"listed":false,"github":"https://github.com/ubiquity/uad-contracts","clone":"git clone https://github.com/ubiquity/uad-contracts.git","description":"Ubiquity Algorithmic Dollar (uAD) smart contracts.","language":"TypeScript","stars":16,"topics":["ethereum","stablecoin","hardhat","dapp","defi"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Ubiquity Algorithmic Dollar Contracts Table of Contents 1. Getting started 2. Building 3. Deployment 4. Testing 5. Contracts 6. Licensing Getting started Prerequisites - Node.js Installing Install dependencies: Building Compile the smart contracts: To verify the accounts that will be used by hardhat Deployment To deploy the smart contracts on a network defined in the hardhat.config.ts rename the example.env file to .env and fill the MNEMONIC , ALCHEMY API KEY and COINMARKETCAP API KEY environment variables. Note that by default smart contracts will be deployed locally using hardhat development node. Mainnet monitoring Token this task will retrieve information about all our tokens including LP token Incentives this task will retrieve information about the current incentives and penalty on uAD buy and sell Metapool this task will retrieve information about our curve uAD-3CRV metapool Price this task will retrieve information about uAD price Manager this task will all the addresses registered in the manager Get Bonding Contract Transactions this task will retrieve and filter the bonding contract transactions, print a summary and save them to a file Testing Requirements: - node 14.15 (use nvm) Rename the example.env file to .env and fill: - ALCHEMY API KEY : get key at Alchemy API Dashboard - COINMARKETCAP API KEY : get key at CoinMarket Launch all tests if you experience some timeout issues try running tests one by one Forking To run a local node that forks mainnet we use Hardha","default_branch":null,"files":null,"tree":[],"storefront":"/r/ubiquity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ubiquity/uad-contracts/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."}