> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-bc559771.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Foundry on Hedera

> Use Foundry's forge, cast, and anvil with Hedera to write Solidity tests, deploy contracts, and fork mainnet for local development workflows.

Foundry empowers developers with tools for smart contract development. One of the three main components of Foundry is Forge. Forge is a Foundry command-line tool that allows developers to run tests, build, and deploy smart contracts.

Foundry Key benefits:

* Write tests in Solidity & limit your context switching.
* EVM cheatcodes give you more control over smart contract development.

This series of mini-tutorials demonstrates how to set up Foundry and use Forge for seamless integration with your Hedera project to test your smart contracts & how to fork Hedera Mainnet to test against deployed contracts.

The tutorials are self-contained and can be done in any order.

<Card title="Configuring Foundry With Hedera Localnet Testnet A Step By Step Guide" href="/evm/tools/foundry/setup" />

<Card title="How To Mint And Burn An Erc 721 Token Using Foundry Part 1" href="/evm/tutorials/advanced/erc721-foundry/part1-mint-burn" />

<Card title="How To Write Tests In Solidity Part 2" href="/evm/tutorials/advanced/erc721-foundry/part2-testing" />

<Card title="How To Fork The Hedera Network With Foundry - Basic ERC-20 Tutorial" href="/evm/tools/foundry/forking" />

<Card title="How To Fork The Hedera Network With Foundry - Advanced HTS Tutorial" href="/evm/tools/foundry/forking-advanced-hts" />

***

<Columns cols={2}>
  <Card title="Writer: Abi Castro, DevRel Engineer" arrow>
    [GitHub](https://github.com/a-ridley) | [X](https://X.com/ridley___)
  </Card>
</Columns>
