{"repo":"0xSplits/splits-contracts","free":true,"listed":false,"github":"https://github.com/0xSplits/splits-contracts","clone":"git clone https://github.com/0xSplits/splits-contracts.git","description":"Core smart contracts of 0xSplits","language":"TypeScript","stars":164,"topics":["core","ethereum","smart-contracts"],"license":"GPL-3.0","category":"blockchain-web3","readme_excerpt":"splits-contracts These are the legacy contracts for the Splits protocol. V2 contracts can be found at github.com/0xSplits/splits-contracts-monorepo Run locally Metamask network config - Network name: Localhost - New RPC URL: http://{{LOCALHOST URL - ie 127.0.0.1}}:8545 - Chain ID: 1337 Dev Setup Make sure to have node installed, need = 12. Can find the installation here. A node version manager can also be useful, you can read more about it here. Install yarn: npm install --global yarn Confirm the installation: yarn --version Run yarn install to add packages Follow the hardhat network setup instructions in the Metamask network config section up above. If you do not have metamask installed, you can find it here. Add funds to your wallet, you can find the instructions below in the Commands section. Setup your .env.local file. Copy over the .env.local.sample file and fill in the values. Message someone else to get the values. Common Errors If you are getting an error on the yarn hardhat node command, you may need to clear out the artifacts/cache. Run yarn hardhat clean , then try again. Commands","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xSplits","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xSplits/splits-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."}