Sol.College

Structure lesson (licence does not allow quoting code)

Equinox

Perpetual futures on tokenized assets at rollup speed: TSLA and pre-IPO OpenAI, SpaceX, Anthropic, matched in 2-15 ms on MagicBlock Ephemeral Rollups, USDC custody at Solana L1 security. Live on devnet.

Original
Ansh-699/Equinox
SuperStack fork
Blockchains/Equinox @ d794c65
Stars
1
Last push (original)
2026-10-21
Languages
TypeScript, Rust, JavaScript, CSS, HTML, Shell
Detected stack
@solana/kitNext.jsPinocchioweb3.js
Categories
DeFi
Licence
none detected: code not quoted on Sol.College
Homepage
https://equinox.ansht.workers.dev

Architecture

380 source files. By extension: .ts ×256, .rs ×65, .tsx ×56, .py ×2, .js ×1.

Top-level directorySource files
workers90
lib76
features68
programs50
clients32
components17
services15
app15

On-chain programs: programs/equinox

How it works: instructions and accounts

Each instruction handler and the accounts struct it validates, found by reading the Rust source. Links go to the exact line at the pinned commit.

InstructionAccountsSource
InitializeMarketnative instruction variantprograms/equinox/src/instruction.rs:187
CreateTraderSeatnative instruction variantprograms/equinox/src/instruction.rs:188

Where the Solana code lives

Source files that import a Solana SDK, ranked by how many Solana APIs they use, with the APIs each one calls. Read them in this order to see how the app talks to the chain.

FileSolana APIs used
clients/equinox/src/index.test.tsPublicKey, Program, SystemProgram, transfer
programs/equinox/src/magicblock.rsseeds, Program, invoke_signed, AccountInfo, Pubkey, invoke
scripts/v3-e2e.tsPublicKey, getAccountInfo, Keypair, Connection, ComputeBudgetProgram, SystemProgram
clients/equinox/src/abi/pda.tsPublicKey, findProgramAddressSync
programs/equinox/src/registry.rsseeds, invoke_signed, invoke, SystemProgram, Program, transfer
programs/equinox/tests/runtime_tokenkeg.rsKeypair, transfer, Transaction
clients/equinox/src/abi/v3.tsPublicKey, findProgramAddressSync
clients/equinox/src/abi/v3-instructions.tsPublicKey, SystemProgram, findProgramAddressSync, Program
clients/equinox/src/abi/magicblock-instructions.tsPublicKey, findProgramAddressSync, SystemProgram
features/launch/dbc-launch.tsPublicKey, Connection, Keypair, getLatestBlockhash, Transaction
programs/equinox/tests/magicblock.rsseeds, invoke_signed, Pubkey, Program
scripts/v3-tsla-delegation.tsPublicKey, Keypair, Connection, Transaction, findProgramAddressSync, getAccountInfo

Dapp: devnet deploy pending

⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/equinox/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.

How to run, build and test

These commands come from the repo's own manifests (package.json scripts, Anchor.toml, Cargo, go.mod, Makefile). Check the README for prerequisites and environment variables.

DirectoryCommandRuns
.npm run dev
.npm run start
.npm run build
.npm run test
.npm run lint
workersnpm run dev
workersnpm run test
workersnpm run deploy
.cargo build
.cargo test

What you could build from it