A: We don't support it officially, the community has a fork for Dart / Flutter, you can find it here
A: Take a look at
Adding Library Dependencysection in Android Integration Guide, we have detailed instructions for installing the package.
A: No, Here are some reasons:
- WIF (Wallet Import Format) is just a private key encoded in Base58-check format, you can decode it using
- It's cumbersome to support different prefix byte for all networks (mainly Bitcoin and forks)
- Hex string encoding is a more widely used format.
A: Yes, There is a generic
AnyAddressclass to represent an address for any blockchain you can use
AnyAddress.isValid()to validate if an address is valid.
HDWalletclass is short for
Hierarchical Deterministic Wallet, which is a way to deterministically generate a tree of keys from a single seed (aka bip39 recovery phrase). If you only have a private key, you can use
PrivateKeyclass directly, no way to create
A: Wallet Core doesn't provide this feature yet, it also differs from chain to chain, you should check out the blockchain's official RPC or API to see how to query the balance.
For instance, you can use
eth_callto query the balance (and token balance) of an Ethereum or EVM compatible address.
A: Wallet Core doesn't provide this feature yet, it also differs from chain to chain, you should check out the blockchain's official RPC or API to see how to send a signed transaction.
For instance, you can use
eth_sendRawTransactionto send a signed raw transaction to Ethereum or EVM compatible chain.
A: Usually this error means the node can't find the unspent transaction (UTXO) you are trying to spend, you can check if the transaction hash is correct, Bitcoin implementation in Wallet Core expects the transaction id is network byte order (big endian), you can try to reverse the bytes of the transaction hash.
A: Wallet Core doesn't support any testnet in general:
- no testnet network entry in
- no method to generate testnet address for Bitcoin etc.
- extra maintenance effort and we always require mainnet transaction signing test.
But for some networks like Ethereum, the testnet just has a different chain id, you can specify chain id when you signing a transaction.
AnyAddressgenerates SegWit address by default for Bitcoin, Wallet Core offers another class
BitcoinAddressfor legacy address, you can see all the methods here.
A: Polkadot supports multiple elliptic curve and signature schemes:
- The vanilla
ed25519implementation using Schnorr signatures.
- The Schnorrkel/Ristretto
sr25519variant using Schnorr signatures.
- ECDSA signatures on
It's might be incompatible with other wallets because Wallet Core currently only supports