Files
hash-wallet/cw_core
jwinterm 7740cb0559 Continue Cake Wallet rebrand: legal, FAQ, and package metadata
- LICENSE.md: add Such Software LLC copyright alongside Cake Labs (MIT
  attribution preserved)
- PRIVACY.md: replace Cake Labs' policy with a Hash Wallet placeholder
  pending the full policy
- env.json: Windows app name + package id for Hash Wallet
- assets/faq/faq_*.json (13 locales): rebrand "Cake Wallet" -> "Hash Wallet"
- cw_*/pubspec.yaml: author -> Hash Wallet, homepage -> Such-Software repo
2026-05-14 08:26:07 -04:00
..
2026-03-11 04:26:57 +02:00
2026-03-11 04:26:57 +02:00

cw_core

Core abstractions and shared types for Cake Wallet modules.

Highlights

  • Wallet primitives: WalletBase, WalletService, WalletInfo, WalletAddresses.
  • Transaction primitives: TransactionInfo, TransactionHistoryBase, directions/priorities.
  • Currency models: CryptoCurrency, Erc20Token, SPL/TRON token types.
  • Persistence helpers: Hive adapters, path helpers (pathForWallet), encrypted storage utils.
  • Node representation (Node) and sync status types.

Usage

Extend WalletBase for a new chain and provide a WalletService implementation to create/open/restore wallets.

class MyChainWallet extends WalletBase<MyBalance, MyHistory, MyTxInfo> { /* ... */ }
class MyChainWalletService extends WalletService<New, FromSeed, FromKeys, FromHardware> { /* ... */ }

See the chain modules (e.g., cw_bitcoin, cw_evm) for complete examples.