Time to read: 1 min
Getting Started with Foundry
Before you begin
If you're new to Web3 and Smart Contract Development, begin by exploring the Rootstock network. Then progress step by step to the quick start Guide with Foundry for a comprehensive understanding of the network and getting started with writing, testing, and deploying smart contracts on Rootstock.
Note: This guide is optimized for Node.js version 18 or earlier. If you're using a later version, consider using a version manager like NVM to switch to a compatible version.
Navigating the Guide
Resource | Description |
---|---|
Prerequisites | Learn about the tools you need to have in place to follow along with this guide. |
Create a Foundry Project | Learn how to set up your environment for development using Foundry. |
Configure Foundry for Rootstock | Learn how to configure your Foundry project for development on Rootstock testnet and mainnet. |
Smart Contract | Check foundry demo smart contract. |
Test Smart Contract | Learn how to test your smart contract using forge . |
Deploy Smart Contract | Learn how to deploy your smart contract using forge . |
Interact with Smart Contract | Learn how to interact with your smart contract using cast . |
Debugging and Troubleshooting Tips | Learn about the common issues you can come across while building following this guide and how you can solve them. |