BIP Utility Library
Introduction
This package allows generating mnemonics, seeds, private/public keys and addresses for different types of cryptocurrencies. In particular:
Mnemonic and seed generation as defined by BIP-0039
Private key encryption/decryption as defined by BIP-0038
Keys derivation as defined by:
Derivation of a hierarchy of keys as defined by:
Mnemonic and seed generation for Substrate (Polkadot/Kusama ecosystem)
Keys derivation for Substrate (Polkadot/Kusama ecosystem, same of Polkadot-JS)
Keys and addresses generation for Cardano (Byron-Legacy, Byron-Icarus and Shelley, same of Ledger and AdaLite/Yoroi wallets)
Mnemonic and seed generation for Monero
Keys and addresses/subaddresses generation for Monero (same of official Monero wallet)
Mnemonic and seed generation for Algorand (Algorand 25-word mnemonic)
Mnemonic and seed generation like Electrum wallet (v1 and v2)
Keys derivation like Electrum wallet (v1 and v2)
Generation of keys from a passphrase chosen by the user (“brainwallet”)
Other implemented functionalities:
Parse BIP-0032 derivation paths
Parse Substrate derivation paths
Extended key serialization as defined by SLIP-0032
Encode/Decode addresses for all the supported coins
Encode/Decode WIF
Encode/Decode base58 and base58 monero
Encode/Decode ss58)
Encode/Decode Bitcoin Cash bech32
Get token account addresses for SPL tokens (i.e. Solana tokens)
Package dependencies:
cbor2 for CBOR encoding/decoding
crcmod for CRC computation
pycryptodome for cryptographic functions
coincurve for secp256k1 curve
ecdsa for nist256p1 and secp256k1 curves
ed25519-blake2b for ed25519-blake2b curve
pynacl for ed25519 curve
py-sr25519-bindings for sr25519 curve
Please note that, for the py-sr25519-bindings library, Rust is required to be installed.
Supported coins
Supported BIP coins:
Akash Network
Algorand
Aptos
Arbitrum
Avalanche (all the 3 chains)
Axelar
Band Protocol
Binance Chain
Binance Smart Chain
Bitcoin (and related test net)
Bitcoin Cash (and related test net)
Bitcoin Cash Simple Ledger Protocol (and related test net)
BitcoinSV (and related test net)
Cardano (Byron-Legacy, Byron-Icarus and Shelley)
Celo
Certik
Cosmos
Dash (and related test net)
Dogecoin (and related test net)
eCash (and related test net)
Elrond (MultiversX)
EOS
Ergo (and related test net)
Ethereum
Ethereum Classic
Fantom Opera
Filecoin
Fetch.ai
Harmony One (Ethereum and Cosmos addresses)
Huobi Heco Chain
IRIS Network
Kava
Kusama (based on BIP44 and ed25519 SLIP-0010, like TrustWallet, it won’t generate the same addresses of Polkadot-JS)
Litecoin (and related test net)
Metis
Monero (based on BIP44 and secp256k1 or ed25519 SLIP-0010, it won’t generate the same addresses of the official wallets, but it supports subaddresses generation)
Nano
Near Protocol
NEO
Nimiq
OKEx Chain (Ethereum and Cosmos addresses)
Ontology
Optimism
Osmosis
Pi Network
Polkadot (based on BIP44 and ed25519 SLIP-0010, like TrustWallet, it won’t generate the same addresses of Polkadot-JS)
Polygon
Ripple
Secret Network
Solana
Stafi (Cosmos)
Stellar
Sui (only ed25519)
Terra
Tezos
Theta Network
Tron
VeChain
Verge
Zcash (and related test net)
Zilliqa
Supported Substrate coins:
Acala
Bifrost
Chainx
Edgeware
Karura
Kusama
Moonbeam
Moonriver
Phala Network
Plasm Network
Sora
Stafi
Polkadot
Generic Substrate coin
For what regards Monero, it’s also possible to generate the same addresses of the official wallets without using BIP44 derivation.
Clearly, for those coins that support Smart Contracts (e.g. Ethereum, Tron, …), the generated keys and addresses are valid for all the related tokens.
Install the package
For the secp256k1 curve, it’s possible to use either the coincurve or the ecdsa library. coincurve is much faster since it’s a Python wrapper to the secp256k1 C library, while ecdsa is a pure Python implementation.By default coincurve will be used, but it’s possible to disable it when installing.
To install the package:
Default installation (coincurve will be used for secp256k1)
Using pip, from this directory (local):
pip install .
Using pip, from PyPI:
pip install bip_utils
Alternative installation (ecdsa will be used for secp256k1)
Using setuptools:
python setup.py install --coincurve=0
Edit the file bip_utils/ecc/conf.py by setting
USE_COINCURVE
toFalse
, then install with pip:pip install .
NOTES:
if you are using an Apple M1, please make sure to update coincurve to version 17.0.0
in case of problems when building the ed25519_blake2b library, you can try one of the prebuilt wheels here
Test and Coverage
Install develop dependencies:
pip install -r requirements-dev.txt
To run tests:
python -m unittest discover
To run tests with coverage:
coverage run -m unittest discover
coverage report
To run code analysis, just execute the analyze_code
script.
Modules description
Documentation
The library documentation is available at bip-utils.readthedocs.io.
Code examples
For some complete code examples (from mnemonic to keys generation), refer to the examples folder.
Buy me a coffee
You know, I’m italian and I love drinking coffee (especially while coding 😃). So, if you’d like to buy me one:
BTC:
bc1qq4r9cglwzd6f2hzxvdkucmdejvr9h8me5hy0k8
ERC20/BEP20:
0xf84e4898E5E10bf1fBe9ffA3EEC845e82e364b5B
Thank you very much for your support.
License
This software is available under the MIT license.
Modules
- bip_utils
- addr
- P2PKH_addr
- P2SH_addr
- P2TR_addr
- P2WPKH_addr
- ada_byron_addr
- ada_shelley_addr
- addr_dec_utils
- addr_key_validator
- algo_addr
- aptos_addr
- atom_addr
- avax_addr
- bch_addr_converter
- egld_addr
- eos_addr
- ergo_addr
- eth_addr
- fil_addr
- iaddr_decoder
- iaddr_encoder
- icx_addr
- inj_addr
- nano_addr
- near_addr
- neo_addr
- okex_addr
- one_addr
- sol_addr
- substrate_addr
- sui_addr
- trx_addr
- xlm_addr
- xmr_addr
- xrp_addr
- xtz_addr
- zil_addr
- algorand
- base58
- bech32
- bip
- bip32
- base
- bip32_base
Bip32Base
Bip32Base.FromSeed()
Bip32Base.FromSeedAndPath()
Bip32Base.FromExtendedKey()
Bip32Base.FromPrivateKey()
Bip32Base.FromPublicKey()
Bip32Base.m_priv_key
Bip32Base.m_pub_key
Bip32Base.ChildKey()
Bip32Base.DerivePath()
Bip32Base.ConvertToPublic()
Bip32Base.IsPublicOnly()
Bip32Base.PrivateKey()
Bip32Base.PublicKey()
Bip32Base.KeyNetVersions()
Bip32Base.Depth()
Bip32Base.Index()
Bip32Base.ChainCode()
Bip32Base.FingerPrint()
Bip32Base.ParentFingerPrint()
Bip32Base.Curve()
Bip32Base.IsPublicDerivationSupported()
Bip32Base.CurveType()
- ibip32_key_derivator
- ibip32_mst_key_generator
- bip32_base
- bip32_const
- bip32_ex
- bip32_key_data
Bip32KeyDataConst
Bip32ChainCode
Bip32FingerPrint
Bip32Depth
Bip32KeyIndex
Bip32KeyIndex.HardenIndex()
Bip32KeyIndex.UnhardenIndex()
Bip32KeyIndex.IsHardenedIndex()
Bip32KeyIndex.FromBytes()
Bip32KeyIndex.m_idx
Bip32KeyIndex.FixedLength()
Bip32KeyIndex.Harden()
Bip32KeyIndex.Unharden()
Bip32KeyIndex.IsHardened()
Bip32KeyIndex.ToBytes()
Bip32KeyIndex.ToInt()
Bip32KeyIndex.__int__()
Bip32KeyIndex.__bytes__()
Bip32KeyIndex.__eq__()
Bip32KeyData
- bip32_key_net_ver
- bip32_key_ser
- bip32_keys
Bip32PublicKey
Bip32PublicKey.FromBytesOrKeyObject()
Bip32PublicKey.FromBytes()
Bip32PublicKey.FromPoint()
Bip32PublicKey.m_pub_key
Bip32PublicKey.KeyObject()
Bip32PublicKey.RawCompressed()
Bip32PublicKey.RawUncompressed()
Bip32PublicKey.Point()
Bip32PublicKey.FingerPrint()
Bip32PublicKey.KeyIdentifier()
Bip32PublicKey.ToExtended()
Bip32PrivateKey
- bip32_path
- bip32_utils
- kholaw
- slip10
- bip32_slip10_ed25519
- bip32_slip10_ed25519_blake2b
- bip32_slip10_key_derivator
- bip32_slip10_mst_key_generator
- bip32_slip10_nist256p1
- bip32_slip10_secp256k1
- base
- bip38
- bip38
- bip38_addr
- bip38_ec
Bip38EcConst
Bip38EcConst.LOT_NUM_MIN_VAL
Bip38EcConst.LOT_NUM_MAX_VAL
Bip38EcConst.SEQ_NUM_MIN_VAL
Bip38EcConst.SEQ_NUM_MAX_VAL
Bip38EcConst.OWNER_SALT_WITH_LOT_SEQ_BYTE_LEN
Bip38EcConst.OWNER_SALT_NO_LOT_SEQ_BYTE_LEN
Bip38EcConst.INT_PASS_ENC_BYTE_LEN
Bip38EcConst.INT_PASS_MAGIC_WITH_LOT_SEQ
Bip38EcConst.INT_PASS_MAGIC_NO_LOT_SEQ
Bip38EcConst.SEED_B_BYTE_LEN
Bip38EcConst.ENC_BYTE_LEN
Bip38EcConst.ENC_KEY_PREFIX
Bip38EcConst.FLAG_BIT_COMPRESSED
Bip38EcConst.FLAG_BIT_LOT_SEQ
Bip38EcConst.SCRYPT_PREFACTOR_KEY_LEN
Bip38EcConst.SCRYPT_PREFACTOR_N
Bip38EcConst.SCRYPT_PREFACTOR_P
Bip38EcConst.SCRYPT_PREFACTOR_R
Bip38EcConst.SCRYPT_HALVES_KEY_LEN
Bip38EcConst.SCRYPT_HALVES_N
Bip38EcConst.SCRYPT_HALVES_P
Bip38EcConst.SCRYPT_HALVES_R
Bip38EcKeysGenerator
Bip38EcDecrypter
- bip38_no_ec
- bip39
- bip39_entropy_generator
- bip39_mnemonic
- bip39_mnemonic_decoder
- bip39_mnemonic_encoder
- bip39_mnemonic_generator
- bip39_mnemonic_utils
- bip39_mnemonic_validator
- bip39_seed_generator
- ibip39_seed_generator
- bip44
- bip44_base
- bip44_base
Bip44Changes
Bip44Levels
Bip44Base
Bip44Base.m_bip32_obj
Bip44Base.m_coin_conf
Bip44Base.PublicKey()
Bip44Base.PrivateKey()
Bip44Base.Bip32Object()
Bip44Base.CoinConf()
Bip44Base.IsPublicOnly()
Bip44Base.Level()
Bip44Base.IsLevel()
Bip44Base.DeriveDefaultPath()
Bip44Base.FromSeed()
Bip44Base.FromExtendedKey()
Bip44Base.FromPrivateKey()
Bip44Base.FromPublicKey()
Bip44Base.Purpose()
Bip44Base.Coin()
Bip44Base.Account()
Bip44Base.Change()
Bip44Base.AddressIndex()
Bip44Base.SpecName()
- bip44_base_ex
- bip44_keys
- bip44_base
- bip49
- bip84
- bip86
- conf
- bip44
- bip44_coins
Bip44Coins
Bip44Coins.AKASH_NETWORK
Bip44Coins.ALGORAND
Bip44Coins.APTOS
Bip44Coins.ARBITRUM
Bip44Coins.AVAX_C_CHAIN
Bip44Coins.AVAX_P_CHAIN
Bip44Coins.AVAX_X_CHAIN
Bip44Coins.AXELAR
Bip44Coins.BAND_PROTOCOL
Bip44Coins.BINANCE_CHAIN
Bip44Coins.BINANCE_SMART_CHAIN
Bip44Coins.BITCOIN
Bip44Coins.BITCOIN_CASH
Bip44Coins.BITCOIN_CASH_SLP
Bip44Coins.BITCOIN_SV
Bip44Coins.CARDANO_BYRON_ICARUS
Bip44Coins.CARDANO_BYRON_LEDGER
Bip44Coins.CELO
Bip44Coins.CERTIK
Bip44Coins.CHIHUAHUA
Bip44Coins.COSMOS
Bip44Coins.DASH
Bip44Coins.DOGECOIN
Bip44Coins.ECASH
Bip44Coins.ELROND
Bip44Coins.EOS
Bip44Coins.ERGO
Bip44Coins.ETHEREUM
Bip44Coins.ETHEREUM_CLASSIC
Bip44Coins.FANTOM_OPERA
Bip44Coins.FETCH_AI
Bip44Coins.FETCH_AI_ETH
Bip44Coins.FILECOIN
Bip44Coins.HARMONY_ONE_ATOM
Bip44Coins.HARMONY_ONE_ETH
Bip44Coins.HARMONY_ONE_METAMASK
Bip44Coins.HUOBI_CHAIN
Bip44Coins.ICON
Bip44Coins.INJECTIVE
Bip44Coins.IRIS_NET
Bip44Coins.KAVA
Bip44Coins.KUSAMA_ED25519_SLIP
Bip44Coins.LITECOIN
Bip44Coins.METIS
Bip44Coins.MONERO_ED25519_SLIP
Bip44Coins.MONERO_SECP256K1
Bip44Coins.MULTIVERSX
Bip44Coins.NANO
Bip44Coins.NEAR_PROTOCOL
Bip44Coins.NEO
Bip44Coins.NIMIQ
Bip44Coins.NINE_CHRONICLES_GOLD
Bip44Coins.OKEX_CHAIN_ATOM
Bip44Coins.OKEX_CHAIN_ATOM_OLD
Bip44Coins.OKEX_CHAIN_ETH
Bip44Coins.ONTOLOGY
Bip44Coins.OPTIMISM
Bip44Coins.OSMOSIS
Bip44Coins.PI_NETWORK
Bip44Coins.POLKADOT_ED25519_SLIP
Bip44Coins.POLYGON
Bip44Coins.RIPPLE
Bip44Coins.SECRET_NETWORK_OLD
Bip44Coins.SECRET_NETWORK_NEW
Bip44Coins.SOLANA
Bip44Coins.STAFI
Bip44Coins.STELLAR
Bip44Coins.SUI
Bip44Coins.TERRA
Bip44Coins.TEZOS
Bip44Coins.THETA
Bip44Coins.TRON
Bip44Coins.VECHAIN
Bip44Coins.VERGE
Bip44Coins.ZCASH
Bip44Coins.ZILLIQA
Bip44Coins.BITCOIN_CASH_TESTNET
Bip44Coins.BITCOIN_CASH_SLP_TESTNET
Bip44Coins.BITCOIN_SV_TESTNET
Bip44Coins.BITCOIN_REGTEST
Bip44Coins.BITCOIN_TESTNET
Bip44Coins.DASH_TESTNET
Bip44Coins.DOGECOIN_TESTNET
Bip44Coins.ECASH_TESTNET
Bip44Coins.ERGO_TESTNET
Bip44Coins.LITECOIN_TESTNET
Bip44Coins.ZCASH_TESTNET
- bip44_conf
Bip44Conf
Bip44Conf.AkashNetwork
Bip44Conf.Algorand
Bip44Conf.Aptos
Bip44Conf.Arbitrum
Bip44Conf.AvaxCChain
Bip44Conf.AvaxPChain
Bip44Conf.AvaxXChain
Bip44Conf.Axelar
Bip44Conf.BandProtocol
Bip44Conf.BinanceChain
Bip44Conf.BinanceSmartChain
Bip44Conf.BitcoinMainNet
Bip44Conf.BitcoinRegTest
Bip44Conf.BitcoinTestNet
Bip44Conf.BitcoinCashMainNet
Bip44Conf.BitcoinCashTestNet
Bip44Conf.BitcoinCashSlpMainNet
Bip44Conf.BitcoinCashSlpTestNet
Bip44Conf.BitcoinSvMainNet
Bip44Conf.BitcoinSvTestNet
Bip44Conf.CardanoByronIcarus
Bip44Conf.CardanoByronLedger
Bip44Conf.Celo
Bip44Conf.Certik
Bip44Conf.Chihuahua
Bip44Conf.Cosmos
Bip44Conf.DashMainNet
Bip44Conf.DashTestNet
Bip44Conf.DogecoinMainNet
Bip44Conf.DogecoinTestNet
Bip44Conf.EcashMainNet
Bip44Conf.EcashTestNet
Bip44Conf.Elrond
Bip44Conf.Eos
Bip44Conf.ErgoMainNet
Bip44Conf.ErgoTestNet
Bip44Conf.Ethereum
Bip44Conf.EthereumClassic
Bip44Conf.FantomOpera
Bip44Conf.FetchAi
Bip44Conf.FetchAiEth
Bip44Conf.Filecoin
Bip44Conf.HarmonyOneMetamask
Bip44Conf.HarmonyOneEth
Bip44Conf.HarmonyOneAtom
Bip44Conf.HuobiChain
Bip44Conf.Icon
Bip44Conf.Injective
Bip44Conf.IrisNet
Bip44Conf.Kava
Bip44Conf.KusamaEd25519Slip
Bip44Conf.LitecoinMainNet
Bip44Conf.LitecoinTestNet
Bip44Conf.Metis
Bip44Conf.MoneroEd25519Slip
Bip44Conf.MoneroSecp256k1
Bip44Conf.Nano
Bip44Conf.NearProtocol
Bip44Conf.Neo
Bip44Conf.Nimiq
Bip44Conf.NineChroniclesGold
Bip44Conf.OkexChainEth
Bip44Conf.OkexChainAtom
Bip44Conf.OkexChainAtomOld
Bip44Conf.Ontology
Bip44Conf.Optimism
Bip44Conf.Osmosis
Bip44Conf.PiNetwork
Bip44Conf.PolkadotEd25519Slip
Bip44Conf.Polygon
Bip44Conf.Ripple
Bip44Conf.SecretNetworkOld
Bip44Conf.SecretNetworkNew
Bip44Conf.Solana
Bip44Conf.Stafi
Bip44Conf.Stellar
Bip44Conf.Sui
Bip44Conf.Terra
Bip44Conf.Tezos
Bip44Conf.Theta
Bip44Conf.Tron
Bip44Conf.VeChain
Bip44Conf.Verge
Bip44Conf.ZcashMainNet
Bip44Conf.ZcashTestNet
Bip44Conf.Zilliqa
- bip44_conf_getter
- bip44_coins
- bip49
- bip49_coins
Bip49Coins
Bip49Coins.BITCOIN
Bip49Coins.BITCOIN_CASH
Bip49Coins.BITCOIN_CASH_SLP
Bip49Coins.BITCOIN_SV
Bip49Coins.DASH
Bip49Coins.DOGECOIN
Bip49Coins.ECASH
Bip49Coins.LITECOIN
Bip49Coins.ZCASH
Bip49Coins.BITCOIN_CASH_TESTNET
Bip49Coins.BITCOIN_CASH_SLP_TESTNET
Bip49Coins.BITCOIN_SV_TESTNET
Bip49Coins.BITCOIN_REGTEST
Bip49Coins.BITCOIN_TESTNET
Bip49Coins.DASH_TESTNET
Bip49Coins.DOGECOIN_TESTNET
Bip49Coins.ECASH_TESTNET
Bip49Coins.LITECOIN_TESTNET
Bip49Coins.ZCASH_TESTNET
- bip49_conf
Bip49Conf
Bip49Conf.BitcoinMainNet
Bip49Conf.BitcoinRegTest
Bip49Conf.BitcoinTestNet
Bip49Conf.BitcoinCashMainNet
Bip49Conf.BitcoinCashTestNet
Bip49Conf.BitcoinCashSlpMainNet
Bip49Conf.BitcoinCashSlpTestNet
Bip49Conf.BitcoinSvMainNet
Bip49Conf.BitcoinSvTestNet
Bip49Conf.DashMainNet
Bip49Conf.DashTestNet
Bip49Conf.DogecoinMainNet
Bip49Conf.DogecoinTestNet
Bip49Conf.EcashMainNet
Bip49Conf.EcashTestNet
Bip49Conf.LitecoinMainNet
Bip49Conf.LitecoinTestNet
Bip49Conf.ZcashMainNet
Bip49Conf.ZcashTestNet
- bip49_conf_getter
- bip49_coins
- bip84
- bip86
- common
- bip_bitcoin_cash_conf
- bip_coin_conf
BipCoinFctCallsConf
BipCoinConf
BipCoinConf.m_coin_names
BipCoinConf.m_coin_idx
BipCoinConf.m_is_testnet
BipCoinConf.m_def_path
BipCoinConf.m_key_net_ver
BipCoinConf.m_wif_net_ver
BipCoinConf.m_bip32_cls
BipCoinConf.m_addr_params
BipCoinConf.m_any_addr_params_fct_call
BipCoinConf.m_addr_cls
BipCoinConf.CoinNames()
BipCoinConf.CoinIndex()
BipCoinConf.IsTestNet()
BipCoinConf.DefaultPath()
BipCoinConf.KeyNetVersions()
BipCoinConf.WifNetVersion()
BipCoinConf.Bip32Class()
BipCoinConf.AddrParams()
BipCoinConf.AddrParamsWithResolvedCalls()
BipCoinConf.AddrClass()
- bip_coins
- bip_conf_const
- bip_litecoin_conf
- bip44
- bip32
- brainwallet
- cardano
- bip32
- byron
- cardano_byron_legacy
CardanoByronLegacyConst
CardanoByronLegacy
CardanoByronLegacy.FromSeed()
CardanoByronLegacy.m_bip32_obj
CardanoByronLegacy.Bip32Object()
CardanoByronLegacy.HdPathKey()
CardanoByronLegacy.HdPathFromAddress()
CardanoByronLegacy.MasterPrivateKey()
CardanoByronLegacy.MasterPublicKey()
CardanoByronLegacy.GetPrivateKey()
CardanoByronLegacy.GetPublicKey()
CardanoByronLegacy.GetAddress()
- cardano_byron_legacy
- cip1852
- mnemonic
- shelley
- cardano_shelley
- cardano_shelley_keys
CardanoShelleyPublicKeys
CardanoShelleyPublicKeys.m_pub_addr_key
CardanoShelleyPublicKeys.m_pub_sk_key
CardanoShelleyPublicKeys.m_coin_conf
CardanoShelleyPublicKeys.AddressKey()
CardanoShelleyPublicKeys.RewardKey()
CardanoShelleyPublicKeys.StakingKey()
CardanoShelleyPublicKeys.ToRewardAddress()
CardanoShelleyPublicKeys.ToStakingAddress()
CardanoShelleyPublicKeys.ToAddress()
CardanoShelleyPrivateKeys
- coin_conf
- coin_conf
- coins_conf
CoinsConf
CoinsConf.Acala
CoinsConf.AkashNetwork
CoinsConf.Algorand
CoinsConf.Aptos
CoinsConf.Arbitrum
CoinsConf.AvaxCChain
CoinsConf.AvaxPChain
CoinsConf.AvaxXChain
CoinsConf.Axelar
CoinsConf.BandProtocol
CoinsConf.Bifrost
CoinsConf.BinanceChain
CoinsConf.BinanceSmartChain
CoinsConf.BitcoinMainNet
CoinsConf.BitcoinTestNet
CoinsConf.BitcoinRegTest
CoinsConf.BitcoinCashMainNet
CoinsConf.BitcoinCashTestNet
CoinsConf.BitcoinCashSlpMainNet
CoinsConf.BitcoinCashSlpTestNet
CoinsConf.BitcoinSvMainNet
CoinsConf.BitcoinSvTestNet
CoinsConf.CardanoMainNet
CoinsConf.CardanoTestNet
CoinsConf.Celo
CoinsConf.Certik
CoinsConf.ChainX
CoinsConf.Chihuahua
CoinsConf.Cosmos
CoinsConf.DashMainNet
CoinsConf.DashTestNet
CoinsConf.DogecoinMainNet
CoinsConf.DogecoinTestNet
CoinsConf.EcashMainNet
CoinsConf.EcashTestNet
CoinsConf.Edgeware
CoinsConf.Elrond
CoinsConf.Eos
CoinsConf.ErgoMainNet
CoinsConf.ErgoTestNet
CoinsConf.Ethereum
CoinsConf.EthereumClassic
CoinsConf.FantomOpera
CoinsConf.FetchAi
CoinsConf.Filecoin
CoinsConf.GenericSubstrate
CoinsConf.HarmonyOne
CoinsConf.HuobiChain
CoinsConf.Icon
CoinsConf.Injective
CoinsConf.IrisNet
CoinsConf.Karura
CoinsConf.Kava
CoinsConf.Kusama
CoinsConf.LitecoinMainNet
CoinsConf.LitecoinTestNet
CoinsConf.Metis
CoinsConf.MoneroMainNet
CoinsConf.MoneroStageNet
CoinsConf.MoneroTestNet
CoinsConf.Moonbeam
CoinsConf.Moonriver
CoinsConf.Nano
CoinsConf.NearProtocol
CoinsConf.Neo
CoinsConf.Nimiq
CoinsConf.NineChroniclesGold
CoinsConf.OkexChain
CoinsConf.Ontology
CoinsConf.Optimism
CoinsConf.Osmosis
CoinsConf.Phala
CoinsConf.PiNetwork
CoinsConf.Plasm
CoinsConf.Polkadot
CoinsConf.Polygon
CoinsConf.Ripple
CoinsConf.SecretNetwork
CoinsConf.Solana
CoinsConf.Sora
CoinsConf.Stafi
CoinsConf.Stellar
CoinsConf.Sui
CoinsConf.Terra
CoinsConf.Tezos
CoinsConf.Theta
CoinsConf.Tron
CoinsConf.VeChain
CoinsConf.Verge
CoinsConf.ZcashMainNet
CoinsConf.ZcashTestNet
CoinsConf.Zilliqa
- ecc
- common
- dummy_point
DummyPointConst
DummyPoint
DummyPoint.FromBytes()
DummyPoint.FromCoordinates()
DummyPoint.m_x
DummyPoint.m_y
DummyPoint.CoordinateLength()
DummyPoint.UnderlyingObject()
DummyPoint.X()
DummyPoint.Y()
DummyPoint.Raw()
DummyPoint.RawEncoded()
DummyPoint.RawDecoded()
DummyPoint.__add__()
DummyPoint.__radd__()
DummyPoint.__mul__()
DummyPoint.__rmul__()
- ikeys
- ipoint
- dummy_point
- conf
- curve
- elliptic_curve
EllipticCurve
EllipticCurve.m_name
EllipticCurve.m_order
EllipticCurve.m_generator
EllipticCurve.m_point_cls
EllipticCurve.m_pub_key_cls
EllipticCurve.m_priv_key_cls
EllipticCurve.Name()
EllipticCurve.Order()
EllipticCurve.Generator()
EllipticCurve.PointClass()
EllipticCurve.PublicKeyClass()
EllipticCurve.PrivateKeyClass()
- elliptic_curve_getter
- elliptic_curve_types
- elliptic_curve
- ecdsa
- ed25519
- ed25519
- ed25519_const
- ed25519_keys
Ed25519KeysConst
Ed25519PublicKey
Ed25519PublicKey.FromBytes()
Ed25519PublicKey.FromPoint()
Ed25519PublicKey.m_ver_key
Ed25519PublicKey.CurveType()
Ed25519PublicKey.CompressedLength()
Ed25519PublicKey.UncompressedLength()
Ed25519PublicKey.UnderlyingObject()
Ed25519PublicKey.RawCompressed()
Ed25519PublicKey.RawUncompressed()
Ed25519PublicKey.Point()
Ed25519PrivateKey
- ed25519_point
Ed25519PointConst
Ed25519Point
Ed25519Point.FromBytes()
Ed25519Point.FromCoordinates()
Ed25519Point.m_enc_bytes
Ed25519Point.m_is_generator
Ed25519Point.m_x
Ed25519Point.m_y
Ed25519Point.CurveType()
Ed25519Point.CoordinateLength()
Ed25519Point.UnderlyingObject()
Ed25519Point.X()
Ed25519Point.Y()
Ed25519Point.Raw()
Ed25519Point.RawEncoded()
Ed25519Point.RawDecoded()
Ed25519Point.__add__()
Ed25519Point.__radd__()
Ed25519Point.__mul__()
Ed25519Point.__rmul__()
- ed25519_utils
- lib
- ed25519_lib
int_decode()
int_encode()
point_is_decoded_bytes()
point_is_encoded_bytes()
point_is_valid_bytes()
point_bytes_to_coord()
point_coord_to_bytes()
point_decode_no_check()
point_decode()
point_encode()
point_is_generator()
point_is_on_curve()
point_add()
point_scalar_mul()
point_scalar_mul_base()
scalar_reduce()
scalar_is_valid()
- ed25519_lib
- ed25519_blake2b
- ed25519_blake2b
- ed25519_blake2b_const
- ed25519_blake2b_keys
Ed25519Blake2bPublicKey
Ed25519Blake2bPublicKey.FromBytes()
Ed25519Blake2bPublicKey.FromPoint()
Ed25519Blake2bPublicKey.m_ver_key
Ed25519Blake2bPublicKey.CurveType()
Ed25519Blake2bPublicKey.CompressedLength()
Ed25519Blake2bPublicKey.UncompressedLength()
Ed25519Blake2bPublicKey.UnderlyingObject()
Ed25519Blake2bPublicKey.RawCompressed()
Ed25519Blake2bPublicKey.RawUncompressed()
Ed25519Blake2bPublicKey.Point()
Ed25519Blake2bPrivateKey
- ed25519_blake2b_point
- ed25519_kholaw
- ed25519_monero
- nist256p1
- nist256p1
- nist256p1_const
- nist256p1_keys
Nist256p1PublicKey
Nist256p1PublicKey.FromBytes()
Nist256p1PublicKey.FromPoint()
Nist256p1PublicKey.m_ver_key
Nist256p1PublicKey.CurveType()
Nist256p1PublicKey.CompressedLength()
Nist256p1PublicKey.UncompressedLength()
Nist256p1PublicKey.UnderlyingObject()
Nist256p1PublicKey.RawCompressed()
Nist256p1PublicKey.RawUncompressed()
Nist256p1PublicKey.Point()
Nist256p1PrivateKey
- nist256p1_point
Nist256p1Point
Nist256p1Point.FromBytes()
Nist256p1Point.FromCoordinates()
Nist256p1Point.m_point
Nist256p1Point.CurveType()
Nist256p1Point.CoordinateLength()
Nist256p1Point.UnderlyingObject()
Nist256p1Point.X()
Nist256p1Point.Y()
Nist256p1Point.Raw()
Nist256p1Point.RawEncoded()
Nist256p1Point.RawDecoded()
Nist256p1Point.__add__()
Nist256p1Point.__radd__()
Nist256p1Point.__mul__()
Nist256p1Point.__rmul__()
- secp256k1
- secp256k1
- secp256k1_const
- secp256k1_keys_coincurve
Secp256k1PublicKeyCoincurve
Secp256k1PublicKeyCoincurve.FromBytes()
Secp256k1PublicKeyCoincurve.FromPoint()
Secp256k1PublicKeyCoincurve.m_ver_key
Secp256k1PublicKeyCoincurve.CurveType()
Secp256k1PublicKeyCoincurve.CompressedLength()
Secp256k1PublicKeyCoincurve.UncompressedLength()
Secp256k1PublicKeyCoincurve.UnderlyingObject()
Secp256k1PublicKeyCoincurve.RawCompressed()
Secp256k1PublicKeyCoincurve.RawUncompressed()
Secp256k1PublicKeyCoincurve.Point()
Secp256k1PrivateKeyCoincurve
- secp256k1_keys_ecdsa
Secp256k1PublicKeyEcdsa
Secp256k1PublicKeyEcdsa.FromBytes()
Secp256k1PublicKeyEcdsa.FromPoint()
Secp256k1PublicKeyEcdsa.m_ver_key
Secp256k1PublicKeyEcdsa.CurveType()
Secp256k1PublicKeyEcdsa.CompressedLength()
Secp256k1PublicKeyEcdsa.UncompressedLength()
Secp256k1PublicKeyEcdsa.UnderlyingObject()
Secp256k1PublicKeyEcdsa.RawCompressed()
Secp256k1PublicKeyEcdsa.RawUncompressed()
Secp256k1PublicKeyEcdsa.Point()
Secp256k1PrivateKeyEcdsa
- secp256k1_point_coincurve
Secp256k1PointCoincurve
Secp256k1PointCoincurve.FromBytes()
Secp256k1PointCoincurve.FromCoordinates()
Secp256k1PointCoincurve.m_pub_key
Secp256k1PointCoincurve.CurveType()
Secp256k1PointCoincurve.CoordinateLength()
Secp256k1PointCoincurve.UnderlyingObject()
Secp256k1PointCoincurve.X()
Secp256k1PointCoincurve.Y()
Secp256k1PointCoincurve.Raw()
Secp256k1PointCoincurve.RawEncoded()
Secp256k1PointCoincurve.RawDecoded()
Secp256k1PointCoincurve.__add__()
Secp256k1PointCoincurve.__radd__()
Secp256k1PointCoincurve.__mul__()
Secp256k1PointCoincurve.__rmul__()
- secp256k1_point_ecdsa
Secp256k1PointEcdsa
Secp256k1PointEcdsa.FromBytes()
Secp256k1PointEcdsa.FromCoordinates()
Secp256k1PointEcdsa.m_point
Secp256k1PointEcdsa.CurveType()
Secp256k1PointEcdsa.CoordinateLength()
Secp256k1PointEcdsa.UnderlyingObject()
Secp256k1PointEcdsa.X()
Secp256k1PointEcdsa.Y()
Secp256k1PointEcdsa.Raw()
Secp256k1PointEcdsa.RawEncoded()
Secp256k1PointEcdsa.RawDecoded()
Secp256k1PointEcdsa.__add__()
Secp256k1PointEcdsa.__radd__()
Secp256k1PointEcdsa.__mul__()
Secp256k1PointEcdsa.__rmul__()
- sr25519
- sr25519
- sr25519_const
- sr25519_keys
Sr25519KeysConst
Sr25519PublicKey
Sr25519PublicKey.FromBytes()
Sr25519PublicKey.FromPoint()
Sr25519PublicKey.m_ver_key
Sr25519PublicKey.CurveType()
Sr25519PublicKey.CompressedLength()
Sr25519PublicKey.UncompressedLength()
Sr25519PublicKey.UnderlyingObject()
Sr25519PublicKey.RawCompressed()
Sr25519PublicKey.RawUncompressed()
Sr25519PublicKey.Point()
Sr25519PrivateKey
- sr25519_point
- common
- electrum
- electrum_v1
- electrum_v2
- mnemonic_v1
- electrum_v1_entropy_generator
- electrum_v1_mnemonic
- electrum_v1_mnemonic_decoder
- electrum_v1_mnemonic_encoder
- electrum_v1_mnemonic_generator
- electrum_v1_mnemonic_utils
- electrum_v1_mnemonic_validator
- electrum_v1_seed_generator
- mnemonic_v2
- electrum_v2_entropy_generator
- electrum_v2_mnemonic
- electrum_v2_mnemonic_decoder
- electrum_v2_mnemonic_encoder
- electrum_v2_mnemonic_generator
- electrum_v2_mnemonic_utils
- electrum_v2_mnemonic_validator
- electrum_v2_seed_generator
- monero
- conf
- monero_coin_conf
MoneroCoinConf
MoneroCoinConf.m_addr_params
MoneroCoinConf.FromCoinConf()
MoneroCoinConf.m_coin_names
MoneroCoinConf.m_addr_net_ver
MoneroCoinConf.m_int_addr_net_ver
MoneroCoinConf.m_subaddr_net_ver
MoneroCoinConf.CoinNames()
MoneroCoinConf.AddrNetVersion()
MoneroCoinConf.IntegratedAddrNetVersion()
MoneroCoinConf.SubaddrNetVersion()
- monero_coins
- monero_conf
- monero_conf_getter
- monero_coin_conf
- mnemonic
- monero_entropy_generator
- monero_mnemonic
- monero_mnemonic_decoder
- monero_mnemonic_encoder
- monero_mnemonic_generator
- monero_mnemonic_utils
- monero_mnemonic_validator
- monero_seed_generator
- monero
Monero
Monero.FromSeed()
Monero.FromBip44PrivateKey()
Monero.FromPrivateSpendKey()
Monero.FromWatchOnly()
Monero.m_priv_skey
Monero.m_priv_vkey
Monero.m_pub_skey
Monero.m_pub_vkey
Monero.m_coin_conf
Monero.m_subaddr
Monero.IsWatchOnly()
Monero.CoinConf()
Monero.PrivateSpendKey()
Monero.PrivateViewKey()
Monero.PublicSpendKey()
Monero.PublicViewKey()
Monero.IntegratedAddress()
Monero.PrimaryAddress()
Monero.Subaddress()
- monero_ex
- monero_keys
- monero_subaddr
- conf
- slip
- slip173
- slip173
Slip173
Slip173.AKASH_NETWORK
Slip173.AXELAR
Slip173.BAND_PROTOCOL
Slip173.BINANCE_CHAIN
Slip173.BITCOIN_MAINNET
Slip173.BITCOIN_REGTEST
Slip173.BITCOIN_TESTNET
Slip173.CERTIK
Slip173.CHIHUAHUA
Slip173.COSMOS
Slip173.ELROND
Slip173.FETCH_AI
Slip173.HARMONY_ONE
Slip173.INJECTIVE
Slip173.IRIS_NETWORK
Slip173.KAVA
Slip173.LITECOIN_MAINNET
Slip173.LITECOIN_TESTNET
Slip173.OKEX_CHAIN
Slip173.OSMOSIS
Slip173.SECRET_NETWORK
Slip173.STAFI
Slip173.TERRA
Slip173.ZILLIQA
- slip173
- slip32
- slip44
- slip44
Slip44
Slip44.BITCOIN
Slip44.TESTNET
Slip44.LITECOIN
Slip44.DOGECOIN
Slip44.DASH
Slip44.ETHEREUM
Slip44.ETHEREUM_CLASSIC
Slip44.ICON
Slip44.VERGE
Slip44.ATOM
Slip44.MONERO
Slip44.ZCASH
Slip44.RIPPLE
Slip44.BITCOIN_CASH
Slip44.STELLAR
Slip44.NANO
Slip44.EOS
Slip44.TRON
Slip44.BITCOIN_SV
Slip44.NIMIQ
Slip44.ALGORAND
Slip44.ZILLIQA
Slip44.TERRA
Slip44.POLKADOT
Slip44.NEAR_PROTOCOL
Slip44.ERGO
Slip44.KUSAMA
Slip44.KAVA
Slip44.FILECOIN
Slip44.BAND_PROTOCOL
Slip44.THETA
Slip44.SOLANA
Slip44.ELROND
Slip44.SECRET_NETWORK
Slip44.NINE_CHRONICLES
Slip44.APTOS
Slip44.BINANCE_CHAIN
Slip44.SUI
Slip44.VECHAIN
Slip44.NEO
Slip44.OKEX_CHAIN
Slip44.HARMONY_ONE
Slip44.ONTOLOGY
Slip44.TEZOS
Slip44.CARDANO
Slip44.AVALANCHE
Slip44.CELO
Slip44.PI_NETWORK
- slip44
- slip173
- solana
- ss58
- substrate
- conf
- substrate_coin_conf
- substrate_coins
SubstrateCoins
SubstrateCoins.ACALA
SubstrateCoins.BIFROST
SubstrateCoins.CHAINX
SubstrateCoins.EDGEWARE
SubstrateCoins.GENERIC
SubstrateCoins.KARURA
SubstrateCoins.KUSAMA
SubstrateCoins.MOONBEAM
SubstrateCoins.MOONRIVER
SubstrateCoins.PHALA
SubstrateCoins.PLASM
SubstrateCoins.POLKADOT
SubstrateCoins.SORA
SubstrateCoins.STAFI
- substrate_conf
- substrate_conf_getter
- mnemonic
- scale
- substrate_scale_enc_base
- substrate_scale_enc_bytes
- substrate_scale_enc_cuint
- substrate_scale_enc_uint
- substrate
SubstrateConst
Substrate
Substrate.FromSeed()
Substrate.FromSeedAndPath()
Substrate.FromPrivateKey()
Substrate.FromPublicKey()
Substrate.m_priv_key
Substrate.m_pub_key
Substrate.m_path
Substrate.m_coin_conf
Substrate.ChildKey()
Substrate.DerivePath()
Substrate.ConvertToPublic()
Substrate.IsPublicOnly()
Substrate.CoinConf()
Substrate.Path()
Substrate.PrivateKey()
Substrate.PublicKey()
- substrate_ex
- substrate_keys
- substrate_path
- conf
- utils
- conf
- crypto
- misc
- mnemonic
- typing
- wif
- addr