Requirements
Before you begin, you need to install the following tools:- Node (>= v18.18)
- Yarn (v1 or v2+)
- Git
Get funds on Monad Testnet
You will need funds on Monad Testnet in order to deploy smart contracts, you can get funds from the Monad Faucet.Working with Scaffold-ETH
Scaffold-ETH can have two different solidity development frameworks: Foundry and Hardhat. In this guide you can choose between Foundry and Hardhat.- Foundry
- Hardhat
Clone the scaffold-monad-foundry repo
Open the project directory and install dependencies
Start your local blockchain node
Deploy your smart contract to your local blockchain node
YourContract.sol to your local blockchain node. The contract is located in packages/foundry/contracts and can be modified to suit your needs.The yarn deploy command uses the deploy script located in packages/foundry/deploy to deploy the contract to the network. You can also customize the deploy script.Start your NextJS app
http://localhost:3000.You can interact with your smart contract using the Debug Contracts page. You can tweak the app config in packages/nextjs/scaffold.config.ts.Deploy your smart contract to Monad Testnet
YourContract.sol to Monad Testnet. The contract is located in packages/foundry/contracts and can be modified to suit your needs.Verify your smart contract on Monad Testnet
YourContract.sol on Monad Testnet.Next steps
- Explore the Debug Contracts page to interact with your deployed contract.
- Modify
YourContract.solto build your own functionality. - Learn more about Scaffold-ETH.

