project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Noble Voting

Voting DApp deployed on a local Scroll SDK devnet from Windows Subsystem

Noble Voting

Created At

ETHGlobal Bangkok

Winner of

Scroll - Build Your Own Rollup

Prize Pool

Project Description

This project showcases the setup of the local Scroll SDK devnet on a Windows Subsystem for Linux (Ubuntu) and the deployment of a simple smart contract for voting. Users can cast votes for specific numbers, demonstrating basic blockchain interaction. While following Scroll's official setup guide, some challenges were encountered. These challenges were either resolved or omitted to continue the installation of the devnet and interact with it in a browser. A detailed explanation of the adjusted setup can be found in the accompanying GitHub repository.

How it's Made

The setup of the Scroll SDK devnet was done by following the guide line (https://docs.scroll.io/en/sdk/guides/devnet-deployment/) and video tutorial (https://www.youtube.com/watch?v=r7MMAg0Menw)

Technologies:

  • Windows Subsystem for Linux (WSL): Ubuntu was used to set up the Scroll SDK and resolve deployment challenges.
  • Scroll SDK: Deployed a local Scroll devnet environment, enabling blockchain setup and dApp prototyping.
  • Remix IDE: Used to write, compile, and deploy the contract on the Scroll local blockchain.
  • Solidity: The NobleVoting smart contract was developed to manage voting logic, track user choices, and update votes dynamically.
  • MetaMask: Configured to connect with the Scroll chain, enabling wallet connectivity and transaction handling.

Challenges: Although the guidelines made the setup easy, it needs a few adjustments for following it on a Windows Subsystem. There are three notable differences: setting the memory of the minikube at 7592 (instead of 8192 or 6592), opening the Chrome or Firefox browser from within the Windows Subsystem to see the frontends, adding the RPC in Metamask in the same Chrome or Firefox environment.

A detailed explanation of all the steps and adjustments can be found in the Github repository.

background image mobile

Join the mailing list

Get the latest news and updates