Sol.College

Structure lesson (licence does not allow quoting code)

BeThere

Free events with a refundable deposit: pay to hold a seat, get it all back after you show up. Live in Bangkok (THB); USDC escrow on Solana devnet; attendance badges on mainnet. Rust end to end.

Original
solana-thailand/BeThere
SuperStack fork
Blockchains/BeThere @ 40dfc87
Stars
1
Last push (original)
2026-10-27
Languages
Rust, HTML, Python, Shell, CSS, JavaScript
Detected stack
not detected
Categories
AI & AgentsPayments
Licence
NOASSERTION: code not quoted on Sol.College
Homepage
https://bethere.solana-thailand.workers.dev/

Architecture

1018 source files. By extension: .rs ×920, .py ×69, .js ×17, .ts ×12.

Top-level directorySource files
worker441
frontend-leptos355
domain118
scripts35
bethere-escrow28
flow-harness16
e2e11
bethere-mcp10

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
CreateEventnative instruction variantfrontend-leptos/src/api/admin.rs:102
Depositnative instruction variantfrontend-leptos/src/api/admin.rs:103
MarkCheckedInnative instruction variantfrontend-leptos/src/api/admin.rs:104
Refundnative instruction variantfrontend-leptos/src/api/admin.rs:105
ClaimForfeitednative instruction variantfrontend-leptos/src/api/admin.rs:106
CloseEventnative instruction variantfrontend-leptos/src/api/admin.rs:107
DeactivateEventnative instruction variantfrontend-leptos/src/api/admin.rs:108
CloseDepositnative instruction variantfrontend-leptos/src/api/admin.rs:109
Unknownnative instruction variantfrontend-leptos/src/api/admin.rs:110
CreateEventnative instruction variantworker/src/escrow_indexer/mod.rs:64
Depositnative instruction variantworker/src/escrow_indexer/mod.rs:65
MarkCheckedInnative instruction variantworker/src/escrow_indexer/mod.rs:66
Refundnative instruction variantworker/src/escrow_indexer/mod.rs:67
ClaimForfeitednative instruction variantworker/src/escrow_indexer/mod.rs:68
CloseEventnative instruction variantworker/src/escrow_indexer/mod.rs:69
DeactivateEventnative instruction variantworker/src/escrow_indexer/mod.rs:70
CloseDepositnative instruction variantworker/src/escrow_indexer/mod.rs:71
RolloverDepositnative instruction variantworker/src/escrow_indexer/mod.rs:72
Unknownnative instruction variantworker/src/escrow_indexer/mod.rs:73

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
bethere-escrow/src/tests/mod.rsPubkey
scripts/verify_pda.rsseeds, Pubkey, findProgramAddressSync, Program
frontend-leptos/js/solana_wallet.jssignTransaction, Transaction, PublicKey, VersionedTransaction, Connection, Program

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/bethere/. 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
.cargo build
.cargo test

What you could build from it