Overview
Aptos uses the Ed25519 elliptic curve — the same curve as Solana. You derive an Aptos address by hashing the Solana wallet’s public key with SHA3-256 and appending a scheme byte. Transactions use BCS (Binary Canonical Serialization).| Property | Value |
|---|---|
| Curve | Ed25519 |
| Root Wallet | Solana |
| Address Format | 0x + SHA3-256 hex (64 chars) |
| Hashing | SHA3-256 |
| Serialization | BCS |
| Smallest Unit | Octas (1 APT = 10^8 octas) |
Dependencies
Derive Address
Extract the Ed25519 public key from the Solana wallet address, append the single-key scheme byte (0x00), and hash with SHA3-256:
Sign a Message
Sign the raw UTF-8 bytes of the message using the Solana wallet:Sign a Transaction
Use the@aptos-labs/ts-sdk to build the transaction, generate the signing message, and submit with an Ed25519 authenticator: