
Smart Contracts Explained: Self-Executing Blockchain Agreements
CodeLucky
In this second part of the From Devs to Devs tutorial, we continue building the ERC-721 NFT smart contract using Solidity and Foundry. You’ll learn how to extend your contract with metadata and URI management, run tests to verify your mint function, and deploy the updated NFT to the Rootstock network. This video is part of the Hacktivator program, where developers contribute educational content and projects to help others start building on Rootstock — the Bitcoin Layer 2 that brings smart contracts to Bitcoin through full EVM compatibility. ⸻ 🔗 Useful Resources Rootstock Developer Portal → https://dev.rootstock.io Hacktivator Program → https://rootstock.io/hacktivator Foundry Documentation → https://book.getfoundry.sh ERC-721 Standard → https://eips.ethereum.org/EIPS/eip-721 ⸻ Timestamps 00:00 Introduction to Smart Contract Testing 02:25 Best Practices for Writing Tests 04:15 Using Foundry Cheat Codes 06:47 Testing the Constructor 08:40 Minting Function Tests 10:28 Advanced Testing Techniques 12:31 Deploying on Rootstock Testnet 14:59 Deployment Script and Configuration 16:45 Finalizing Deployment and Testing 20:25 Conclusion and Resources 27:05 FDTD_Closing.mp4
Category
Smart Contract DevelopmentFeed
Smart Contract Development
Featured Date
October 31, 2025Quality Rank
#2