{"repo":"rairprotocol/rair-solidity","free":true,"listed":false,"github":"https://github.com/rairprotocol/rair-solidity","clone":"git clone https://github.com/rairprotocol/rair-solidity.git","description":"public repo for RAIR solidity code","language":"Solidity","stars":103,"topics":["dapps-development","solidity","solidity-contracts"],"license":null,"category":"blockchain-web3","readme_excerpt":"RAIR Smart Contracts Source code and deployment scripts for RAIR smart contracts. Notice: classic-contracts are deprecated Setup Environment variables Name Description --- --- ETH MAIN RPC RPC endpoint for Ethereum Mainnet SEPOLIA RPC RPC endpoint for Ethereum Sepolia AMOY RPC RPC endpoint for Matic Amoy MATIC RPC RPC endpoint for Matic Mainnet BASE RPC RPC endpoint for Base Mainnet CORE RPC RPC endpoint for Core Mainnet ADDRESS PRIVATE KEY Private key of the deployer wallet COINMARKETCAP API KEY API Key from coinmarketcap for hardhat's gas price estimations (optional) ETHERSCAN API KEY API key for Etherscan (used for verifying contracts) POLYGONSCAN API KEY API key for Polygonscan (used for verifying contracts) Deploying Inside the deploy directory you'll find the scripts for all of the diamond contract facets and the 5 main diamond contracts used by the RAIR system: Contract Description --- --- Factory In charge of deploying the ERC721 diamonds Marketplace Minting and resale offers Facet Source Diamond contract from which all ERC721 contracts get their facets ERC20 Normal contract for the RAIR token 721Exchange Auxiliary contract to swap RAIR tokens with an NFT The deployment process is automated, it is done thanks to hardhat-deploy and the verification is done through hardhat-verify. All deployed contracts can be found in the \"deployments\" directory Testing will start the local testing on an ethereum mainnet fork, the main test script is under the \"test\" directory Setup Co","default_branch":null,"files":null,"tree":[],"storefront":"/r/rairprotocol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rairprotocol/rair-solidity/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."}