Sol.College

Structure lesson (licence does not allow quoting code)

coldfire-nextofkin

Welt Protocol is a blockchain based platform designed to address the need for secure and efficient transfer of crypto assets in the event of the holder's death or incapacitation.

Original
woodfur/coldfire-nextofkin
SuperStack fork
Blockchains/coldfire-nextofkin @ 81383c7
Stars
0
Last push (original)
2024-10-09
Languages
TypeScript, Rust, JavaScript, CSS
Detected stack
AnchorNext.jsweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College
Homepage
https://welt.vercel.app

Architecture

73 source files. By extension: .tsx ×44, .ts ×24, .js ×4, .rs ×1.

Top-level directorySource files
coldfire73

On-chain programs: coldfire/anchor/programs/basic

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
check_inCheckIncoldfire/anchor/programs/basic/src/lib.rs:58
execute_switchExecuteSwitchcoldfire/anchor/programs/basic/src/lib.rs:72

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
coldfire/web/components/account/account-data-access.tsxPublicKey, useConnection, VersionedTransaction, TransactionMessage, transfer, useWallet
coldfire/anchor/tests/deadswitch.spec.tsKeypair, SystemProgram, getBalance, requestAirdrop, Program, AnchorProvider
coldfire/web/components/hooks/useDeadMansSwitch.tsxPublicKey, signTransaction, Program, Keypair, useConnection, useWallet
coldfire/anchor/programs/basic/src/lib.rsPubkey, Program, has_one, transfer, invoke
coldfire/web/components/account/account-ui.tsxPublicKey, useWallet, Transaction, sendTransaction
coldfire/web/components/quickactions.tsxPublicKey, useWallet
coldfire/web/components/CreatePlanModal.tsxPublicKey, useWallet
coldfire/web/components/ui/create.tsxPublicKey, useWallet
coldfire/web/components/solana/solana-provider.tsxAnchorProvider, useConnection, useWallet, WalletMultiButton
coldfire/anchor/src/basic-exports.tsAnchorProvider, Program, PublicKey
coldfire/web/components/hooks/useTokenMetadata.tsConnection, PublicKey, useConnection
coldfire/web/components/connectwallet.tsxPublicKey, useWallet

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/coldfire-nextofkin/. 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
coldfirenpm run dev
coldfirenpm run build
coldfire/anchoranchor build
coldfire/anchoranchor test
coldfire/anchoranchor run test

What you could build from it