foundry-framework

Solid

Expert usage of Foundry (Forge, Cast, Anvil, Chisel) for smart contract development, testing, and deployment. Includes fuzzing, gas reporting, local development, and deployment scripting capabilities.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Foundry Framework Skill Expert-level usage of Foundry, the blazing fast, portable, and modular toolkit for Ethereum application development. ## Capabilities - **Forge Testing**: Write and run Solidity tests with fuzzing - **Gas Optimization**: Generate detailed gas reports and snapshots - **Local Development**: Use Anvil for local blockchain - **Chain Interaction**: Execute Cast commands for on-chain operations - **Project Configuration**: Set up foundry.toml for projects - **Deployment Scripts**: Write and run forge scripts - **REPL Debugging**: Use Chisel for Solidity exploration ## Installation ```bash # Install Foundry curl -L https://foundry.paradigm.xyz | bash # Update to latest foundryup # Verify installation forge --version cast --version anvil --version chisel --version ``` ## Project Setup ### Initialize Project ```bash # New project forge init my_project cd my_project # Add dependencies forge install OpenZeppelin/openzeppelin-contracts forge install foundry-rs/forge-std ``` ### foundry.toml Configuration ```toml [profile.default] src = "src" out = "out" libs = ["lib"] solc = "0.8.20" optimizer = true optimizer_runs = 200 via_ir = false [profile.default.fuzz] runs = 256 max_test_rejects = 65536 seed = "0x1234" [profile.default.invariant] runs = 256 depth = 15 fail_on_revert = false [profile.ci] fuzz = { runs = 10000 } invariant = { runs = 1000, depth = 50 } [rpc_endpoints] mainnet = "${MAINNET_RPC_URL}" sepolia = "${SEPOLIA_RPC_URL}" arbitrum = "$...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

foundry-solidity

Build and test Solidity smart contracts with Foundry toolkit. Use when developing Ethereum contracts, writing Forge tests, deploying with scripts, or debugging with Cast/Anvil. Triggers on Foundry commands (forge, cast, anvil), Solidity testing, smart contract development, or files like foundry.toml, *.t.sol, *.s.sol.

29 Updated 6 days ago
tenequm
AI & Automation Listed

foundry-agent-platform

Microsoft Foundry agent deployment, orchestration, and cloud-native AI service patterns

0 Updated 2 days ago
fabioc-aloha
AI & Automation Solid

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

36,222 Updated today
wshobson
AI & Automation Listed

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

2 Updated today
Mohammadibrahim55
AI & Automation Featured

palantir-ci-integration

Configure CI/CD pipelines for Palantir Foundry integrations with GitHub Actions. Use when setting up automated testing, running transforms validation, or integrating Foundry SDK tests into your build process. Trigger with phrases like "palantir CI", "foundry GitHub Actions", "palantir automated tests", "CI foundry".

2,274 Updated today
jeremylongshore