Loading video player...
In this first part of the From Devs to Devs tutorial, you’ll learn how to build and deploy a decentralized lottery smart contract on Rootstock using Solidity and Foundry. This episode covers how to design the core logic of a lottery system, define key functions like ticket purchase and prize payout, and set up your development environment for testing. ⸻ 🔗 Useful Resources Rootstock Developer Portal → https://dev.rootstock.io Hacktivator Program → https://rootstock.io/hacktivator Foundry Documentation → https://book.getfoundry.sh Solidity Docs → https://docs.soliditylang.org ⸻ Timestamps 00:00 Introduction to Rootstock 01:31 Building a Decentralized Lottery System 03:48 Key Features of the Lottery System 05:55 Setting Up the Environment 06:34 Writing the Smart Contract 11:04 Compiling and Deploying the Contract 15:22 Interacting with the Deployed Contract