aptosSingleKeySecp256k1 property
Configuration for Aptos (Secp256k1) SingleKey Address
Implementation
final BipCoinConfig aptosSingleKeySecp256k1 = BipCoinConfig(
coinNames: CoinsConf.aptos.coinName,
coinIdx: Slip44.aptos,
chainType: ChainType.mainnet,
defPath: derPathNonHardenedFull,
keyNetVer: bip44BtcKeyNetVerMain,
wifNetVer: null,
type: EllipticCurveTypes.secp256k1,
addressEncoder:
(params, config) =>
AptosSingleKeySecp256k1AddrEncoder().encodeKey(params.pubKey),
);