Files
hash-wallet/cw_core
6c1ee16513 new-node-list-ui-on-dev (#3259)
* node list new ui

# Conflicts:
#	cw_core/lib/node_list.dart

* increase touch target sizes

* fix scroll behavior

* fix concurrent modification

* Update lib/src/screens/settings/manage_nodes_page.dart [skip ci]

* Update lib/src/screens/nodes/node_create_or_edit_page.dart [skip ci]

* run speed test in parallel not sequential

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-06-01 21:32:12 +02:00
..
2026-06-01 21:32:12 +02:00
2026-03-11 04:26:57 +02: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.