use-ts-sdk
Installation
SKILL.md
Use TypeScript SDK (Orchestrator)
Purpose
Orchestrates @aptos-labs/ts-sdk integration for Aptos dApps. For specific tasks, route to the appropriate granular
skill. For composite tasks (e.g., "build me a fullstack dApp"), follow the workflow below.
Core Rules
- ALWAYS use
@aptos-labs/ts-sdk(the current official SDK, NOT the deprecatedaptospackage) - NEVER hardcode private keys in source code or frontend bundles
- NEVER expose private keys in client-side code or logs
- NEVER store private keys in environment variables accessible to the browser (use
VITE_prefix only for public config) - ALWAYS load private keys from environment variables in server-side scripts only, using
process.env