{"repo":"defi-wonderland/solidity-foundry-boilerplate","free":true,"listed":false,"github":"https://github.com/defi-wonderland/solidity-foundry-boilerplate","clone":"git clone https://github.com/defi-wonderland/solidity-foundry-boilerplate.git","description":"⚒️ Start your next Solidity project with Foundry in seconds","language":"Solidity","stars":205,"topics":["boilerplate","dapp-starter","forge","foundry","solidity","template"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Start your next Solidity project with Foundry in seconds A highly scalable foundation focused on DX and best practices Features Sample contracts Basic Greeter contract with an external interface. Foundry setup Foundry configuration with multiple custom profiles and remappings. Deployment scripts Sample scripts to deploy contracts on both mainnet and testnet. Sample Integration, Unit, Property-based fuzzed and symbolic tests Example tests showcasing mocking, assertions and configuration for mainnet forking. As well it includes everything needed in order to check code coverage. Unit tests are built based on the Branched-Tree Technique , using Bulloak . Linter Simple and fast solidity linting thanks to forge fmt. Find missing natspec automatically. Github workflows CI Run all tests and see the coverage as you push your changes. Export your Solidity interfaces and contracts as packages, and publish them to NPM. Setup 1. Install Foundry by following the instructions from their repository. 2. Copy the .env.example file to .env and fill in the variables. 3. Install rust dependencies with cargo: 1. cargo install lintspec 2. cargo install bulloak 4. Install the dependencies by running: pnpm install . In case there is an error with the commands, run foundryup and try them again. Build The default way to build the code is suboptimal but fast, you can run it via: In order to build a more optimized code (via IR), run: Running tests Unit tests should be isolated from any externalities, whi","default_branch":null,"files":null,"tree":[],"storefront":"/r/defi-wonderland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/defi-wonderland/solidity-foundry-boilerplate/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."}