# Foundry

Check out Foundry for [installation details](https://book.getfoundry.sh/getting-started/installation) and [an overview](https://book.getfoundry.sh/).

Foundry consists of:

* [Forge](https://book.getfoundry.sh/forge/): Forge tests, builds, and deploys your smart contracts.
* [Cast](https://book.getfoundry.sh/cast/): Cast is Foundry’s command-line tool for performing Ethereum RPC calls.
* [Anvil](https://github.com/foundry-rs/foundry/blob/master/anvil): Anvil is a local testnet node shipped with Foundry.&#x20;
* [Chisel](https://book.getfoundry.sh/chisel/): Chisel is an advanced Solidity REPL shipped with Foundry

### Compile your contract[​](https://docs.gnosischain.com/developers/dev-environment/hardhat#compile-your-contract) <a href="#compile-your-contract" id="compile-your-contract"></a>

```properties
forge build
```

### Deploy your contract[​](https://docs.gnosischain.com/developers/dev-environment/hardhat#compile-your-contract) <a href="#compile-your-contract" id="compile-your-contract"></a>

```properties
forge create --rpc-url https://rpc.lycanchain.com --private-key <your_private_key> src/<YourContract>.sol:<YourContract>
```

View your deployed contract on any of the [explorers](https://explorer.lycanchain.com/).
