Files
hash-wallet/cw_core
98f58c2898 Cw 1624 trezor passphrase on trezor device instead of app (#3601)
* feat: add support for Trezor device settings configuration and `AwaitingSettings` state in pairing flow

* fix ugly widgets

* trezor options ui

* feat: add support for Trezor on device passphrases

* chore: bump trezor_flutter deps

* fix: remove unused subtitle property in proceed_on_device_sheet [skip ci]

* chore: update trezor_flutter dependency to latest commit [skip ci]

* fix: set restore height and store wallet during initialization steps

---------

Co-authored-by: Robert Malikowski <malikowskirobert@gmail.com>
2026-09-18 02:27:32 +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.