mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Address-field input no longer leaves the device except toward infrastructure implied by the typed name itself: - remove Twitter, Mastodon, Nostr, Yat, Unstoppable Domains, FIO, ThorChain-name, zcash.me, and Zano alias lookups (Nostr and FIO ran with no setting gate at all; Zano is not even a supported chain) - keep OpenAlias, BIP-353, .well-known, LNURL, and ENS, each toggleable in Settings -> Domain lookups - BTC fee/block/restore-height queries move from mempool.cakewallet.com to public mempool.space (also fixes two /api/v1 paths that 404 on standard mempool deployments) - PRIVACY.md updated to disclose the remaining flows (mempool.space, name lookups, opt-in silent payments and payjoin); issue templates and the translation prompt de-Caked
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.