bitmart 0.0.116__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bitmart/__init__.py +7 -0
- bitmart/ccxt/__init__.py +102 -0
- bitmart/ccxt/abstract/bitmart.py +117 -0
- bitmart/ccxt/async_support/__init__.py +81 -0
- bitmart/ccxt/async_support/base/__init__.py +1 -0
- bitmart/ccxt/async_support/base/exchange.py +2315 -0
- bitmart/ccxt/async_support/base/throttler.py +88 -0
- bitmart/ccxt/async_support/base/ws/__init__.py +38 -0
- bitmart/ccxt/async_support/base/ws/cache.py +219 -0
- bitmart/ccxt/async_support/base/ws/client.py +350 -0
- bitmart/ccxt/async_support/base/ws/functions.py +59 -0
- bitmart/ccxt/async_support/base/ws/future.py +46 -0
- bitmart/ccxt/async_support/base/ws/order_book.py +78 -0
- bitmart/ccxt/async_support/base/ws/order_book_side.py +174 -0
- bitmart/ccxt/async_support/bitmart.py +5361 -0
- bitmart/ccxt/base/__init__.py +27 -0
- bitmart/ccxt/base/decimal_to_precision.py +178 -0
- bitmart/ccxt/base/errors.py +273 -0
- bitmart/ccxt/base/exchange.py +7642 -0
- bitmart/ccxt/base/precise.py +297 -0
- bitmart/ccxt/base/types.py +619 -0
- bitmart/ccxt/bitmart.py +5361 -0
- bitmart/ccxt/pro/__init__.py +66 -0
- bitmart/ccxt/pro/bitmart.py +1917 -0
- bitmart/ccxt/static_dependencies/README.md +1 -0
- bitmart/ccxt/static_dependencies/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/__init__.py +6 -0
- bitmart/ccxt/static_dependencies/bip/addr/P2PKH_addr.py +205 -0
- bitmart/ccxt/static_dependencies/bip/addr/__init__.py +5 -0
- bitmart/ccxt/static_dependencies/bip/addr/addr_dec_utils.py +125 -0
- bitmart/ccxt/static_dependencies/bip/addr/addr_key_validator.py +162 -0
- bitmart/ccxt/static_dependencies/bip/addr/iaddr_decoder.py +48 -0
- bitmart/ccxt/static_dependencies/bip/addr/iaddr_encoder.py +50 -0
- bitmart/ccxt/static_dependencies/bip/base58/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/base58/base58.py +207 -0
- bitmart/ccxt/static_dependencies/bip/base58/base58_ex.py +25 -0
- bitmart/ccxt/static_dependencies/bip/base58/base58_xmr.py +155 -0
- bitmart/ccxt/static_dependencies/bip/bech32/__init__.py +4 -0
- bitmart/ccxt/static_dependencies/bip/bech32/bch_bech32.py +220 -0
- bitmart/ccxt/static_dependencies/bip/bech32/bech32.py +235 -0
- bitmart/ccxt/static_dependencies/bip/bech32/bech32_base.py +246 -0
- bitmart/ccxt/static_dependencies/bip/bech32/bech32_ex.py +25 -0
- bitmart/ccxt/static_dependencies/bip/bech32/segwit_bech32.py +173 -0
- bitmart/ccxt/static_dependencies/bip/bip32/__init__.py +14 -0
- bitmart/ccxt/static_dependencies/bip/bip32/base/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/bip32/base/bip32_base.py +581 -0
- bitmart/ccxt/static_dependencies/bip/bip32/base/ibip32_key_derivator.py +83 -0
- bitmart/ccxt/static_dependencies/bip/bip32/base/ibip32_mst_key_generator.py +47 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_const.py +35 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_ex.py +29 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_key_data.py +500 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_key_net_ver.py +83 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_key_ser.py +294 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_keys.py +457 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_path.py +247 -0
- bitmart/ccxt/static_dependencies/bip/bip32/bip32_utils.py +72 -0
- bitmart/ccxt/static_dependencies/bip/bip32/kholaw/__init__.py +4 -0
- bitmart/ccxt/static_dependencies/bip/bip32/kholaw/bip32_kholaw_ed25519.py +82 -0
- bitmart/ccxt/static_dependencies/bip/bip32/kholaw/bip32_kholaw_ed25519_key_derivator.py +118 -0
- bitmart/ccxt/static_dependencies/bip/bip32/kholaw/bip32_kholaw_key_derivator_base.py +204 -0
- bitmart/ccxt/static_dependencies/bip/bip32/kholaw/bip32_kholaw_mst_key_generator.py +119 -0
- bitmart/ccxt/static_dependencies/bip/bip32/slip10/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/bip32/slip10/bip32_slip10_key_derivator.py +200 -0
- bitmart/ccxt/static_dependencies/bip/bip32/slip10/bip32_slip10_mst_key_generator.py +168 -0
- bitmart/ccxt/static_dependencies/bip/bip32/slip10/bip32_slip10_secp256k1.py +82 -0
- bitmart/ccxt/static_dependencies/bip/bip44/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/bip44/bip44.py +265 -0
- bitmart/ccxt/static_dependencies/bip/bip44_base/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/bip44_base/bip44_base.py +624 -0
- bitmart/ccxt/static_dependencies/bip/bip44_base/bip44_base_ex.py +25 -0
- bitmart/ccxt/static_dependencies/bip/bip44_base/bip44_keys.py +225 -0
- bitmart/ccxt/static_dependencies/bip/coin_conf/__init__.py +2 -0
- bitmart/ccxt/static_dependencies/bip/coin_conf/coin_conf.py +68 -0
- bitmart/ccxt/static_dependencies/bip/coin_conf/coins_conf.py +890 -0
- bitmart/ccxt/static_dependencies/bip/conf/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip44/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip44/bip44_coins.py +126 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip44/bip44_conf.py +1360 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip44/bip44_conf_getter.py +153 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip49/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip49/bip49_coins.py +53 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip49/bip49_conf.py +366 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip49/bip49_conf_getter.py +80 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip84/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip84/bip84_coins.py +39 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip84/bip84_conf.py +113 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip84/bip84_conf_getter.py +66 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip86/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip86/bip86_coins.py +37 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip86/bip86_conf.py +83 -0
- bitmart/ccxt/static_dependencies/bip/conf/bip86/bip86_conf_getter.py +64 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/__init__.py +8 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/atom_addr.py +104 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/bip_bitcoin_cash_conf.py +106 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/bip_coin_conf.py +217 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/bip_coins.py +28 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/bip_conf_const.py +30 -0
- bitmart/ccxt/static_dependencies/bip/conf/common/bip_litecoin_conf.py +121 -0
- bitmart/ccxt/static_dependencies/bip/ecc/__init__.py +42 -0
- bitmart/ccxt/static_dependencies/bip/ecc/common/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/ecc/common/dummy_point.py +219 -0
- bitmart/ccxt/static_dependencies/bip/ecc/common/ikeys.py +263 -0
- bitmart/ccxt/static_dependencies/bip/ecc/common/ipoint.py +190 -0
- bitmart/ccxt/static_dependencies/bip/ecc/conf.py +28 -0
- bitmart/ccxt/static_dependencies/bip/ecc/curve/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/ecc/curve/elliptic_curve.py +121 -0
- bitmart/ccxt/static_dependencies/bip/ecc/curve/elliptic_curve_getter.py +74 -0
- bitmart/ccxt/static_dependencies/bip/ecc/curve/elliptic_curve_types.py +37 -0
- bitmart/ccxt/static_dependencies/bip/ecc/ecdsa/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/ecc/ecdsa/ecdsa_keys.py +36 -0
- bitmart/ccxt/static_dependencies/bip/ecc/secp256k1/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/ecc/secp256k1/secp256k1.py +36 -0
- bitmart/ccxt/static_dependencies/bip/ecc/secp256k1/secp256k1_const.py +59 -0
- bitmart/ccxt/static_dependencies/bip/ecc/secp256k1/secp256k1_keys_ecdsa.py +248 -0
- bitmart/ccxt/static_dependencies/bip/ecc/secp256k1/secp256k1_point_ecdsa.py +234 -0
- bitmart/ccxt/static_dependencies/bip/slip/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip173/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip173/slip173.py +60 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip32/__init__.py +4 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip32/slip32.py +322 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip32/slip32_key_net_ver.py +62 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip44/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/slip/slip44/slip44.py +81 -0
- bitmart/ccxt/static_dependencies/bip/utils/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/bip/utils/conf/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/utils/conf/coin_names.py +59 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/__init__.py +10 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/aes_ecb.py +152 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/blake2.py +191 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/chacha20_poly1305.py +101 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/hash160.py +57 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/hmac.py +118 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/pbkdf2.py +66 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/ripemd.py +58 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/scrypt.py +66 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/sha2.py +182 -0
- bitmart/ccxt/static_dependencies/bip/utils/crypto/sha3.py +99 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/__init__.py +7 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/algo.py +108 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/base32.py +151 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/bit.py +115 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/bytes.py +200 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/data_bytes.py +181 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/integer.py +97 -0
- bitmart/ccxt/static_dependencies/bip/utils/misc/string.py +54 -0
- bitmart/ccxt/static_dependencies/bip/utils/typing/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/utils/typing/literal.py +27 -0
- bitmart/ccxt/static_dependencies/bip/wif/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/bip/wif/wif.py +144 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/amino/amino_pb2.py +31 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/base/v1beta1/coin_pb2.py +47 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/crypto/multisig/keys_pb2.py +33 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +33 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/crypto/secp256k1/keys_pb2.py +34 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/msg/v1/msg_pb2.py +27 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/tx/signing/v1beta1/signing_pb2.py +38 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos/tx/v1beta1/tx_pb2.py +75 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/cosmos_proto/cosmos_pb2.py +36 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/accountplus_pb2.py +31 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/genesis_pb2.py +40 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/models_pb2.py +26 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/params_pb2.py +29 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/query_pb2.py +57 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/tx_pb2.py +51 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/block_rate_limit_config_pb2.py +37 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/clob_pair_pb2.py +41 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/equity_tier_limit_config_pb2.py +35 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/finalize_block_pb2.py +27 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/liquidations_config_pb2.py +39 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/liquidations_pb2.py +38 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/matches_pb2.py +55 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/mev_pb2.py +49 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/operation_pb2.py +32 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/order_pb2.py +86 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/order_removals_pb2.py +32 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/process_proposer_matches_events_pb2.py +42 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/query_pb2.py +124 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/streaming_pb2.py +29 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/tx_pb2.py +117 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/genesis_pb2.py +26 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/query_pb2.py +26 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/transfer_pb2.py +61 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/tx_pb2.py +37 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/asset_position_pb2.py +29 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/genesis_pb2.py +30 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/perpetual_position_pb2.py +33 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/query_pb2.py +63 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/streaming_pb2.py +31 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/subaccount_pb2.py +33 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/gogoproto/gogo_pb2.py +102 -0
- bitmart/ccxt/static_dependencies/dydx_v4_client/registry.py +38 -0
- bitmart/ccxt/static_dependencies/ecdsa/__init__.py +14 -0
- bitmart/ccxt/static_dependencies/ecdsa/_version.py +520 -0
- bitmart/ccxt/static_dependencies/ecdsa/curves.py +56 -0
- bitmart/ccxt/static_dependencies/ecdsa/der.py +221 -0
- bitmart/ccxt/static_dependencies/ecdsa/ecdsa.py +310 -0
- bitmart/ccxt/static_dependencies/ecdsa/ellipticcurve.py +1039 -0
- bitmart/ccxt/static_dependencies/ecdsa/keys.py +343 -0
- bitmart/ccxt/static_dependencies/ecdsa/numbertheory.py +531 -0
- bitmart/ccxt/static_dependencies/ecdsa/rfc6979.py +100 -0
- bitmart/ccxt/static_dependencies/ecdsa/util.py +266 -0
- bitmart/ccxt/static_dependencies/ethereum/__init__.py +7 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/__init__.py +16 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/abi.py +19 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/base.py +152 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/codec.py +217 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/constants.py +3 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/decoding.py +565 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/encoding.py +720 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/exceptions.py +139 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/grammar.py +443 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/packed.py +13 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/py.typed +0 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/registry.py +643 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/tools/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/tools/_strategies.py +230 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/utils/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/utils/numeric.py +83 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/utils/padding.py +27 -0
- bitmart/ccxt/static_dependencies/ethereum/abi/utils/string.py +19 -0
- bitmart/ccxt/static_dependencies/ethereum/account/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/__init__.py +4 -0
- bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/encoding_and_hashing.py +239 -0
- bitmart/ccxt/static_dependencies/ethereum/account/encode_typed_data/helpers.py +40 -0
- bitmart/ccxt/static_dependencies/ethereum/account/messages.py +263 -0
- bitmart/ccxt/static_dependencies/ethereum/account/py.typed +0 -0
- bitmart/ccxt/static_dependencies/ethereum/hexbytes/__init__.py +5 -0
- bitmart/ccxt/static_dependencies/ethereum/hexbytes/_utils.py +54 -0
- bitmart/ccxt/static_dependencies/ethereum/hexbytes/main.py +65 -0
- bitmart/ccxt/static_dependencies/ethereum/hexbytes/py.typed +0 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/__init__.py +63 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/abi.py +6 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/bls.py +7 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/discovery.py +5 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/encoding.py +7 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/enums.py +17 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/ethpm.py +9 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/evm.py +20 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/networks.py +1122 -0
- bitmart/ccxt/static_dependencies/ethereum/typing/py.typed +0 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/__init__.py +115 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/abi.py +72 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/address.py +171 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/applicators.py +151 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/conversions.py +190 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/currency.py +107 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/curried/__init__.py +269 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/debug.py +20 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/decorators.py +132 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/encoding.py +6 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/exceptions.py +4 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/functional.py +75 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/hexadecimal.py +74 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/humanize.py +188 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/logging.py +159 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/module_loading.py +31 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/numeric.py +43 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/py.typed +0 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/toolz.py +76 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/types.py +54 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/typing/__init__.py +18 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/typing/misc.py +14 -0
- bitmart/ccxt/static_dependencies/ethereum/utils/units.py +31 -0
- bitmart/ccxt/static_dependencies/keccak/__init__.py +3 -0
- bitmart/ccxt/static_dependencies/keccak/keccak.py +197 -0
- bitmart/ccxt/static_dependencies/lark/__init__.py +38 -0
- bitmart/ccxt/static_dependencies/lark/__pyinstaller/__init__.py +6 -0
- bitmart/ccxt/static_dependencies/lark/__pyinstaller/hook-lark.py +14 -0
- bitmart/ccxt/static_dependencies/lark/ast_utils.py +59 -0
- bitmart/ccxt/static_dependencies/lark/common.py +86 -0
- bitmart/ccxt/static_dependencies/lark/exceptions.py +292 -0
- bitmart/ccxt/static_dependencies/lark/grammar.py +130 -0
- bitmart/ccxt/static_dependencies/lark/grammars/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/lark/grammars/common.lark +59 -0
- bitmart/ccxt/static_dependencies/lark/grammars/lark.lark +62 -0
- bitmart/ccxt/static_dependencies/lark/grammars/python.lark +302 -0
- bitmart/ccxt/static_dependencies/lark/grammars/unicode.lark +7 -0
- bitmart/ccxt/static_dependencies/lark/indenter.py +143 -0
- bitmart/ccxt/static_dependencies/lark/lark.py +658 -0
- bitmart/ccxt/static_dependencies/lark/lexer.py +678 -0
- bitmart/ccxt/static_dependencies/lark/load_grammar.py +1428 -0
- bitmart/ccxt/static_dependencies/lark/parse_tree_builder.py +391 -0
- bitmart/ccxt/static_dependencies/lark/parser_frontends.py +257 -0
- bitmart/ccxt/static_dependencies/lark/parsers/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/lark/parsers/cyk.py +340 -0
- bitmart/ccxt/static_dependencies/lark/parsers/earley.py +314 -0
- bitmart/ccxt/static_dependencies/lark/parsers/earley_common.py +42 -0
- bitmart/ccxt/static_dependencies/lark/parsers/earley_forest.py +801 -0
- bitmart/ccxt/static_dependencies/lark/parsers/grammar_analysis.py +203 -0
- bitmart/ccxt/static_dependencies/lark/parsers/lalr_analysis.py +332 -0
- bitmart/ccxt/static_dependencies/lark/parsers/lalr_interactive_parser.py +158 -0
- bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser.py +122 -0
- bitmart/ccxt/static_dependencies/lark/parsers/lalr_parser_state.py +110 -0
- bitmart/ccxt/static_dependencies/lark/parsers/xearley.py +165 -0
- bitmart/ccxt/static_dependencies/lark/py.typed +0 -0
- bitmart/ccxt/static_dependencies/lark/reconstruct.py +107 -0
- bitmart/ccxt/static_dependencies/lark/tools/__init__.py +70 -0
- bitmart/ccxt/static_dependencies/lark/tools/nearley.py +202 -0
- bitmart/ccxt/static_dependencies/lark/tools/serialize.py +32 -0
- bitmart/ccxt/static_dependencies/lark/tools/standalone.py +196 -0
- bitmart/ccxt/static_dependencies/lark/tree.py +267 -0
- bitmart/ccxt/static_dependencies/lark/tree_matcher.py +186 -0
- bitmart/ccxt/static_dependencies/lark/tree_templates.py +180 -0
- bitmart/ccxt/static_dependencies/lark/utils.py +343 -0
- bitmart/ccxt/static_dependencies/lark/visitors.py +596 -0
- bitmart/ccxt/static_dependencies/marshmallow/__init__.py +81 -0
- bitmart/ccxt/static_dependencies/marshmallow/base.py +65 -0
- bitmart/ccxt/static_dependencies/marshmallow/class_registry.py +94 -0
- bitmart/ccxt/static_dependencies/marshmallow/decorators.py +231 -0
- bitmart/ccxt/static_dependencies/marshmallow/error_store.py +60 -0
- bitmart/ccxt/static_dependencies/marshmallow/exceptions.py +71 -0
- bitmart/ccxt/static_dependencies/marshmallow/fields.py +2114 -0
- bitmart/ccxt/static_dependencies/marshmallow/orderedset.py +89 -0
- bitmart/ccxt/static_dependencies/marshmallow/py.typed +0 -0
- bitmart/ccxt/static_dependencies/marshmallow/schema.py +1228 -0
- bitmart/ccxt/static_dependencies/marshmallow/types.py +12 -0
- bitmart/ccxt/static_dependencies/marshmallow/utils.py +378 -0
- bitmart/ccxt/static_dependencies/marshmallow/validate.py +678 -0
- bitmart/ccxt/static_dependencies/marshmallow/warnings.py +2 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/__init__.py +1047 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/collection_field.py +51 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/lazy_class_attribute.py +45 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/mypy.py +71 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/py.typed +0 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/typing.py +14 -0
- bitmart/ccxt/static_dependencies/marshmallow_dataclass/union_field.py +82 -0
- bitmart/ccxt/static_dependencies/marshmallow_oneofschema/__init__.py +1 -0
- bitmart/ccxt/static_dependencies/marshmallow_oneofschema/one_of_schema.py +193 -0
- bitmart/ccxt/static_dependencies/marshmallow_oneofschema/py.typed +0 -0
- bitmart/ccxt/static_dependencies/mnemonic/__init__.py +4 -0
- bitmart/ccxt/static_dependencies/mnemonic/mnemonic.py +282 -0
- bitmart/ccxt/static_dependencies/mnemonic/py.typed +1 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/chinese_simplified.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/chinese_traditional.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/czech.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/english.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/french.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/italian.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/japanese.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/korean.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/portuguese.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/russian.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/spanish.txt +2048 -0
- bitmart/ccxt/static_dependencies/mnemonic/wordlist/turkish.txt +2048 -0
- bitmart/ccxt/static_dependencies/msgpack/__init__.py +55 -0
- bitmart/ccxt/static_dependencies/msgpack/_cmsgpack.pyx +11 -0
- bitmart/ccxt/static_dependencies/msgpack/_packer.pyx +374 -0
- bitmart/ccxt/static_dependencies/msgpack/_unpacker.pyx +547 -0
- bitmart/ccxt/static_dependencies/msgpack/buff_converter.h +8 -0
- bitmart/ccxt/static_dependencies/msgpack/exceptions.py +48 -0
- bitmart/ccxt/static_dependencies/msgpack/ext.py +168 -0
- bitmart/ccxt/static_dependencies/msgpack/fallback.py +951 -0
- bitmart/ccxt/static_dependencies/msgpack/pack.h +89 -0
- bitmart/ccxt/static_dependencies/msgpack/pack_template.h +820 -0
- bitmart/ccxt/static_dependencies/msgpack/sysdep.h +194 -0
- bitmart/ccxt/static_dependencies/msgpack/unpack.h +391 -0
- bitmart/ccxt/static_dependencies/msgpack/unpack_define.h +95 -0
- bitmart/ccxt/static_dependencies/msgpack/unpack_template.h +464 -0
- bitmart/ccxt/static_dependencies/parsimonious/__init__.py +10 -0
- bitmart/ccxt/static_dependencies/parsimonious/exceptions.py +105 -0
- bitmart/ccxt/static_dependencies/parsimonious/expressions.py +479 -0
- bitmart/ccxt/static_dependencies/parsimonious/grammar.py +487 -0
- bitmart/ccxt/static_dependencies/parsimonious/nodes.py +325 -0
- bitmart/ccxt/static_dependencies/parsimonious/utils.py +40 -0
- bitmart/ccxt/static_dependencies/starknet/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v0/__init__.py +2 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v0/model.py +44 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v0/parser.py +216 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v0/schemas.py +72 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v0/shape.py +63 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/__init__.py +2 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/core_structures.json +14 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/model.py +39 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/parser.py +220 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/parser_transformer.py +179 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/schemas.py +66 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v1/shape.py +47 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/__init__.py +2 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/model.py +89 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/parser.py +293 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/parser_transformer.py +192 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/schemas.py +132 -0
- bitmart/ccxt/static_dependencies/starknet/abi/v2/shape.py +107 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/data_types.py +123 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/cairo_types.py +77 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser.py +46 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/deprecated_parse/parser_transformer.py +138 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/felt.py +64 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/type_parser.py +121 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/v1/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/v1/type_parser.py +59 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/v2/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/cairo/v2/type_parser.py +77 -0
- bitmart/ccxt/static_dependencies/starknet/ccxt_utils.py +7 -0
- bitmart/ccxt/static_dependencies/starknet/common.py +15 -0
- bitmart/ccxt/static_dependencies/starknet/constants.py +39 -0
- bitmart/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/hash/address.py +79 -0
- bitmart/ccxt/static_dependencies/starknet/hash/compiled_class_hash_objects.py +111 -0
- bitmart/ccxt/static_dependencies/starknet/hash/selector.py +16 -0
- bitmart/ccxt/static_dependencies/starknet/hash/storage.py +12 -0
- bitmart/ccxt/static_dependencies/starknet/hash/utils.py +78 -0
- bitmart/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/models/typed_data.py +45 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/__init__.py +24 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/_calldata_reader.py +40 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/_context.py +142 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/__init__.py +10 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/_common.py +82 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/array_serializer.py +43 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/bool_serializer.py +37 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/byte_array_serializer.py +66 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/cairo_data_serializer.py +71 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/enum_serializer.py +71 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/felt_serializer.py +50 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/named_tuple_serializer.py +58 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/option_serializer.py +43 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/output_serializer.py +40 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/payload_serializer.py +72 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/struct_serializer.py +36 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/tuple_serializer.py +36 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint256_serializer.py +76 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/uint_serializer.py +100 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/data_serializers/unit_serializer.py +32 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/errors.py +10 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/factory.py +229 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/function_serialization_adapter.py +110 -0
- bitmart/ccxt/static_dependencies/starknet/serialization/tuple_dataclass.py +59 -0
- bitmart/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starknet/utils/constructor_args_translator.py +86 -0
- bitmart/ccxt/static_dependencies/starknet/utils/iterable.py +13 -0
- bitmart/ccxt/static_dependencies/starknet/utils/schema.py +13 -0
- bitmart/ccxt/static_dependencies/starknet/utils/typed_data.py +182 -0
- bitmart/ccxt/static_dependencies/starkware/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +50 -0
- bitmart/ccxt/static_dependencies/starkware/crypto/math_utils.py +78 -0
- bitmart/ccxt/static_dependencies/starkware/crypto/signature.py +2344 -0
- bitmart/ccxt/static_dependencies/starkware/crypto/utils.py +63 -0
- bitmart/ccxt/static_dependencies/sympy/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/sympy/core/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/sympy/core/intfunc.py +35 -0
- bitmart/ccxt/static_dependencies/sympy/external/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/sympy/external/gmpy.py +345 -0
- bitmart/ccxt/static_dependencies/sympy/external/importtools.py +187 -0
- bitmart/ccxt/static_dependencies/sympy/external/ntheory.py +637 -0
- bitmart/ccxt/static_dependencies/sympy/external/pythonmpq.py +341 -0
- bitmart/ccxt/static_dependencies/toolz/__init__.py +26 -0
- bitmart/ccxt/static_dependencies/toolz/_signatures.py +784 -0
- bitmart/ccxt/static_dependencies/toolz/_version.py +520 -0
- bitmart/ccxt/static_dependencies/toolz/compatibility.py +30 -0
- bitmart/ccxt/static_dependencies/toolz/curried/__init__.py +101 -0
- bitmart/ccxt/static_dependencies/toolz/curried/exceptions.py +22 -0
- bitmart/ccxt/static_dependencies/toolz/curried/operator.py +22 -0
- bitmart/ccxt/static_dependencies/toolz/dicttoolz.py +339 -0
- bitmart/ccxt/static_dependencies/toolz/functoolz.py +1049 -0
- bitmart/ccxt/static_dependencies/toolz/itertoolz.py +1057 -0
- bitmart/ccxt/static_dependencies/toolz/recipes.py +46 -0
- bitmart/ccxt/static_dependencies/toolz/utils.py +9 -0
- bitmart/ccxt/static_dependencies/typing_inspect/__init__.py +0 -0
- bitmart/ccxt/static_dependencies/typing_inspect/typing_inspect.py +851 -0
- bitmart-0.0.116.dist-info/METADATA +342 -0
- bitmart-0.0.116.dist-info/RECORD +466 -0
- bitmart-0.0.116.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,890 @@
|
|
|
1
|
+
# Copyright (c) 2021 Emanuele Bellocchia
|
|
2
|
+
#
|
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
# furnished to do so, subject to the following conditions:
|
|
9
|
+
#
|
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
|
11
|
+
# all copies or substantial portions of the Software.
|
|
12
|
+
#
|
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
# THE SOFTWARE.
|
|
20
|
+
|
|
21
|
+
"""Module with generic coins configuration for all other modules."""
|
|
22
|
+
|
|
23
|
+
# Imports
|
|
24
|
+
from .coin_conf import CoinConf
|
|
25
|
+
from ..slip.slip173 import Slip173
|
|
26
|
+
from ..utils.conf import CoinNames
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# Bitcoin constants used by different coins
|
|
30
|
+
# Main net
|
|
31
|
+
_BTC_P2PKH_NET_VER_MN: bytes = b"\x00"
|
|
32
|
+
_BTC_P2SH_NET_VER_MN: bytes = b"\x05"
|
|
33
|
+
_BTC_P2WPKH_HRP_MN: str = Slip173.BITCOIN_MAINNET
|
|
34
|
+
_BTC_P2WPKH_WIT_VER_MN: int = 0
|
|
35
|
+
_BTC_P2TR_HRP_MN: str = Slip173.BITCOIN_MAINNET
|
|
36
|
+
_BTC_P2TR_WIT_VER_MN: int = 1
|
|
37
|
+
_BTC_WIF_NET_VER_MN: bytes = b"\x80"
|
|
38
|
+
# Test net
|
|
39
|
+
_BTC_P2PKH_NET_VER_TN: bytes = b"\x6f"
|
|
40
|
+
_BTC_P2SH_NET_VER_TN: bytes = b"\xc4"
|
|
41
|
+
_BTC_P2WPKH_HRP_TN: str = Slip173.BITCOIN_TESTNET
|
|
42
|
+
_BTC_P2WPKH_WIT_VER_TN: int = 0
|
|
43
|
+
_BTC_P2TR_HRP_TN: str = Slip173.BITCOIN_TESTNET
|
|
44
|
+
_BTC_P2TR_WIT_VER_TN: int = 1
|
|
45
|
+
_BTC_WIF_NET_VER_TN: bytes = b"\xef"
|
|
46
|
+
# Regtest
|
|
47
|
+
_BTC_P2PKH_NET_VER_RT: bytes = _BTC_P2PKH_NET_VER_TN
|
|
48
|
+
_BTC_P2SH_NET_VER_RT: bytes = _BTC_P2SH_NET_VER_TN
|
|
49
|
+
_BTC_P2WPKH_HRP_RT: str = Slip173.BITCOIN_REGTEST
|
|
50
|
+
_BTC_P2WPKH_WIT_VER_RT: int = _BTC_P2TR_WIT_VER_TN
|
|
51
|
+
_BTC_P2TR_HRP_RT: str = Slip173.BITCOIN_REGTEST
|
|
52
|
+
_BTC_P2TR_WIT_VER_RT: int = _BTC_P2TR_WIT_VER_TN
|
|
53
|
+
_BTC_WIF_NET_VER_RT: bytes = _BTC_WIF_NET_VER_TN
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class CoinsConf:
|
|
57
|
+
"""Class container for coins configuration."""
|
|
58
|
+
|
|
59
|
+
# # Configuration for Acala
|
|
60
|
+
# Acala: CoinConf = CoinConf(
|
|
61
|
+
# coin_name=CoinNames("Acala", "ACA"),
|
|
62
|
+
# params={
|
|
63
|
+
# "addr_ss58_format": 10,
|
|
64
|
+
# },
|
|
65
|
+
# )
|
|
66
|
+
|
|
67
|
+
# # Configuration for Akash Network
|
|
68
|
+
# AkashNetwork: CoinConf = CoinConf(
|
|
69
|
+
# coin_name=CoinNames("Akash Network", "AKT"),
|
|
70
|
+
# params={
|
|
71
|
+
# "addr_hrp": Slip173.AKASH_NETWORK,
|
|
72
|
+
# },
|
|
73
|
+
# )
|
|
74
|
+
|
|
75
|
+
# # Configuration for Algorand
|
|
76
|
+
# Algorand: CoinConf = CoinConf(
|
|
77
|
+
# coin_name=CoinNames("Algorand", "ALGO"),
|
|
78
|
+
# params={},
|
|
79
|
+
# )
|
|
80
|
+
|
|
81
|
+
# # Configuration for Aptos
|
|
82
|
+
# Aptos: CoinConf = CoinConf(
|
|
83
|
+
# coin_name=CoinNames("Aptos", "APTOS"),
|
|
84
|
+
# params={
|
|
85
|
+
# "addr_prefix": "0x",
|
|
86
|
+
# },
|
|
87
|
+
# )
|
|
88
|
+
|
|
89
|
+
# # Configuration for Arbitrum
|
|
90
|
+
# Arbitrum: CoinConf = CoinConf(
|
|
91
|
+
# coin_name=CoinNames("Arbitrum", "ARB"),
|
|
92
|
+
# params={},
|
|
93
|
+
# )
|
|
94
|
+
|
|
95
|
+
# # Configuration for Avax C-Chain
|
|
96
|
+
# AvaxCChain: CoinConf = CoinConf(
|
|
97
|
+
# coin_name=CoinNames("Avax C-Chain", "AVAX"),
|
|
98
|
+
# params={},
|
|
99
|
+
# )
|
|
100
|
+
|
|
101
|
+
# # Configuration for Avax P-Chain
|
|
102
|
+
# AvaxPChain: CoinConf = CoinConf(
|
|
103
|
+
# coin_name=CoinNames("Avax P-Chain", "AVAX"),
|
|
104
|
+
# params={
|
|
105
|
+
# "addr_hrp": "avax",
|
|
106
|
+
# "addr_prefix": "P-",
|
|
107
|
+
# },
|
|
108
|
+
# )
|
|
109
|
+
|
|
110
|
+
# # Configuration for Avax X-Chain
|
|
111
|
+
# AvaxXChain: CoinConf = CoinConf(
|
|
112
|
+
# coin_name=CoinNames("Avax X-Chain", "AVAX"),
|
|
113
|
+
# params={
|
|
114
|
+
# "addr_hrp": "avax",
|
|
115
|
+
# "addr_prefix": "X-",
|
|
116
|
+
# },
|
|
117
|
+
# )
|
|
118
|
+
|
|
119
|
+
# # Configuration for Axelar
|
|
120
|
+
# Axelar: CoinConf = CoinConf(
|
|
121
|
+
# coin_name=CoinNames("Axelar", "AXL"),
|
|
122
|
+
# params={
|
|
123
|
+
# "addr_hrp": Slip173.AXELAR,
|
|
124
|
+
# },
|
|
125
|
+
# )
|
|
126
|
+
|
|
127
|
+
# # Configuration for Band Protocol
|
|
128
|
+
# BandProtocol: CoinConf = CoinConf(
|
|
129
|
+
# coin_name=CoinNames("Band Protocol", "BAND"),
|
|
130
|
+
# params={
|
|
131
|
+
# "addr_hrp": Slip173.BAND_PROTOCOL,
|
|
132
|
+
# },
|
|
133
|
+
# )
|
|
134
|
+
|
|
135
|
+
# # Configuration for Bifrost
|
|
136
|
+
# Bifrost: CoinConf = CoinConf(
|
|
137
|
+
# coin_name=CoinNames("Bifrost", "BNC"),
|
|
138
|
+
# params={
|
|
139
|
+
# "addr_ss58_format": 6,
|
|
140
|
+
# },
|
|
141
|
+
# )
|
|
142
|
+
|
|
143
|
+
# # Configuration for Binance Chain
|
|
144
|
+
# BinanceChain: CoinConf = CoinConf(
|
|
145
|
+
# coin_name=CoinNames("Binance Chain", "BNB"),
|
|
146
|
+
# params={
|
|
147
|
+
# "addr_hrp": Slip173.BINANCE_CHAIN,
|
|
148
|
+
# },
|
|
149
|
+
# )
|
|
150
|
+
|
|
151
|
+
# # Configuration for Binance Smart Chain
|
|
152
|
+
# BinanceSmartChain: CoinConf = CoinConf(
|
|
153
|
+
# coin_name=CoinNames("Binance Smart Chain", "BNB"),
|
|
154
|
+
# params={},
|
|
155
|
+
# )
|
|
156
|
+
|
|
157
|
+
# Configuration for Bitcoin main net
|
|
158
|
+
BitcoinMainNet: CoinConf = CoinConf(
|
|
159
|
+
coin_name=CoinNames("Bitcoin", "BTC"),
|
|
160
|
+
params={
|
|
161
|
+
"p2pkh_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
162
|
+
"p2sh_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
163
|
+
"p2wpkh_hrp": _BTC_P2WPKH_HRP_MN,
|
|
164
|
+
"p2wpkh_wit_ver": _BTC_P2WPKH_WIT_VER_MN,
|
|
165
|
+
"p2tr_hrp": _BTC_P2TR_HRP_MN,
|
|
166
|
+
"p2tr_wit_ver": _BTC_P2TR_WIT_VER_MN,
|
|
167
|
+
"wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
168
|
+
},
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
# # Configuration for Bitcoin test net
|
|
172
|
+
# BitcoinTestNet: CoinConf = CoinConf(
|
|
173
|
+
# coin_name=CoinNames("Bitcoin TestNet", "BTC"),
|
|
174
|
+
# params={
|
|
175
|
+
# "p2pkh_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
176
|
+
# "p2sh_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
177
|
+
# "p2wpkh_hrp": _BTC_P2WPKH_HRP_TN,
|
|
178
|
+
# "p2wpkh_wit_ver": _BTC_P2WPKH_WIT_VER_TN,
|
|
179
|
+
# "p2tr_hrp": _BTC_P2TR_HRP_TN,
|
|
180
|
+
# "p2tr_wit_ver": _BTC_P2TR_WIT_VER_TN,
|
|
181
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
182
|
+
# },
|
|
183
|
+
# )
|
|
184
|
+
|
|
185
|
+
# # Configuration for Bitcoin regtest
|
|
186
|
+
# BitcoinRegTest: CoinConf = CoinConf(
|
|
187
|
+
# coin_name=CoinNames("Bitcoin RegTest", "BTC"),
|
|
188
|
+
# params={
|
|
189
|
+
# "p2pkh_net_ver": _BTC_P2PKH_NET_VER_RT,
|
|
190
|
+
# "p2sh_net_ver": _BTC_P2SH_NET_VER_RT,
|
|
191
|
+
# "p2wpkh_hrp": _BTC_P2WPKH_HRP_RT,
|
|
192
|
+
# "p2wpkh_wit_ver": _BTC_P2WPKH_WIT_VER_RT,
|
|
193
|
+
# "p2tr_hrp": _BTC_P2TR_HRP_RT,
|
|
194
|
+
# "p2tr_wit_ver": _BTC_P2TR_WIT_VER_RT,
|
|
195
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_RT,
|
|
196
|
+
# },
|
|
197
|
+
# )
|
|
198
|
+
|
|
199
|
+
# # Configuration for Bitcoin Cash main net
|
|
200
|
+
# BitcoinCashMainNet: CoinConf = CoinConf(
|
|
201
|
+
# coin_name=CoinNames("Bitcoin Cash", "BCH"),
|
|
202
|
+
# params={
|
|
203
|
+
# "p2pkh_std_hrp": "bitcoincash",
|
|
204
|
+
# "p2pkh_std_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
205
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
206
|
+
# "p2sh_std_hrp": "bitcoincash",
|
|
207
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
208
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
209
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
210
|
+
# },
|
|
211
|
+
# )
|
|
212
|
+
|
|
213
|
+
# # Configuration for Bitcoin Cash test net
|
|
214
|
+
# BitcoinCashTestNet: CoinConf = CoinConf(
|
|
215
|
+
# coin_name=CoinNames("Bitcoin Cash TestNet", "BCH"),
|
|
216
|
+
# params={
|
|
217
|
+
# "p2pkh_std_hrp": "bchtest",
|
|
218
|
+
# "p2pkh_std_net_ver": b"\x00",
|
|
219
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
220
|
+
# "p2sh_std_hrp": "bchtest",
|
|
221
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
222
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
223
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
224
|
+
# },
|
|
225
|
+
# )
|
|
226
|
+
|
|
227
|
+
# # Configuration for Bitcoin Cash Simple Ledger Protocol main net
|
|
228
|
+
# BitcoinCashSlpMainNet: CoinConf = CoinConf(
|
|
229
|
+
# coin_name=CoinNames("Bitcoin Cash SLP", "SLP"),
|
|
230
|
+
# params={
|
|
231
|
+
# "p2pkh_std_hrp": "simpleledger",
|
|
232
|
+
# "p2pkh_std_net_ver": b"\x00",
|
|
233
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
234
|
+
# "p2sh_std_hrp": "simpleledger",
|
|
235
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
236
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
237
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
238
|
+
# },
|
|
239
|
+
# )
|
|
240
|
+
|
|
241
|
+
# # Configuration for Bitcoin Cash Simple Ledger Protocol test net
|
|
242
|
+
# BitcoinCashSlpTestNet: CoinConf = CoinConf(
|
|
243
|
+
# coin_name=CoinNames("Bitcoin Cash SLP TestNet", "SLP"),
|
|
244
|
+
# params={
|
|
245
|
+
# "p2pkh_std_hrp": "slptest",
|
|
246
|
+
# "p2pkh_std_net_ver": b"\x00",
|
|
247
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
248
|
+
# "p2sh_std_hrp": "slptest",
|
|
249
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
250
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
251
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
252
|
+
# },
|
|
253
|
+
# )
|
|
254
|
+
|
|
255
|
+
# # Configuration for Bitcoin SV main net
|
|
256
|
+
# BitcoinSvMainNet: CoinConf = CoinConf(
|
|
257
|
+
# coin_name=CoinNames("BitcoinSV", "BSV"),
|
|
258
|
+
# params={
|
|
259
|
+
# "p2pkh_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
260
|
+
# "p2sh_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
261
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
262
|
+
# },
|
|
263
|
+
# )
|
|
264
|
+
|
|
265
|
+
# # Configuration for Bitcoin SV test net
|
|
266
|
+
# BitcoinSvTestNet: CoinConf = CoinConf(
|
|
267
|
+
# coin_name=CoinNames("BitcoinSV TestNet", "BSV"),
|
|
268
|
+
# params={
|
|
269
|
+
# "p2pkh_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
270
|
+
# "p2sh_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
271
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
272
|
+
# },
|
|
273
|
+
# )
|
|
274
|
+
|
|
275
|
+
# # Configuration for Cardano main net
|
|
276
|
+
# CardanoMainNet: CoinConf = CoinConf(
|
|
277
|
+
# coin_name=CoinNames("Cardano", "ADA"),
|
|
278
|
+
# params={
|
|
279
|
+
# "addr_hrp": "addr",
|
|
280
|
+
# "staking_addr_hrp": "stake",
|
|
281
|
+
# },
|
|
282
|
+
# )
|
|
283
|
+
|
|
284
|
+
# # Configuration for Cardano test
|
|
285
|
+
# CardanoTestNet: CoinConf = CoinConf(
|
|
286
|
+
# coin_name=CoinNames("Cardano TestNet", "ADA"),
|
|
287
|
+
# params={
|
|
288
|
+
# "addr_hrp": "addr_test",
|
|
289
|
+
# "staking_addr_hrp": "stake_test",
|
|
290
|
+
# },
|
|
291
|
+
# )
|
|
292
|
+
|
|
293
|
+
# # Configuration for Celestia
|
|
294
|
+
# Celestia: CoinConf = CoinConf(
|
|
295
|
+
# coin_name=CoinNames("Celestia", "TIA"),
|
|
296
|
+
# params={
|
|
297
|
+
# "addr_hrp": Slip173.CELESTIA,
|
|
298
|
+
# },
|
|
299
|
+
# )
|
|
300
|
+
|
|
301
|
+
# # Configuration for Celo
|
|
302
|
+
# Celo: CoinConf = CoinConf(
|
|
303
|
+
# coin_name=CoinNames("Celo", "CELO"),
|
|
304
|
+
# params={},
|
|
305
|
+
# )
|
|
306
|
+
|
|
307
|
+
# # Configuration for Certik
|
|
308
|
+
# Certik: CoinConf = CoinConf(
|
|
309
|
+
# coin_name=CoinNames("Certik", "CTK"),
|
|
310
|
+
# params={
|
|
311
|
+
# "addr_hrp": Slip173.CERTIK,
|
|
312
|
+
# },
|
|
313
|
+
# )
|
|
314
|
+
|
|
315
|
+
# # Configuration for ChainX
|
|
316
|
+
# ChainX: CoinConf = CoinConf(
|
|
317
|
+
# coin_name=CoinNames("ChainX", "PCX"),
|
|
318
|
+
# params={
|
|
319
|
+
# "addr_ss58_format": 44,
|
|
320
|
+
# },
|
|
321
|
+
# )
|
|
322
|
+
|
|
323
|
+
# # Configuration for Chihuahua
|
|
324
|
+
# Chihuahua: CoinConf = CoinConf(
|
|
325
|
+
# coin_name=CoinNames("Chihuahua", "HUAHUA"),
|
|
326
|
+
# params={
|
|
327
|
+
# "addr_hrp": Slip173.CHIHUAHUA,
|
|
328
|
+
# },
|
|
329
|
+
# )
|
|
330
|
+
|
|
331
|
+
# Configuration for Cosmos
|
|
332
|
+
Cosmos: CoinConf = CoinConf(
|
|
333
|
+
coin_name=CoinNames("Cosmos", "ATOM"),
|
|
334
|
+
params={
|
|
335
|
+
"addr_hrp": Slip173.COSMOS,
|
|
336
|
+
},
|
|
337
|
+
)
|
|
338
|
+
|
|
339
|
+
# # Configuration for Dash main net
|
|
340
|
+
# DashMainNet: CoinConf = CoinConf(
|
|
341
|
+
# coin_name=CoinNames("Dash", "DASH"),
|
|
342
|
+
# params={
|
|
343
|
+
# "p2pkh_net_ver": b"\x4c",
|
|
344
|
+
# "p2sh_net_ver": b"\x10",
|
|
345
|
+
# "wif_net_ver": b"\xcc",
|
|
346
|
+
# },
|
|
347
|
+
# )
|
|
348
|
+
|
|
349
|
+
# # Configuration for Dash test net
|
|
350
|
+
# DashTestNet: CoinConf = CoinConf(
|
|
351
|
+
# coin_name=CoinNames("Dash TestNet", "DASH"),
|
|
352
|
+
# params={
|
|
353
|
+
# "p2pkh_net_ver": b"\x8c",
|
|
354
|
+
# "p2sh_net_ver": b"\x13",
|
|
355
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
356
|
+
# },
|
|
357
|
+
# )
|
|
358
|
+
|
|
359
|
+
# # Configuration for Dogecoin main net
|
|
360
|
+
# DogecoinMainNet: CoinConf = CoinConf(
|
|
361
|
+
# coin_name=CoinNames("Dogecoin", "DOGE"),
|
|
362
|
+
# params={
|
|
363
|
+
# "p2pkh_net_ver": b"\x1e",
|
|
364
|
+
# "p2sh_net_ver": b"\x16",
|
|
365
|
+
# "wif_net_ver": b"\x9e",
|
|
366
|
+
# },
|
|
367
|
+
# )
|
|
368
|
+
|
|
369
|
+
# # Configuration for Dogecoin test net
|
|
370
|
+
# DogecoinTestNet: CoinConf = CoinConf(
|
|
371
|
+
# coin_name=CoinNames("Dogecoin TestNet", "DOGE"),
|
|
372
|
+
# params={
|
|
373
|
+
# "p2pkh_net_ver": b"\x71",
|
|
374
|
+
# "p2sh_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
375
|
+
# "wif_net_ver": b"\xf1",
|
|
376
|
+
# },
|
|
377
|
+
# )
|
|
378
|
+
|
|
379
|
+
# # Configuration for dYdX
|
|
380
|
+
# DYDX: CoinConf = CoinConf(
|
|
381
|
+
# coin_name=CoinNames("dYdX", "DYDX"),
|
|
382
|
+
# params={
|
|
383
|
+
# "addr_hrp": Slip173.DYDX,
|
|
384
|
+
# },
|
|
385
|
+
# )
|
|
386
|
+
|
|
387
|
+
# # Configuration for eCash main net
|
|
388
|
+
# EcashMainNet: CoinConf = CoinConf(
|
|
389
|
+
# coin_name=CoinNames("eCash", "XEC"),
|
|
390
|
+
# params={
|
|
391
|
+
# "p2pkh_std_hrp": "ecash",
|
|
392
|
+
# "p2pkh_std_net_ver": b"\x00",
|
|
393
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
394
|
+
# "p2sh_std_hrp": "ecash",
|
|
395
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
396
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
397
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
398
|
+
# },
|
|
399
|
+
# )
|
|
400
|
+
|
|
401
|
+
# # Configuration for eCash test net
|
|
402
|
+
# EcashTestNet: CoinConf = CoinConf(
|
|
403
|
+
# coin_name=CoinNames("eCash TestNet", "XEC"),
|
|
404
|
+
# params={
|
|
405
|
+
# "p2pkh_std_hrp": "ectest",
|
|
406
|
+
# "p2pkh_std_net_ver": b"\x00",
|
|
407
|
+
# "p2pkh_legacy_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
408
|
+
# "p2sh_std_hrp": "ectest",
|
|
409
|
+
# "p2sh_std_net_ver": b"\x08",
|
|
410
|
+
# "p2sh_legacy_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
411
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
412
|
+
# },
|
|
413
|
+
# )
|
|
414
|
+
|
|
415
|
+
# # Configuration for Edgeware
|
|
416
|
+
# Edgeware: CoinConf = CoinConf(
|
|
417
|
+
# coin_name=CoinNames("Edgeware", "EDG"),
|
|
418
|
+
# params={
|
|
419
|
+
# "addr_ss58_format": 7,
|
|
420
|
+
# },
|
|
421
|
+
# )
|
|
422
|
+
|
|
423
|
+
# # Configuration for Elrond
|
|
424
|
+
# Elrond: CoinConf = CoinConf(
|
|
425
|
+
# coin_name=CoinNames("MultiversX", "EGLD"),
|
|
426
|
+
# params={
|
|
427
|
+
# "addr_hrp": Slip173.ELROND,
|
|
428
|
+
# },
|
|
429
|
+
# )
|
|
430
|
+
|
|
431
|
+
# # Configuration for Eos
|
|
432
|
+
# Eos: CoinConf = CoinConf(
|
|
433
|
+
# coin_name=CoinNames("EOS", "EOS"),
|
|
434
|
+
# params={
|
|
435
|
+
# "addr_prefix": "EOS",
|
|
436
|
+
# },
|
|
437
|
+
# )
|
|
438
|
+
|
|
439
|
+
# # Configuration for Ergo main net
|
|
440
|
+
# ErgoMainNet: CoinConf = CoinConf(
|
|
441
|
+
# coin_name=CoinNames("Ergo", "ERGO"),
|
|
442
|
+
# params={},
|
|
443
|
+
# )
|
|
444
|
+
|
|
445
|
+
# # Configuration for Ergo test net
|
|
446
|
+
# ErgoTestNet: CoinConf = CoinConf(
|
|
447
|
+
# coin_name=CoinNames("Ergo TestNet", "ERGO"),
|
|
448
|
+
# params={},
|
|
449
|
+
# )
|
|
450
|
+
|
|
451
|
+
# # Configuration for Ethereum
|
|
452
|
+
# Ethereum: CoinConf = CoinConf(
|
|
453
|
+
# coin_name=CoinNames("Ethereum", "ETH"),
|
|
454
|
+
# params={
|
|
455
|
+
# "addr_prefix": "0x",
|
|
456
|
+
# },
|
|
457
|
+
# )
|
|
458
|
+
|
|
459
|
+
# # Configuration for Ethereum Classic
|
|
460
|
+
# EthereumClassic: CoinConf = CoinConf(
|
|
461
|
+
# coin_name=CoinNames("Ethereum Classic", "ETC"),
|
|
462
|
+
# params={},
|
|
463
|
+
# )
|
|
464
|
+
|
|
465
|
+
# # Configuration for Fantom Opera
|
|
466
|
+
# FantomOpera: CoinConf = CoinConf(
|
|
467
|
+
# coin_name=CoinNames("Fantom Opera", "FTM"),
|
|
468
|
+
# params={},
|
|
469
|
+
# )
|
|
470
|
+
|
|
471
|
+
# # Configuration for Fetch.ai
|
|
472
|
+
# FetchAi: CoinConf = CoinConf(
|
|
473
|
+
# coin_name=CoinNames("Fetch.ai", "FET"),
|
|
474
|
+
# params={
|
|
475
|
+
# "addr_hrp": Slip173.FETCH_AI,
|
|
476
|
+
# },
|
|
477
|
+
# )
|
|
478
|
+
|
|
479
|
+
# # Configuration for Filecoin
|
|
480
|
+
# Filecoin: CoinConf = CoinConf(
|
|
481
|
+
# coin_name=CoinNames("Filecoin", "FIL"),
|
|
482
|
+
# params={
|
|
483
|
+
# "addr_prefix": "f",
|
|
484
|
+
# },
|
|
485
|
+
# )
|
|
486
|
+
|
|
487
|
+
# # Configuration for generic Substrate coin
|
|
488
|
+
# GenericSubstrate: CoinConf = CoinConf(
|
|
489
|
+
# coin_name=CoinNames("Generic Substrate", ""),
|
|
490
|
+
# params={
|
|
491
|
+
# "addr_ss58_format": 42,
|
|
492
|
+
# },
|
|
493
|
+
# )
|
|
494
|
+
|
|
495
|
+
# # Configuration for Harmony One
|
|
496
|
+
# HarmonyOne: CoinConf = CoinConf(
|
|
497
|
+
# coin_name=CoinNames("Harmony One", "ONE"),
|
|
498
|
+
# params={
|
|
499
|
+
# "addr_hrp": Slip173.HARMONY_ONE,
|
|
500
|
+
# },
|
|
501
|
+
# )
|
|
502
|
+
|
|
503
|
+
# # Configuration for Huobi Chain
|
|
504
|
+
# HuobiChain: CoinConf = CoinConf(
|
|
505
|
+
# coin_name=CoinNames("Huobi Token", "HT"),
|
|
506
|
+
# params={},
|
|
507
|
+
# )
|
|
508
|
+
|
|
509
|
+
# # Configuration for Icon
|
|
510
|
+
# Icon: CoinConf = CoinConf(
|
|
511
|
+
# coin_name=CoinNames("Icon", "ICX"),
|
|
512
|
+
# params={
|
|
513
|
+
# "addr_prefix": "hx",
|
|
514
|
+
# },
|
|
515
|
+
# )
|
|
516
|
+
|
|
517
|
+
# # Configuration for Injective
|
|
518
|
+
# Injective: CoinConf = CoinConf(
|
|
519
|
+
# coin_name=CoinNames("Injective", "INJ"),
|
|
520
|
+
# params={
|
|
521
|
+
# "addr_hrp": Slip173.INJECTIVE,
|
|
522
|
+
# },
|
|
523
|
+
# )
|
|
524
|
+
|
|
525
|
+
# # Configuration for IRISnet
|
|
526
|
+
# IrisNet: CoinConf = CoinConf(
|
|
527
|
+
# coin_name=CoinNames("IRIS Network", "IRIS"),
|
|
528
|
+
# params={
|
|
529
|
+
# "addr_hrp": Slip173.IRIS_NETWORK,
|
|
530
|
+
# },
|
|
531
|
+
# )
|
|
532
|
+
|
|
533
|
+
# # Configuration for Karura
|
|
534
|
+
# Karura: CoinConf = CoinConf(
|
|
535
|
+
# coin_name=CoinNames("Karura", "KAR"),
|
|
536
|
+
# params={
|
|
537
|
+
# "addr_ss58_format": 8,
|
|
538
|
+
# },
|
|
539
|
+
# )
|
|
540
|
+
|
|
541
|
+
# # Configuration for Kava
|
|
542
|
+
# Kava: CoinConf = CoinConf(
|
|
543
|
+
# coin_name=CoinNames("Kava", "KAVA"),
|
|
544
|
+
# params={
|
|
545
|
+
# "addr_hrp": Slip173.KAVA,
|
|
546
|
+
# },
|
|
547
|
+
# )
|
|
548
|
+
|
|
549
|
+
# # Configuration for Kusama
|
|
550
|
+
# Kusama: CoinConf = CoinConf(
|
|
551
|
+
# coin_name=CoinNames("Kusama", "KSM"),
|
|
552
|
+
# params={
|
|
553
|
+
# "addr_ss58_format": 2,
|
|
554
|
+
# },
|
|
555
|
+
# )
|
|
556
|
+
|
|
557
|
+
# # Configuration for Litecoin main net
|
|
558
|
+
# LitecoinMainNet: CoinConf = CoinConf(
|
|
559
|
+
# coin_name=CoinNames("Litecoin", "LTC"),
|
|
560
|
+
# params={
|
|
561
|
+
# "p2pkh_std_net_ver": b"\x30",
|
|
562
|
+
# "p2pkh_depr_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
563
|
+
# "p2sh_std_net_ver": b"\x32",
|
|
564
|
+
# "p2sh_depr_net_ver": _BTC_P2SH_NET_VER_MN,
|
|
565
|
+
# "p2wpkh_hrp": Slip173.LITECOIN_MAINNET,
|
|
566
|
+
# "p2wpkh_wit_ver": _BTC_P2WPKH_WIT_VER_MN,
|
|
567
|
+
# "wif_net_ver": b"\xb0",
|
|
568
|
+
# },
|
|
569
|
+
# )
|
|
570
|
+
|
|
571
|
+
# # Configuration for Litecoin test net
|
|
572
|
+
# LitecoinTestNet: CoinConf = CoinConf(
|
|
573
|
+
# coin_name=CoinNames("Litecoin TestNet", "LTC"),
|
|
574
|
+
# params={
|
|
575
|
+
# "p2pkh_std_net_ver": b"\x6f",
|
|
576
|
+
# "p2pkh_depr_net_ver": _BTC_P2PKH_NET_VER_TN,
|
|
577
|
+
# "p2sh_std_net_ver": b"\x3a",
|
|
578
|
+
# "p2sh_depr_net_ver": _BTC_P2SH_NET_VER_TN,
|
|
579
|
+
# "p2wpkh_hrp": Slip173.LITECOIN_TESTNET,
|
|
580
|
+
# "p2wpkh_wit_ver": _BTC_P2WPKH_WIT_VER_TN,
|
|
581
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
582
|
+
# },
|
|
583
|
+
# )
|
|
584
|
+
|
|
585
|
+
# # Configuration for Metis
|
|
586
|
+
# Metis: CoinConf = CoinConf(
|
|
587
|
+
# coin_name=CoinNames("Metis", "METIS"),
|
|
588
|
+
# params={},
|
|
589
|
+
# )
|
|
590
|
+
|
|
591
|
+
# # Configuration for Monero main net
|
|
592
|
+
# MoneroMainNet: CoinConf = CoinConf(
|
|
593
|
+
# coin_name=CoinNames("Monero", "XMR"),
|
|
594
|
+
# params={
|
|
595
|
+
# "addr_net_ver": b"\x12",
|
|
596
|
+
# "addr_int_net_ver": b"\x13",
|
|
597
|
+
# "subaddr_net_ver": b"\x2a",
|
|
598
|
+
# },
|
|
599
|
+
# )
|
|
600
|
+
|
|
601
|
+
# # Configuration for Monero stage net
|
|
602
|
+
# MoneroStageNet: CoinConf = CoinConf(
|
|
603
|
+
# coin_name=CoinNames("Monero StageNet", "XMR"),
|
|
604
|
+
# params={
|
|
605
|
+
# "addr_net_ver": b"\x18",
|
|
606
|
+
# "addr_int_net_ver": b"\x19",
|
|
607
|
+
# "subaddr_net_ver": b"\x24",
|
|
608
|
+
# },
|
|
609
|
+
# )
|
|
610
|
+
|
|
611
|
+
# # Configuration for Monero test net
|
|
612
|
+
# MoneroTestNet: CoinConf = CoinConf(
|
|
613
|
+
# coin_name=CoinNames("Monero TestNet", "XMR"),
|
|
614
|
+
# params={
|
|
615
|
+
# "addr_net_ver": b"\x35",
|
|
616
|
+
# "addr_int_net_ver": b"\x36",
|
|
617
|
+
# "subaddr_net_ver": b"\x3f",
|
|
618
|
+
# },
|
|
619
|
+
# )
|
|
620
|
+
|
|
621
|
+
# # Configuration for Moonbeam
|
|
622
|
+
# Moonbeam: CoinConf = CoinConf(
|
|
623
|
+
# coin_name=CoinNames("Moonbeam", "GLMR"),
|
|
624
|
+
# params={
|
|
625
|
+
# "addr_ss58_format": 1284,
|
|
626
|
+
# },
|
|
627
|
+
# )
|
|
628
|
+
|
|
629
|
+
# # Configuration for Moonriver
|
|
630
|
+
# Moonriver: CoinConf = CoinConf(
|
|
631
|
+
# coin_name=CoinNames("Moonriver", "MOVR"),
|
|
632
|
+
# params={
|
|
633
|
+
# "addr_ss58_format": 1285,
|
|
634
|
+
# },
|
|
635
|
+
# )
|
|
636
|
+
|
|
637
|
+
# # Configuration for Nano
|
|
638
|
+
# Nano: CoinConf = CoinConf(
|
|
639
|
+
# coin_name=CoinNames("Nano", "NANO"),
|
|
640
|
+
# params={
|
|
641
|
+
# "addr_prefix": "nano_",
|
|
642
|
+
# },
|
|
643
|
+
# )
|
|
644
|
+
|
|
645
|
+
# # Configuration for Near Protocol
|
|
646
|
+
# NearProtocol: CoinConf = CoinConf(
|
|
647
|
+
# coin_name=CoinNames("Near Protocol", "NEAR"),
|
|
648
|
+
# params={},
|
|
649
|
+
# )
|
|
650
|
+
|
|
651
|
+
# # For compatibility, later assigned to NeoLegacy
|
|
652
|
+
# Neo: CoinConf
|
|
653
|
+
|
|
654
|
+
# # Configuration for Neo legacy
|
|
655
|
+
# NeoLegacy: CoinConf = CoinConf(
|
|
656
|
+
# coin_name=CoinNames("NEO", "NEO"),
|
|
657
|
+
# params={
|
|
658
|
+
# "addr_ver": b"\x17",
|
|
659
|
+
# "addr_prefix": b"\x21",
|
|
660
|
+
# "addr_suffix": b"\xac",
|
|
661
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
662
|
+
# },
|
|
663
|
+
# )
|
|
664
|
+
|
|
665
|
+
# # Configuration for Neo N3
|
|
666
|
+
# NeoN3: CoinConf = CoinConf(
|
|
667
|
+
# coin_name=CoinNames("NEO", "NEO"),
|
|
668
|
+
# params={
|
|
669
|
+
# "addr_ver": b"\x35",
|
|
670
|
+
# "addr_prefix": b"\x0c\x21",
|
|
671
|
+
# "addr_suffix": b"\x41\x56\xe7\xb3\x27",
|
|
672
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
673
|
+
# },
|
|
674
|
+
# )
|
|
675
|
+
|
|
676
|
+
# # Configuration for Neutron
|
|
677
|
+
# Neutron: CoinConf = CoinConf(
|
|
678
|
+
# coin_name=CoinNames("Neutron", "NTRN"),
|
|
679
|
+
# params={
|
|
680
|
+
# "addr_hrp": Slip173.NEUTRON,
|
|
681
|
+
# },
|
|
682
|
+
# )
|
|
683
|
+
|
|
684
|
+
# # Configuration for Nimiq
|
|
685
|
+
# Nimiq: CoinConf = CoinConf(
|
|
686
|
+
# coin_name=CoinNames("Nimiq", "NIM"),
|
|
687
|
+
# params={
|
|
688
|
+
# "addr_prefix": "NQ"
|
|
689
|
+
# },
|
|
690
|
+
# )
|
|
691
|
+
|
|
692
|
+
# # Configuration for Nine Chronicles Gold
|
|
693
|
+
# NineChroniclesGold: CoinConf = CoinConf(
|
|
694
|
+
# coin_name=CoinNames("NineChroniclesGold", "NCG"),
|
|
695
|
+
# params={},
|
|
696
|
+
# )
|
|
697
|
+
|
|
698
|
+
# # Configuration for OKEx Chain
|
|
699
|
+
# OkexChain: CoinConf = CoinConf(
|
|
700
|
+
# coin_name=CoinNames("OKExChain", "OKT"),
|
|
701
|
+
# params={
|
|
702
|
+
# "addr_hrp": Slip173.OKEX_CHAIN,
|
|
703
|
+
# },
|
|
704
|
+
# )
|
|
705
|
+
|
|
706
|
+
# # Configuration for Ontology
|
|
707
|
+
# Ontology: CoinConf = CoinConf(
|
|
708
|
+
# coin_name=CoinNames("Ontology", "ONT"),
|
|
709
|
+
# params={
|
|
710
|
+
# "addr_ver": b"\x17",
|
|
711
|
+
# },
|
|
712
|
+
# )
|
|
713
|
+
|
|
714
|
+
# # Configuration for Optimism
|
|
715
|
+
# Optimism: CoinConf = CoinConf(
|
|
716
|
+
# coin_name=CoinNames("Optimism", "OP"),
|
|
717
|
+
# params={},
|
|
718
|
+
# )
|
|
719
|
+
|
|
720
|
+
# # Configuration for Osmosis
|
|
721
|
+
# Osmosis: CoinConf = CoinConf(
|
|
722
|
+
# coin_name=CoinNames("Osmosis", "OSMO"),
|
|
723
|
+
# params={
|
|
724
|
+
# "addr_hrp": Slip173.OSMOSIS,
|
|
725
|
+
# },
|
|
726
|
+
# )
|
|
727
|
+
|
|
728
|
+
# # Configuration for Phala
|
|
729
|
+
# Phala: CoinConf = CoinConf(
|
|
730
|
+
# coin_name=CoinNames("Phala Network", "PHA"),
|
|
731
|
+
# params={
|
|
732
|
+
# "addr_ss58_format": 30,
|
|
733
|
+
# },
|
|
734
|
+
# )
|
|
735
|
+
|
|
736
|
+
# # Configuration for Pi Network
|
|
737
|
+
# PiNetwork: CoinConf = CoinConf(
|
|
738
|
+
# coin_name=CoinNames("Pi Network", "PI"),
|
|
739
|
+
# params={},
|
|
740
|
+
# )
|
|
741
|
+
|
|
742
|
+
# # Configuration for Plasm
|
|
743
|
+
# Plasm: CoinConf = CoinConf(
|
|
744
|
+
# coin_name=CoinNames("Plasm Network", "PLM"),
|
|
745
|
+
# params={
|
|
746
|
+
# "addr_ss58_format": 5,
|
|
747
|
+
# },
|
|
748
|
+
# )
|
|
749
|
+
|
|
750
|
+
# # Configuration for Polkadot
|
|
751
|
+
# Polkadot: CoinConf = CoinConf(
|
|
752
|
+
# coin_name=CoinNames("Polkadot", "DOT"),
|
|
753
|
+
# params={
|
|
754
|
+
# "addr_ss58_format": 0,
|
|
755
|
+
# },
|
|
756
|
+
# )
|
|
757
|
+
|
|
758
|
+
# # Configuration for Polygon
|
|
759
|
+
# Polygon: CoinConf = CoinConf(
|
|
760
|
+
# coin_name=CoinNames("Polygon", "MATIC"),
|
|
761
|
+
# params={},
|
|
762
|
+
# )
|
|
763
|
+
|
|
764
|
+
# # Configuration for Ripple
|
|
765
|
+
# Ripple: CoinConf = CoinConf(
|
|
766
|
+
# coin_name=CoinNames("Ripple", "XRP"),
|
|
767
|
+
# params={
|
|
768
|
+
# "p2pkh_net_ver": _BTC_P2PKH_NET_VER_MN,
|
|
769
|
+
# },
|
|
770
|
+
# )
|
|
771
|
+
|
|
772
|
+
# # Configuration for Secret Network
|
|
773
|
+
# SecretNetwork: CoinConf = CoinConf(
|
|
774
|
+
# coin_name=CoinNames("Secret Network", "SCRT"),
|
|
775
|
+
# params={
|
|
776
|
+
# "addr_hrp": Slip173.SECRET_NETWORK,
|
|
777
|
+
# },
|
|
778
|
+
# )
|
|
779
|
+
|
|
780
|
+
# # Configuration for Solana
|
|
781
|
+
# Solana: CoinConf = CoinConf(
|
|
782
|
+
# coin_name=CoinNames("Solana", "SOL"),
|
|
783
|
+
# params={},
|
|
784
|
+
# )
|
|
785
|
+
|
|
786
|
+
# # Configuration for Sora
|
|
787
|
+
# Sora: CoinConf = CoinConf(
|
|
788
|
+
# coin_name=CoinNames("Sora", "XOR"),
|
|
789
|
+
# params={
|
|
790
|
+
# "addr_ss58_format": 69,
|
|
791
|
+
# },
|
|
792
|
+
# )
|
|
793
|
+
|
|
794
|
+
# # Configuration for Stafi
|
|
795
|
+
# Stafi: CoinConf = CoinConf(
|
|
796
|
+
# coin_name=CoinNames("Stafi", "FIS"),
|
|
797
|
+
# params={
|
|
798
|
+
# "addr_hrp": Slip173.STAFI,
|
|
799
|
+
# "addr_ss58_format": 20,
|
|
800
|
+
# },
|
|
801
|
+
# )
|
|
802
|
+
|
|
803
|
+
# # Configuration for Stellar
|
|
804
|
+
# Stellar: CoinConf = CoinConf(
|
|
805
|
+
# coin_name=CoinNames("Stellar", "XLM"),
|
|
806
|
+
# params={},
|
|
807
|
+
# )
|
|
808
|
+
|
|
809
|
+
# # Configuration for Sui
|
|
810
|
+
# Sui: CoinConf = CoinConf(
|
|
811
|
+
# coin_name=CoinNames("Sui", "SUI"),
|
|
812
|
+
# params={
|
|
813
|
+
# "addr_prefix": "0x",
|
|
814
|
+
# },
|
|
815
|
+
# )
|
|
816
|
+
|
|
817
|
+
# # Configuration for Terra
|
|
818
|
+
# Terra: CoinConf = CoinConf(
|
|
819
|
+
# coin_name=CoinNames("Terra", "LUNA"),
|
|
820
|
+
# params={
|
|
821
|
+
# "addr_hrp": Slip173.TERRA,
|
|
822
|
+
# },
|
|
823
|
+
# )
|
|
824
|
+
|
|
825
|
+
# # Configuration for Tezos
|
|
826
|
+
# Tezos: CoinConf = CoinConf(
|
|
827
|
+
# coin_name=CoinNames("Tezos", "XTZ"),
|
|
828
|
+
# params={},
|
|
829
|
+
# )
|
|
830
|
+
|
|
831
|
+
# # Configuration for Theta
|
|
832
|
+
# Theta: CoinConf = CoinConf(
|
|
833
|
+
# coin_name=CoinNames("Theta Network", "THETA"),
|
|
834
|
+
# params={},
|
|
835
|
+
# )
|
|
836
|
+
|
|
837
|
+
# # Configuration for Tron
|
|
838
|
+
# Tron: CoinConf = CoinConf(
|
|
839
|
+
# coin_name=CoinNames("Tron", "TRX"),
|
|
840
|
+
# params={
|
|
841
|
+
# "addr_prefix": b"\x41",
|
|
842
|
+
# },
|
|
843
|
+
# )
|
|
844
|
+
|
|
845
|
+
# # Configuration for VeChain
|
|
846
|
+
# VeChain: CoinConf = CoinConf(
|
|
847
|
+
# coin_name=CoinNames("VeChain", "VET"),
|
|
848
|
+
# params={},
|
|
849
|
+
# )
|
|
850
|
+
|
|
851
|
+
# # Configuration for Verge
|
|
852
|
+
# Verge: CoinConf = CoinConf(
|
|
853
|
+
# coin_name=CoinNames("Verge", "XVG"),
|
|
854
|
+
# params={
|
|
855
|
+
# "p2pkh_net_ver": b"\x1e",
|
|
856
|
+
# "wif_net_ver": b"\x9e",
|
|
857
|
+
# },
|
|
858
|
+
# )
|
|
859
|
+
|
|
860
|
+
# # Configuration for Zcash main net
|
|
861
|
+
# ZcashMainNet: CoinConf = CoinConf(
|
|
862
|
+
# coin_name=CoinNames("Zcash", "ZEC"),
|
|
863
|
+
# params={
|
|
864
|
+
# "p2pkh_net_ver": b"\x1c\xb8",
|
|
865
|
+
# "p2sh_net_ver": b"\x1c\xbd",
|
|
866
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_MN,
|
|
867
|
+
# },
|
|
868
|
+
# )
|
|
869
|
+
|
|
870
|
+
# # Configuration for Zcash test net
|
|
871
|
+
# ZcashTestNet: CoinConf = CoinConf(
|
|
872
|
+
# coin_name=CoinNames("Zcash TestNet", "ZEC"),
|
|
873
|
+
# params={
|
|
874
|
+
# "p2pkh_net_ver": b"\x1d\x25",
|
|
875
|
+
# "p2sh_net_ver": b"\x1c\xba",
|
|
876
|
+
# "wif_net_ver": _BTC_WIF_NET_VER_TN,
|
|
877
|
+
# },
|
|
878
|
+
# )
|
|
879
|
+
|
|
880
|
+
# # Configuration for Zilliqa
|
|
881
|
+
# Zilliqa: CoinConf = CoinConf(
|
|
882
|
+
# coin_name=CoinNames("Zilliqa", "ZIL"),
|
|
883
|
+
# params={
|
|
884
|
+
# "addr_hrp": Slip173.ZILLIQA,
|
|
885
|
+
# },
|
|
886
|
+
# )
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
# For compatibility
|
|
890
|
+
# CoinsConf.Neo = CoinsConf.NeoLegacy
|