Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 2.82 KB

structure.md

File metadata and controls

43 lines (38 loc) · 2.82 KB

Repository structure

handover/
├── README.md                  overview, judge check, setup, security model
├── structure.md               this file
├── more-details.md            setup, deploy, contract internals, security model
├── Makefile                   verify, test, build-contract, status, snapshot
├── contracts/
│   ├── handover/              NEAR contract (Rust): NFT, signing, market
│   └── res/                   built wasm and its hash (current and first deployment)
├── packages/
│   └── cleancheck/            clean-check library and CLI (TypeScript)
├── web/                       SvelteKit static app (hosted demo)
├── checks/                    capability checks run before building; MPC probe contract
├── evidence/                  proof from live runs: transactions, snapshots, key lists
└── docs/                      claims table, original requirements, hackathon brief

Where the logic lives

Logic Where
Who may sign, listing freeze, nonces, the reserved-transaction rule contracts/handover/src/wallet.rs
Building ETH and token transfers, hashing, signature assembly contracts/handover/src/tx.rs
NFT standard, minting, owner and transfer guards contracts/handover/src/lib.rs
List, delist, buy contracts/handover/src/market.rs
The clean check (verdicts) packages/cleancheck/src/check.ts
Reading NEAR and Sepolia for the check packages/cleancheck/src/rpc.ts
Browser calls to the contract and Sepolia web/src/lib/chain/
Token holdings and token transfer encoding in the app web/src/lib/chain/tokens.ts
Wallet page (verify, send, send everything, list, buy) web/src/routes/wallet/+page.svelte

Folder READMEs