Lean monorepo scaffold for building a broker-custody Compliance Wallet, Standard Wallet flows, KRC-20 tooling, PSKT-based swaps, and CN-mediated policy/signing flows.
rust/: CW helper modules retained for wallet/PSKT toolingvendor/rusty-kaspa/: upstream source (no build artifacts)wasm/sdk/: minimal browser WASM SDK payload for Chrome testingbin/: local helper binaries (e.g.,kaspa-cli)
cd ~/Projects/Compliance_Wallet
source scripts/env_mac.sh
./scripts/bootstrap_mac.shSpecs:
docs/spec/Compliance_Wallet_Multisig_Spec_Addendum_2025-12-13.md
- Regular wallet: normal KAS + KRC-20 wallet behavior (no CN gates).
- Compliance wallet: broker-custody wallet flow where CW validates the user/session/unlock state, the local authorization key signs request intents only, and CN applies policy before custody signing and broadcast.
- Blacklist always applies (all assets).
- CN policy applies to Compliance Wallet request intents before custody signing and broadcast.
- Whitelist applies only to regulated CA assets:
- CN policy
regulated_cas[]defines which CAs are regulated. - If a regulated CA is detected, recipient must be allowlisted.
- CN policy
- Fail-closed on missing asset identity: if a KRC-20 transfer is detected but CA/tick identity cannot be extracted, CN rejects.
- Broker ID binds CW to a CN: Compliance Wallet creation verifies CN reachability and records broker-custody metadata, including the CN custody key reference and the user authorization public key.