AviaryInterop extension
Multi chain address derivation and EVM calldata helpers.
- on
Methods
-
btcAddress(
Uint8List secret32) → String -
Available on Aviary, provided by the AviaryInterop extension
The Bitcoin address of a 32 byte secp256k1 secret. -
ethAddress(
Uint8List secret32) → String -
Available on Aviary, provided by the AviaryInterop extension
The Ethereum address of a 32 byte secp256k1 secret. -
ethErc20TransferCalldata(
Uint8List to20, int amount) → Uint8List -
Available on Aviary, provided by the AviaryInterop extension
ABI calldata for an ERC-20 transfer to a 20 byte address. -
ethSelector(
String signature) → Uint8List -
Available on Aviary, provided by the AviaryInterop extension
The 4 byte ABI selector of a function signature. -
ethSignLegacy(
{required int nonce, required int gasPrice, required int gasLimit, required int chainId, required Uint8List secret32, Uint8List? to, int value = 0, Uint8List? data}) → Uint8List -
Available on Aviary, provided by the AviaryInterop extension
Signs an EVM legacy transaction with a 32 byte secp256k1 key.tonull creates a contract;datanull is a plain value transfer. -
solAddress(
Uint8List edSecret64) → String -
Available on Aviary, provided by the AviaryInterop extension
The Solana address of a 64 byte Ed25519 secret.