A comprehensive guide and toolset for managing, parsing, and deriving Aptos account addresses in compliance with AIP-40 using the TypeScript SDK.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ts-sdk-address
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ts-sdk-address using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This Openclaw Skills module provides developers with the technical logic and best practices for handling account addresses within the Aptos ecosystem. It focuses on the @aptos-labs/ts-sdk implementation, ensuring that addresses—which are 32-byte values—are correctly formatted, parsed, and validated according to the AIP-40 standard.
The skill bridges the gap between raw hex strings and the structured AccountAddress class, offering specialized methods for flexible input parsing, strict validation, and deterministic address derivation for objects, resources, and tokens. By integrating these Openclaw Skills, developers avoid common pitfalls like improper string comparisons or manual hashing for derived addresses.
To use this Openclaw Skills resource, ensure you have the Aptos TypeScript SDK installed in your project:
npm install @aptos-labs/ts-sdk
Then, import the necessary classes and functions:
import { AccountAddress, createObjectAddress } from "@aptos-labs/ts-sdk";
The skill manages address data through the AccountAddress class and several utility functions. Below is the taxonomy of output formats available through these Openclaw Skills:
| Method | Output Format | Description |
|---|---|---|
| toString() | AIP-40 Default | SHORT for special addresses, LONG for others |
| toStringLong() | 0x + 64 hex | Full length with prefix |
| toStringShort() | Shortest Hex | Minimal characters, no leading zeros |
| toUint8Array() | 32-byte Array | Raw byte representation for BCS serialization |
Loading
An advanced Chinese text proofreading skill that detects typos, grammar issues, and sensitive content using iFlytek's specialized official document API.

An enterprise-grade multimedia processing tool for video transcoding, editing, and speech-to-text transcription.

A multi-disciplinary knowledge skill for AI agents focusing on the mathematical, scientific, and cultural significance of the number two.

A specialized automation skill to deploy, configure, and bind AI agents to Feishu communication channels.

A comprehensive digital encyclopedia dedicated to the life, career, and philosophy of NBA legend Kobe Bryant.

An advanced discovery and tracking agent for premium open courses from major educational platforms.








































