Ts Sdk Account

v1.0.0

How to create and use Account (signer) in @aptos-labs/ts-sdk. Covers Account.generate(), fromPrivateKey(), fromDerivationPath(), Ed25519 vs SingleKey vs Mult...

0· 96·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description match the content: the SKILL.md is a focused TypeScript guide for Account creation and signing in @aptos-labs/ts-sdk. It does not request unrelated binaries, credentials, or config paths.
Instruction Scope
Instructions and code examples stay within the stated purpose (generate/fromPrivateKey/fromDerivationPath, signing, serialization). The file advises safe practices (server-only use, load keys from env) and does not instruct the agent to read arbitrary system files or send data to external endpoints. It references environment variables (e.g. process.env.PRIVATE_KEY) as examples but does not require or access them itself.
Install Mechanism
No install spec and no code files — instruction-only. No downloads or package installs are specified by the skill, which minimizes disk/execution risk.
Credentials
The SKILL.md shows example usage of environment variables for loading private keys, but the skill declares no required env vars and asks for no credentials. The example env usage is proportionate and explicitly cautions against frontend use and hardcoding secrets.
Persistence & Privilege
always is false and the skill is user-invocable. There is no install step or configuration changes, and the skill does not request persistent system-level privileges.
Assessment
This skill is an offline reference for using Account in @aptos-labs/ts-sdk and appears internally consistent. Before using or copying examples: (1) do not paste real private keys into examples or frontend code — follow the guide's advice to keep keys server-side or use wallet adapters, (2) verify you are using the official @aptos-labs/ts-sdk package (check npm and aptos-labs docs) since the skill's source/homepage are unknown, and (3) treat any serialized hex (AccountUtils.toHexString) as an immediate secret and store it securely (e.g., encrypted vault). Otherwise the skill itself does not request extra credentials or perform risky actions.

Like a lobster shell, security has layers — review code before you run it.

latestvk9732pdkjcz9hchj7pbmj8xzx5835q57

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments