Files
hash-wallet/pubspec_base.yaml
T
2a74317aff Add Base Wallet (#2558)
* chore: Create Base package template

* chore: Update configuration scripts and dependencies to include 'base' coin support

* chore: Update pubspec.yaml, adjust SDK constraints, and add new dependencies

* feat: Add support for base wallet type and cryptocurrency in related configurations

* feat: Implement BaseWallet and DefaultBaseTokens classes for managing base cryptocurrency transactions

* feat: Add BaseTransactionHistory and BaseTransactionInfo classes for handling base cryptocurrency transaction data

* feat: Implement BaseClient, BaseWalletService, and BaseMnemonicIsIncorrectException

* feat: Setup base proxy for main package and adjust token class name

* feat: Setup initial base node configuration

* feat: Integrate support for base wallet type across various functions and services

* feat: Add base support to exchange and outputs

* feat: Add base wallet type integration to wallet creation and node management

* feat: Add base support to transaction details and transaction list item

* feat: Implement BaseURI class and add base support across wallet creation and keys view models

* feat: Add support for BaseScan preference in settings store

* feat: Integrate Base support into various workflows and documentation

* feat: Addingbase config to windows and secret key support

* feat: Add base support to settings and address handling

* chore: Move walletTypeToCurrency to another file and adjust across codebase

* feat: Add 'basescan_history' string localization

* feat: Remove Cryptocurrency.base, it doesn't have a base currency

* feat: Set eth as native currency

* feat: Enhance Base support across various sending, exchange, transaction details, fees, dashboard and balance

* feat: Integrate Base wallet support in advanced privacy settings and home settings view models

* feat: Add Base wallet support with icon and integration across providers, default settings migration, preferences, wallet connect, settings and token utilities

* feat: Update currency handling to use baseEth for Base wallet integration across various components

* fix: Update default token symbol to ETH in Base wallet transaction model

* refactor: Change default currency references from BASE to ETH across client, transaction info, and wallet components

* feat: Introduce normalizedIconPath for CryptoCurrency to standardize icon retrieval across wallet components

* fix: Include baseEth as a native token in EVMChainClient for currency handling

* chore: Update base_icon.png

* feat: Add more nodes to base_node_list.yml

* refactor: Update wallet icon retrieval to use normalizedIconPath

* chore: Remove unused cases and cleanup impl.

* feat: Add base proxy generation to configure

* refactor: Update base proxy and generation code in configure.dart

* feat: Add missing wallet and mono images

* fix: Wrong image path for pr and add missing base qr image

* feat: Enhance EVMTransactionErrorFeesHandler to parse new insufficient funds error format and calculate transaction fees in ETH and USD

* feat: Add gas price safety buffer for Base chain transactions to improve fee estimation accuracy, also fixes send all not calculating correctly

* Update model_generator.sh [skip ci]

* Update assets/base_node_list.yml [skip ci]

* Update cw_base/lib/default_base_erc20_tokens.dart [skip ci]

* Review fixes

* fixes

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-10-11 04:24:32 +03:00

259 lines
7.0 KiB
YAML

dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: any
url_launcher: 6.3.2
qr_flutter:
git:
url: https://github.com/cake-tech/qr.flutter.git
ref: cake-4.0.2
version: 4.0.2
shared_preferences: 2.5.3
# provider: ^6.0.3
rxdart: ^0.28.0
yaml: ^3.1.1
fast_scanner:
git:
url: https://github.com/MrCyjaneK/fast_scanner
ref: 69b3276b090fa6ac01b4483ca3adca93a8e615be
http: ^1.1.0
path_provider: ^2.0.11
mobx: ^2.1.4
flutter_mobx: 2.0.6+5
flutter_slidable: ^3.0.1
share_plus: ^10.0.0
# date_range_picker: ^1.0.6
#https://api.flutter.dev/flutter/material/showDateRangePicker.html
dio: ^5.7.0
hive: ^2.2.3
hive_flutter: ^1.1.0
local_auth_android: ^1.0.46
flutter_local_authentication:
git:
url: https://github.com/cake-tech/flutter_local_authentication
package_info_plus: ^8.0.1
devicelocale: 0.8.1
auto_size_text: ^3.0.0
dotted_border: ^2.0.0+2
smooth_page_indicator: ^1.0.0+2
flutter_inappwebview: ^6.1.5
flutter_spinkit: ^5.1.0
uni_links:
git:
url: https://github.com/cake-tech/uni_links
ref: 1989db3f5d625e2fffbad7b85a3b1b8c78c6dfa1
path: uni_links
lottie: ^3.3.1
animate_do: ^2.1.0
cupertino_icons: ^1.0.5
encrypt: 5.0.2
crypto: ^3.0.2
# password: ^1.0.0
basic_utils: ^5.6.1
get_it: ^7.2.0
# connectivity: ^3.0.3
connectivity_plus: ^6.1.3
keyboard_actions: ^4.0.1
another_flushbar: ^1.12.29
archive: ^4.0.3
cryptography: ^2.0.5
file_picker:
git:
url: https://github.com/cake-tech/flutter_file_picker.git
ref: c414574bc5ac349450f601e7f72c7b9f31b4d087
permission_handler: 11.4.0
device_display_brightness:
git:
url: https://github.com/MrCyjaneK/device_display_brightness.git
ref: 4cac18c446ce686f3d75b1565badbd7da439bbd9
wakelock_plus: ^1.2.5
flutter_mailer:
git:
url: https://github.com/taljacobson/flutter_mailer
ref: 9c4ed111a9151a2bbfb9afe2c18a37599c6f84f3
device_info_plus: ^9.1.0
base32: 2.1.3
in_app_review: ^2.0.6
image_picker: ^1.1.2
cake_backup:
git:
url: https://github.com/cake-tech/cake_backup.git
ref: main
version: 1.0.0
flutter_plugin_android_lifecycle: 2.0.23
path_provider_android: ^2.2.1
shared_preferences_android: ^2.4.8
url_launcher_android: 6.3.14
url_launcher_linux: 3.1.1 # https://github.com/flutter/flutter/issues/153083
sensitive_clipboard:
git:
url: https://github.com/cake-tech/sensitive_clipboard
ref: 288c7ee2d63b459bc735f7dc89321b29a1f12fae
eth_sig_util: ^0.0.9
ens_dart:
git:
url: https://github.com/cake-tech/ens_dart.git
ref: 9fa09b9db69b8645d5d50a844652aa570451d101
fluttertoast: 8.2.12
# tor:
# git:
# url: https://github.com/cake-tech/tor.git
# ref: main
socks5_proxy:
git:
url: https://github.com/LacticWhale/socks_dart
ref: 27ad7c2efae8d7460325c74b90f660085cbd0685
flutter_svg: ^2.2.0
polyseed: ^0.0.7
nostr_tools:
git:
url: https://github.com/cake-tech/nostr_tools.git
ref: 089d5a2dd751429a040ba10fb24fcbae564053e5
solana: ^0.31.0+1
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
ref: 60817d4b20144f9da9029f5034790272795b9d38
trezor_connect:
git:
url: https://github.com/cake-tech/trezor_connect
ref: 59b3ceec158d3393b20d0c596cab2abcc62ac8e4
bitbox_flutter:
path: ./scripts/bitbox_flutter
hashlib: 1.19.2
on_chain:
git:
url: https://github.com/cake-tech/on_chain.git
ref: cake-update-v2
reown_walletkit: 1.1.5+1
blockchain_utils:
git:
url: https://github.com/cake-tech/blockchain_utils
ref: cake-update-v2
flutter_daemon:
git:
url: https://github.com/MrCyjaneK/flutter_daemon
ref: c24ee99f2f3070ea02d8108bbdd7727d73f7e5f1
flutter_local_notifications: ^19.0.0
ur:
git:
url: https://github.com/bukata-sa/bc-ur-dart
ref: 5738f70d0ec3d50977ac3dd01fed62939600238b
bbqrdart:
git:
url: https://github.com/mrcyjanek/bbqrdart
ref: e867e3d0156d0b29858100f30adc2625b9dae586
dnssec_proof:
git:
url: https://github.com/MrCyjaneK/dnssec_proof.git
ref: b48a9defddce036048bae02e2069ebcbd6824afc
torch_dart:
path: ./scripts/torch_dart
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
mocktail: ^1.0.4
build_runner: ^2.4.15
logging: ^1.2.0
mobx_codegen: ^2.1.1
build_resolvers: ^2.4.4
hive_generator: ^2.0.1
# flutter_launcher_icons: ^0.11.0
# check flutter_launcher_icons for usage
pedantic: ^1.8.0
# replace https://github.com/dart-lang/lints#migrating-from-packagepedantic
translator:
git:
url: https://github.com/cake-tech/google-translator.git
version: 1.0.0
msix: ^3.16.9
dependency_overrides:
bech32:
git:
url: https://github.com/cake-tech/bech32.git
web3dart:
git:
url: https://github.com/cake-tech/web3dart.git
ref: cake
flutter_secure_storage_platform_interface: 1.0.2
protobuf: ^3.1.0
bitcoin_base:
git:
url: https://github.com/cake-tech/bitcoin_base
ref: cake-update-v11
ffi: 2.1.0
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
ref: 60817d4b20144f9da9029f5034790272795b9d38
ledger_usb_plus:
git:
url: https://github.com/konstantinullrich/ledger-usb-plus
ref: dad482c847c0d0eedceabbb40d3478e64b65e630
socks5_proxy:
git:
url: https://github.com/LacticWhale/socks_dart.git
ref: 27ad7c2efae8d7460325c74b90f660085cbd0685
web_socket_channel: ^3.0.2
freezed_annotation: 2.4.4
intl: 0.20.2
flutter_icons:
image_path: "assets/images/app_logo.png"
android: true
ios: true
macos:
generate: true
image_path: "assets/images/app_logo.png"
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/images/flags/
- assets/images/hardware_wallet/
- assets/images/crypto/
- assets/node_list.yml
- assets/haven_node_list.yml
- assets/bitcoin_electrum_server_list.yml
- assets/litecoin_electrum_server_list.yml
- assets/ethereum_server_list.yml
- assets/bitcoin_cash_electrum_server_list.yml
- assets/nano_node_list.yml
- assets/nano_pow_node_list.yml
- assets/polygon_node_list.yml
- assets/solana_node_list.yml
- assets/tron_node_list.yml
- assets/wownero_node_list.yml
- assets/zano_node_list.yml
- assets/decred_node_list.yml
- assets/dogecoin_electrum_server_list.yml
- assets/base_node_list.yml
- assets/text/
- assets/faq/
- assets/animation/
fonts:
- family: Lato
fonts:
- asset: assets/fonts/Lato-Regular.ttf
- asset: assets/fonts/Lato-Medium.ttf
- asset: assets/fonts/Lato-Semibold.ttf
- asset: assets/fonts/Lato-Bold.ttf
msix_config:
display_name: Cake Wallet
publisher_display_name: Cake Labs
identity_name: com.cakewallet.wallet
msix_version: 1.0.0.1
logo_path: assets/images/app_logo.png
trim_logo: false
capabilities: internetClient