From 5a866c1564076544e3ea22bb3e83b9ce23753648 Mon Sep 17 00:00:00 2001 From: Mohsen Date: Wed, 4 Dec 2024 21:25:57 +0330 Subject: [PATCH] remove junks --- lib/bip/address/ada/ada_shelley_addr.dart | 2 +- lib/bip/address/aptos_addr.dart | 2 +- lib/bip/address/avax_addr.dart | 2 +- lib/bip/address/egld_addr.dart | 2 +- lib/bip/address/eos_addr.dart | 2 +- lib/bip/address/eth_addr.dart | 2 +- lib/bip/address/fil_addr.dart | 2 +- lib/bip/address/icx_addr.dart | 2 +- lib/bip/address/inj_addr.dart | 2 +- lib/bip/address/nano_addr.dart | 2 +- lib/bip/address/okex_addr.dart | 2 +- lib/bip/address/one_addr.dart | 2 +- lib/bip/address/trx_addr.dart | 2 +- lib/bip/address/xrp_addr.dart | 2 +- lib/bip/address/zil_addr.dart | 2 +- lib/bip/bip/bip38/bip38_addr.dart | 2 +- lib/bip/bip/conf/bip44/bip44_conf.dart | 2 +- lib/bip/bip/conf/bip49/bip49_conf.dart | 2 +- lib/bip/bip/conf/bip84/bip84_conf.dart | 2 +- lib/bip/bip/conf/bip86/bip86_conf.dart | 2 +- lib/bip/cardano/cip1852/conf/cip1852_conf.dart | 2 +- lib/bip/coin_conf/conf.dart | 2 +- lib/bip/coin_conf/{constants => constant}/coins_conf.dart | 0 lib/bip/electrum/electrum_v1.dart | 2 +- lib/bip/electrum/electrum_v2.dart | 2 +- lib/bip/monero/conf/monero_conf.dart | 2 +- lib/bip/substrate/conf/substrate_conf.dart | 2 +- lib/blockchain_utils.dart | 2 ++ test/bech32/bch_bech32_test.dart | 1 - test/elctrum/v1/v1_test.dart | 2 +- test/elctrum/v2/v2_test.dart | 5 +---- test/wif/wif_test.dart | 5 +---- 32 files changed, 31 insertions(+), 36 deletions(-) rename lib/bip/coin_conf/{constants => constant}/coins_conf.dart (100%) diff --git a/lib/bip/address/ada/ada_shelley_addr.dart b/lib/bip/address/ada/ada_shelley_addr.dart index 4232f72..4382054 100644 --- a/lib/bip/address/ada/ada_shelley_addr.dart +++ b/lib/bip/address/ada/ada_shelley_addr.dart @@ -6,7 +6,7 @@ import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; import 'package:blockchain_utils/bip/address/exception/exception.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'ada_addres_type.dart'; import 'network.dart'; diff --git a/lib/bip/address/aptos_addr.dart b/lib/bip/address/aptos_addr.dart index 5f38607..ab1cd62 100644 --- a/lib/bip/address/aptos_addr.dart +++ b/lib/bip/address/aptos_addr.dart @@ -1,7 +1,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'package:blockchain_utils/utils/utils.dart'; diff --git a/lib/bip/address/avax_addr.dart b/lib/bip/address/avax_addr.dart index 1f99242..6ff7932 100644 --- a/lib/bip/address/avax_addr.dart +++ b/lib/bip/address/avax_addr.dart @@ -54,7 +54,7 @@ import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'addr_dec_utils.dart'; import 'atom_addr.dart'; diff --git a/lib/bip/address/egld_addr.dart b/lib/bip/address/egld_addr.dart index af477dc..ab35ca2 100644 --- a/lib/bip/address/egld_addr.dart +++ b/lib/bip/address/egld_addr.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/bech32/bech32_base.dart'; import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/ed25519_keys.dart'; import 'encoder.dart'; diff --git a/lib/bip/address/eos_addr.dart b/lib/bip/address/eos_addr.dart index bf9be05..5a8c0e8 100644 --- a/lib/bip/address/eos_addr.dart +++ b/lib/bip/address/eos_addr.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/ecdsa_keys.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; diff --git a/lib/bip/address/eth_addr.dart b/lib/bip/address/eth_addr.dart index 8c46649..0a1c727 100644 --- a/lib/bip/address/eth_addr.dart +++ b/lib/bip/address/eth_addr.dart @@ -1,6 +1,6 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/i_keys.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'package:blockchain_utils/utils/utils.dart'; diff --git a/lib/bip/address/fil_addr.dart b/lib/bip/address/fil_addr.dart index b28b206..ec203b0 100644 --- a/lib/bip/address/fil_addr.dart +++ b/lib/bip/address/fil_addr.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'exception/exception.dart'; diff --git a/lib/bip/address/icx_addr.dart b/lib/bip/address/icx_addr.dart index 695d291..4820ff5 100644 --- a/lib/bip/address/icx_addr.dart +++ b/lib/bip/address/icx_addr.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/i_keys.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'package:blockchain_utils/utils/utils.dart'; diff --git a/lib/bip/address/inj_addr.dart b/lib/bip/address/inj_addr.dart index 03e8482..3f75b93 100644 --- a/lib/bip/address/inj_addr.dart +++ b/lib/bip/address/inj_addr.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/eth_addr.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/utils/utils.dart'; /// Implementation of the [BlockchainAddressDecoder] for INJ (Injective Protocol) addresses. diff --git a/lib/bip/address/nano_addr.dart b/lib/bip/address/nano_addr.dart index 048b6cc..2778de6 100644 --- a/lib/bip/address/nano_addr.dart +++ b/lib/bip/address/nano_addr.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/base32/base32.dart'; import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/ed25519_keys.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; diff --git a/lib/bip/address/okex_addr.dart b/lib/bip/address/okex_addr.dart index 9eebe12..ee446e2 100644 --- a/lib/bip/address/okex_addr.dart +++ b/lib/bip/address/okex_addr.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bech32/bech32_ex.dart'; import 'package:blockchain_utils/bip/address/eth_addr.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/utils/utils.dart'; import 'exception/exception.dart'; diff --git a/lib/bip/address/one_addr.dart b/lib/bip/address/one_addr.dart index f05b397..8679974 100644 --- a/lib/bip/address/one_addr.dart +++ b/lib/bip/address/one_addr.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/bech32/bech32_base.dart'; import 'package:blockchain_utils/bip/address/eth_addr.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/utils/utils.dart'; /// Implementation of the [BlockchainAddressDecoder] for Harmony (ONE) addresses. diff --git a/lib/bip/address/trx_addr.dart b/lib/bip/address/trx_addr.dart index eb662ee..80eb060 100644 --- a/lib/bip/address/trx_addr.dart +++ b/lib/bip/address/trx_addr.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/eth_addr.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/utils/utils.dart'; class TrxAddressUtils { diff --git a/lib/bip/address/xrp_addr.dart b/lib/bip/address/xrp_addr.dart index c523d68..f4655b3 100644 --- a/lib/bip/address/xrp_addr.dart +++ b/lib/bip/address/xrp_addr.dart @@ -4,7 +4,7 @@ import 'package:blockchain_utils/bip/address/addr_dec_utils.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/bip_ecc.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'exception/exception.dart'; diff --git a/lib/bip/address/zil_addr.dart b/lib/bip/address/zil_addr.dart index e8b091a..5c88988 100644 --- a/lib/bip/address/zil_addr.dart +++ b/lib/bip/address/zil_addr.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/bech32/bech32_base.dart'; import 'package:blockchain_utils/bip/address/addr_key_validator.dart'; import 'package:blockchain_utils/bip/address/decoder.dart'; import 'package:blockchain_utils/bip/address/encoder.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; /// Constants related to Zilliqa (ZIL) blockchain addresses. diff --git a/lib/bip/bip/bip38/bip38_addr.dart b/lib/bip/bip/bip38/bip38_addr.dart index a4c5f98..7fd55af 100644 --- a/lib/bip/bip/bip38/bip38_addr.dart +++ b/lib/bip/bip/bip38/bip38_addr.dart @@ -53,7 +53,7 @@ */ import 'package:blockchain_utils/bip/address/p2pkh_addr.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/crypto/quick_crypto.dart'; import 'package:blockchain_utils/utils/utils.dart'; diff --git a/lib/bip/bip/conf/bip44/bip44_conf.dart b/lib/bip/bip/conf/bip44/bip44_conf.dart index 0f731c2..314d5d8 100644 --- a/lib/bip/bip/conf/bip44/bip44_conf.dart +++ b/lib/bip/bip/conf/bip44/bip44_conf.dart @@ -5,7 +5,7 @@ import 'package:blockchain_utils/bip/bip/conf/config/bip_bitcoin_cash_conf.dart' import 'package:blockchain_utils/bip/bip/conf/config/bip_coin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/config/bip_litecoin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/const/bip_conf_const.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'package:blockchain_utils/bip/slip/slip44/slip44.dart'; diff --git a/lib/bip/bip/conf/bip49/bip49_conf.dart b/lib/bip/bip/conf/bip49/bip49_conf.dart index 4fa0e4e..55ab95f 100644 --- a/lib/bip/bip/conf/bip49/bip49_conf.dart +++ b/lib/bip/bip/conf/bip49/bip49_conf.dart @@ -4,7 +4,7 @@ import 'package:blockchain_utils/bip/bip/conf/config/bip_bitcoin_cash_conf.dart' import 'package:blockchain_utils/bip/bip/conf/config/bip_coin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/config/bip_litecoin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/const/bip_conf_const.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'package:blockchain_utils/bip/slip/slip44/slip44.dart'; diff --git a/lib/bip/bip/conf/bip84/bip84_conf.dart b/lib/bip/bip/conf/bip84/bip84_conf.dart index ed5bf99..79b7ea0 100644 --- a/lib/bip/bip/conf/bip84/bip84_conf.dart +++ b/lib/bip/bip/conf/bip84/bip84_conf.dart @@ -2,7 +2,7 @@ import 'package:blockchain_utils/bip/address/encoders.dart'; import 'package:blockchain_utils/bip/bip/bip32/bip32_key_net_ver.dart'; import 'package:blockchain_utils/bip/bip/conf/config/bip_coin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/const/bip_conf_const.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'package:blockchain_utils/bip/slip/slip44/slip44.dart'; diff --git a/lib/bip/bip/conf/bip86/bip86_conf.dart b/lib/bip/bip/conf/bip86/bip86_conf.dart index 1f95611..e21a91c 100644 --- a/lib/bip/bip/conf/bip86/bip86_conf.dart +++ b/lib/bip/bip/conf/bip86/bip86_conf.dart @@ -56,7 +56,7 @@ import 'package:blockchain_utils/bip/address/p2tr_addr.dart'; import 'package:blockchain_utils/bip/bip/bip32/bip32_const.dart'; import 'package:blockchain_utils/bip/bip/conf/config/bip_coin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/const/bip_conf_const.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'package:blockchain_utils/bip/slip/slip44/slip44.dart'; diff --git a/lib/bip/cardano/cip1852/conf/cip1852_conf.dart b/lib/bip/cardano/cip1852/conf/cip1852_conf.dart index 823af6f..ac081ff 100644 --- a/lib/bip/cardano/cip1852/conf/cip1852_conf.dart +++ b/lib/bip/cardano/cip1852/conf/cip1852_conf.dart @@ -3,7 +3,7 @@ import 'package:blockchain_utils/bip/address/ada/network.dart'; import 'package:blockchain_utils/bip/bip/bip32/bip32_const.dart'; import 'package:blockchain_utils/bip/bip/conf/config/bip_coin_conf.dart'; import 'package:blockchain_utils/bip/bip/conf/const/bip_conf_const.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'package:blockchain_utils/bip/slip/slip44/slip44.dart'; diff --git a/lib/bip/coin_conf/conf.dart b/lib/bip/coin_conf/conf.dart index ec7ad1e..742eaa2 100644 --- a/lib/bip/coin_conf/conf.dart +++ b/lib/bip/coin_conf/conf.dart @@ -1,3 +1,3 @@ -export 'constants/coins_conf.dart'; +export 'constant/coins_conf.dart'; export 'model/coin_conf.dart'; export 'model/coins_name.dart'; diff --git a/lib/bip/coin_conf/constants/coins_conf.dart b/lib/bip/coin_conf/constant/coins_conf.dart similarity index 100% rename from lib/bip/coin_conf/constants/coins_conf.dart rename to lib/bip/coin_conf/constant/coins_conf.dart diff --git a/lib/bip/electrum/electrum_v1.dart b/lib/bip/electrum/electrum_v1.dart index 46126c4..6f1007a 100644 --- a/lib/bip/electrum/electrum_v1.dart +++ b/lib/bip/electrum/electrum_v1.dart @@ -4,7 +4,7 @@ import 'package:blockchain_utils/exception/exception.dart'; import 'package:blockchain_utils/utils/utils.dart'; import 'package:blockchain_utils/bip/address/p2pkh_addr.dart'; import 'package:blockchain_utils/bip/bip/bip32/bip32_key_data.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/keys/i_keys.dart'; import 'package:blockchain_utils/bip/ecc/keys/ecdsa_keys.dart'; import 'package:blockchain_utils/bip/ecc/keys/secp256k1_keys_ecdsa.dart'; diff --git a/lib/bip/electrum/electrum_v2.dart b/lib/bip/electrum/electrum_v2.dart index 7d6d1f4..269ac4c 100644 --- a/lib/bip/electrum/electrum_v2.dart +++ b/lib/bip/electrum/electrum_v2.dart @@ -57,7 +57,7 @@ import 'package:blockchain_utils/bip/address/p2wpkh_addr.dart'; import 'package:blockchain_utils/bip/bip/bip32/base/bip32_base.dart'; import 'package:blockchain_utils/bip/bip/bip32/bip32_keys.dart'; import 'package:blockchain_utils/bip/bip/bip32/slip10/bip32_slip10_secp256k1.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; /// An abstract base class for Electrum V2 implementations abstract class ElectrumV2Base { diff --git a/lib/bip/monero/conf/monero_conf.dart b/lib/bip/monero/conf/monero_conf.dart index a996bfc..232de0b 100644 --- a/lib/bip/monero/conf/monero_conf.dart +++ b/lib/bip/monero/conf/monero_conf.dart @@ -1,4 +1,4 @@ -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/monero/conf/monero_coin_conf.dart'; /// A configuration class for Monero that defines the key network versions and diff --git a/lib/bip/substrate/conf/substrate_conf.dart b/lib/bip/substrate/conf/substrate_conf.dart index b570f42..6cb5497 100644 --- a/lib/bip/substrate/conf/substrate_conf.dart +++ b/lib/bip/substrate/conf/substrate_conf.dart @@ -1,5 +1,5 @@ import 'package:blockchain_utils/bip/address/substrate_addr.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/ecc/curve/elliptic_curve_types.dart'; import 'substrate_coin_conf.dart'; diff --git a/lib/blockchain_utils.dart b/lib/blockchain_utils.dart index 03392d9..101cf0e 100644 --- a/lib/blockchain_utils.dart +++ b/lib/blockchain_utils.dart @@ -68,6 +68,8 @@ export 'bip/ecc/bip_ecc.dart'; /// Exports utility functions related to TON mnemonic. export 'bip/ton/ton.dart'; +export 'bip/coin_conf/conf.dart'; + /// Exports utility functions related to mnemonic. export 'bip/mnemonic/mnemonic.dart'; diff --git a/test/bech32/bch_bech32_test.dart b/test/bech32/bch_bech32_test.dart index 487efd2..df25d75 100644 --- a/test/bech32/bch_bech32_test.dart +++ b/test/bech32/bch_bech32_test.dart @@ -1,4 +1,3 @@ -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; import 'package:blockchain_utils/blockchain_utils.dart'; import 'package:test/test.dart'; diff --git a/test/elctrum/v1/v1_test.dart b/test/elctrum/v1/v1_test.dart index cea3fa7..8fef8e8 100644 --- a/test/elctrum/v1/v1_test.dart +++ b/test/elctrum/v1/v1_test.dart @@ -1,5 +1,5 @@ import 'package:blockchain_utils/bip/address/p2pkh_addr.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; +import 'package:blockchain_utils/bip/coin_conf/constant/coins_conf.dart'; import 'package:blockchain_utils/bip/electrum/electrum_v1.dart'; import 'package:blockchain_utils/bip/wif/wif.dart'; import 'package:blockchain_utils/utils/utils.dart'; diff --git a/test/elctrum/v2/v2_test.dart b/test/elctrum/v2/v2_test.dart index 8e89e92..65bc363 100644 --- a/test/elctrum/v2/v2_test.dart +++ b/test/elctrum/v2/v2_test.dart @@ -1,7 +1,4 @@ -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; -import 'package:blockchain_utils/bip/electrum/electrum_v2.dart'; -import 'package:blockchain_utils/bip/wif/wif.dart'; -import 'package:blockchain_utils/utils/utils.dart'; +import 'package:blockchain_utils/blockchain_utils.dart'; import 'package:test/test.dart'; import '../../quick_hex.dart'; diff --git a/test/wif/wif_test.dart b/test/wif/wif_test.dart index 8042acb..e45f8e1 100644 --- a/test/wif/wif_test.dart +++ b/test/wif/wif_test.dart @@ -1,10 +1,7 @@ // ignore_for_file: depend_on_referenced_packages import 'package:blockchain_utils/bip/address/p2pkh_addr.dart'; -import 'package:blockchain_utils/bip/coin_conf/constants/coins_conf.dart'; -import 'package:blockchain_utils/bip/wif/wif.dart'; -import 'package:blockchain_utils/utils/utils.dart'; -import 'package:blockchain_utils/exception/exception.dart'; +import 'package:blockchain_utils/blockchain_utils.dart'; import 'package:test/test.dart'; final List> _testVector = [