WDK logoWDK documentation

Wallet Aptos Overview

Overview of the @tetherto/wdk-wallet-aptos module.

The Aptos wallet module manages SLIP-0010 Ed25519 accounts for the Aptos blockchain through the shared WDK wallet interfaces.

Use this module when an app needs Aptos account derivation, APT balances, fungible asset balances, native APT transfers, fungible asset transfers, fee quotes, message signing, and read-only account support.

Features

  • BIP-39 seed support: Accepts a mnemonic phrase or seed bytes.
  • SLIP-0010 Ed25519 derivation: Uses Aptos coin type 637 and hardened path segments.
  • Aptos addresses: Derives 32-byte Aptos addresses from the public key.
  • Native APT support: Sends native APT through 0x1::aptos_account::transfer.
  • Fungible asset support: Reads and transfers Aptos fungible assets by metadata address.
  • Fee estimation: Simulates transactions to estimate gas before signing and submitting.
  • Message signing: Signs and verifies messages with Ed25519 keys.
  • Read-only accounts: Address-only accounts read balances and receipts. Accounts created with the matching public key can also quote fees and verify signatures.
  • Bare runtime compatibility: Uses the Aptos fullnode REST API over fetch instead of the Aptos SDK at runtime.

Supported Networks

NetworkChain IDFullnode example
Aptos Mainnet1https://fullnode.mainnet.aptoslabs.com/v1
Aptos Testnet2https://fullnode.testnet.aptoslabs.com/v1

Aptos-Specific Behavior

AreaBehavior
Default derivation pathm/44'/637'/account'/0'/0'
getAccount(index) mappingUses index as the account segment.
Token modelUses Aptos fungible asset metadata addresses, not coin type tags.
APT unitsAPT balances and fees are returned in octas.
Token transferstransfer() builds and submits 0x1::primary_fungible_store::transfer.
Signing without broadcastsignTransaction() simulates and signs a native APT transfer without submitting it. It still requires a provider.
Fungible asset fee captransferMaxFee applies to transfer() only and rejects an estimated fee at or above the cap.

All Aptos derivation path segments are hardened because the module uses Ed25519 with SLIP-0010 derivation.

Native sendTransaction() and signTransaction() do not apply transferMaxFee. Quote native transfers and enforce an application-level limit before sending or signing when your product requires one.

Next Steps


Need Help?

On this page