hackquest logo

StarkFlux

StarkFlux is a decentralized Stark Net marketplace where builders sell encrypted smart-contract components, USD-pegged via Pragma Oracle. Buy, decrypt, build—while 10 % of every sale grows a shared li

비디오

설명

What is StarkFlux?

Live testnet website: https://starkfluxtestnet.netlify.app/

StarkFlux is the first encrypted component marketplace on StarkNet.
Developers can upload reusable Cairo modules, SDK helpers or tooling scripts, set a price in USD, and get paid instantly in STRK—while buyers enjoy one-click, licence-safe installs.

Watch Presentation by clicking here


How it works

Step

On-chain / Off-chain action

1. Encrypted upload

100 % browser-side ZIP → AES-CTR encryption → pinned to IPFS. Only a 31-char CID is stored on-chain.

2. USD-pegged pricing

Seller enters a USD amount; Pragma Oracle converts to live STRK at purchase (< 1 h staleness).

3. Revenue split

Every sale auto-routes 80 % to the dev, 10 % to the platform treasury, 10 % to the Liquidity Vault.

4. Decrypt & import

After payment, Lit Protocol releases the AES key; the buyer’s browser decrypts and unpacks the component.


Why it matters

  • Predictable economics – Oracle-backed pricing shields both sides from token volatility.

  • No middlemen – royalties flow directly to devs on-chain.

  • Trust once, reuse forever – components carry audit hashes; downstream teams skip redundant audits.

  • Bootstrapped liquidity – the vault aggregates fees to seed DEX LP and, later, staking rewards.


Tech stack

  • Cairo 1.2 smart-contract suite

    • ComponentRegistry v1.2.1 – marketplace logic

    • IdentityRegistry v1.2.0 – dev reputation & metrics

  • React 18 · TypeScript · Vite front-end

  • starknet.js for contract calls, @starknet-react/core hooks

  • Pinata IPFS + Web Crypto for encrypted storage

  • Pragma Oracle for STRK / USD feed

Contracts are live on StarkNet Sepolia; class-hashes and ABIs are in the public repo. Subscriptions (Dev & Market) and a Liquidity-Vault dashboard are under active development.

해커톤 진행 상황

Over 15 days of focused solo work, I designed and deployed the foundation of StarkFlux, a decentralized marketplace for developer components on StarkNet. During the hackathon, I: - Implemented and deployed two core smart contracts: - ComponentRegistry (v1.2.1) — supports component uploads, pricing, and oracle-based conversion. - IdentityRegistry (v1.2.0) — manages developer metrics and reputation. - Built additional smart contracts for component purchasing, developer subscriptions, and marketplace subscriptions (pending integration). - Integrated the Pragma Oracle to fetch STRK ↔ USD prices with <1hr staleness. - Developed fully browser-side encrypted uploads to IPFS (≤200MB), using Web Crypto and no backend. - Built the frontend app with React 18, Starknet.js, TypeScript, and Vite. - Released developer registration and component listing functionality. - Published the full contract source and documentation on GitHub.

기술 스택

React
Web3
Cairo
Vite
TypeScript
Ethers
Rust
Node

자금 모금 상태

Not Funded.

팀 리더AAndres Cano
부문
OtherInfra