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

Internet Astronaut

Internet Astronaut is an innovative Web3-powered lottery that gives participants a once-in-a-lifetime opportunity to win a chance to become an astronaut.

Internet Astronaut

Created At

ETHGlobal San Francisco

Project Description

By leveraging blockchain technology and Web3, this Internet Astronaut lottery is fully transparent, easy to participate in, and accessible to anyone around the world.

The central idea is to sell digital tickets, called "Stars," to raise sufficient funds, and once all Stars are sold, a winner is chosen. The winner secures a spot in an astronaut training program, turning their dream of space travel into reality.

How it's Made

The objective of this project was to create a simple, end-to-end solution with minimal dependencies and low complexity, ensuring it is easy to understand, adapt, and extend.

The focus was on core functionality and ease of use, without overcomplicating the architecture with frameworks or large libraries. The result is a minimal yet complete solution.

Technologies and Structure: The project uses Flow crypto, leveraging its new EVM-compatible scheme. Flow’s standout feature is its secure, native on-chain randomness, accessible via Cadence Arch, a precompiled contract in the Flow EVM environment. This feature allows Solidity developers to access verifiable randomness in the contract, enhancing security for lotteries and other randomized processes in a verifiable, tamper-proof way.

Minimal Dependencies: Docker is used to manage all dependencies required for compiling the smart contract, keeping the environment lightweight and ensuring reproducibility across different setups without unnecessary complexity.

Frontend: The frontend was built using plain vanilla JavaScript, keeping the application lightweight and easily adaptable by anyone familiar with basic web development. This approach avoids the need for heavier frontend frameworks given the simplicity of the interface.

Automation: A set of simple backend scripts was created for compiling, deploying, and managing the smart contracts. These scripts are straightforward, making them easy to extend or adapt for different deployment environments or workflows.

Notable Aspects: A key feature of the project is the integration of Flow’s verifiable randomness into Solidity via Cadence Arch, enabling the use of on-chain randomness in an EVM environment. This is a relatively new approach, adding an innovative challenge while maintaining the project’s minimalistic architecture.

background image mobile

Join the mailing list

Get the latest news and updates