### Get Help with Foundry Tools Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Displays help information for Foundry's command-line tools: forge, anvil, and cast. This is useful for discovering available commands and options. ```shell forge --help anvil --help cast --help ``` -------------------------------- ### Run Local Node with Anvil Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Starts a local Ethereum node using Anvil, a component of Foundry. This provides a local blockchain environment for development and testing. ```shell anvil ``` -------------------------------- ### Build with Forge Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Compiles the smart contracts for an Ethereum project using the Forge testing framework. Ensure Foundry is installed and the project has a valid contract structure. ```shell forge build ``` -------------------------------- ### Anvil Local Node Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Starts a local Anvil Ethereum node. This is a fast, local node for development and testing, similar to Ganache. ```shell $ anvil ``` -------------------------------- ### Deploy with Forge Script Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Deploys smart contracts to an Ethereum network using Forge's scripting capabilities. Requires specifying the script file, RPC URL, and private key for deployment. ```shell forge script script/Counter.s.sol:CounterScript --rpc-url --private-key ``` -------------------------------- ### Foundry Help Commands Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Displays help information for Forge, Anvil, and Cast commands, providing usage details and available options. ```shell $ forge --help ``` ```shell $ anvil --help ``` ```shell $ cast --help ``` -------------------------------- ### Format with Forge Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Formats Solidity code according to Foundry's standards. This command helps maintain code consistency and readability within a project. ```shell forge fmt ``` -------------------------------- ### Foundry Deploy Script Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Deploys smart contracts using a script. Requires specifying the script file, RPC URL, and private key. ```shell $ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key ``` -------------------------------- ### Foundry Build Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Compiles the smart contracts for your Foundry project. This is a prerequisite for testing and deployment. ```shell $ forge build ``` -------------------------------- ### Test with Forge Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Executes tests for Ethereum smart contracts using the Forge testing framework. Requires tests to be written in Solidity and placed in the appropriate test directory. ```shell forge test ``` -------------------------------- ### Gas Snapshots with Forge Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Generates gas snapshots for smart contract functions using Forge. This is useful for tracking gas usage and optimizing contract efficiency. ```shell forge snapshot ``` -------------------------------- ### Foundry Gas Snapshots Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Generates gas snapshots for your smart contracts. This is useful for analyzing gas consumption. ```shell $ forge snapshot ``` -------------------------------- ### Foundry Format Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Formats your Solidity code according to standard conventions. This helps maintain code readability and consistency. ```shell $ forge fmt ``` -------------------------------- ### Interact with EVM using Cast Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/hooks/spendlingLimits/README.md Interacts with the EVM using the Cast tool. This command is a versatile utility for sending transactions, fetching chain data, and more. ```shell cast ``` -------------------------------- ### Foundry Test Command Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Runs the tests defined in your Foundry project. It uses Forge, the Ethereum testing framework. ```shell $ forge test ``` -------------------------------- ### Cast Subcommand Usage Source: https://github.com/zerodevapp/kernel-7579-plugins/blob/master/validators/erc1271/README.md Interacts with EVM smart contracts, sends transactions, and retrieves chain data using the Cast tool. Replace with specific Cast functionality. ```shell $ cast ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.