For the complete documentation index, see llms.txt. This page is also available as Markdown.

Foundry

Foundry manages your dependencies, compiles your project, runs tests, deploys, and lets you interact with the chain from the command-line and via Solidity scripts.

Check out Foundry for installation details and an overview.

Foundry consists of:

  • Forge: Forge tests, builds, and deploys your smart contracts.

  • Cast: Cast is Foundry’s command-line tool for performing Ethereum RPC calls.

  • Anvil: Anvil is a local testnet node shipped with Foundry.

  • Chisel: Chisel is an advanced Solidity REPL shipped with Foundry

Compile your contract

forge build

Deploy your contract

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.

Last updated