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

RockOffChain

A whimsical musical duel judged by machine learning, with rewards handled via state channels.

RockOffChain

Created At

ETHGlobal Prague

Project Description

In this MVP (Minimum Viable Product), a player uses funds deposited by the game creator via Nitrolite state channels (ERC-7824) to earn rewards for completing musical tasks set by the app.

The app connects to a ClearNode using the developer’s pre-funded wallet. State channels enable fast off-chain transactions and payouts.

As a full fledged app it will allow use of trusted Machine Learning models to adjudicate the game between players and allow storage of states for auditing on chain making it a trusted platform.

How it's Made

The frontend, built with React and Vite, connects to ClearNode via custom hooks. Audio is captured and processed using Math.js for FFT (Fast Fourier Transform), with essentia.js handling signal processing. A median filter isolates frequencies within the musical range (20–20,000 Hz), and the app detects specific intervals—perfect fifths and minor chords—recognisable to experienced musicians.

background image mobile

Join the mailing list

Get the latest news and updates