{"repo":"PaulRBerg/prb-contracts","free":true,"listed":false,"github":"https://github.com/PaulRBerg/prb-contracts","clone":"git clone https://github.com/PaulRBerg/prb-contracts.git","description":"Off-the-shelf Solidity smart contracts","language":"Solidity","stars":132,"topics":["ethereum","solidity","smart-contracts","library","erc20","hardhat"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"PRBContracts [![GitHub Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![License: MIT][license-badge]][license] [gha]: https://github.com/PaulRBerg/prb-contracts/actions [gha-badge]: https://github.com/PaulRBerg/prb-contracts/actions/workflows/ci.yml/badge.svg [foundry]: https://getfoundry.sh/ [foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg [license]: https://opensource.org/licenses/MIT [license-badge]: https://img.shields.io/badge/License-MIT-blue.svg Off-the-shelf Solidity smart contracts. - Designed for Solidity =0.8.4 - Uses custom errors instead of revert reason strings - Complementary to OpenZeppelin's library - Well-documented via NatSpec comments - Thoroughly tested with Foundry I initially created this library to streamline my personal workflow, as I was tired of having to maintain identical contracts across multiple repositories. However, if you find this library beneficial to your own projects, that's a win-win situation for both of us. Install Foundry First, run the install step: Your .gitmodules file should now contain the following entry: Finally, add this to your remappings.txt file: Hardhat Usage Once installed, you can use the contracts like this: Contributing Feel free to dive in! Open an issue, start a discussion or submit a PR. Pre Requisites You will need the following software on your machine: - Git - Foundry - Node.Js - Pnpm In addition, familiarity with Solidity is requisite. Set Up Clone this repository: T","default_branch":null,"files":null,"tree":[],"storefront":"/r/PaulRBerg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PaulRBerg/prb-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."}