stx
Installation
SKILL.md
STX Skill
Provides Stacks L2 STX token and contract operations using the Hiro API. Transfer and contract write operations require an unlocked wallet (use bun run wallet/wallet.ts unlock first). Balance and status queries work with just an address.
Usage
bun run stx/stx.ts <subcommand> [options]
Subcommands
get-balance
Get the STX balance for a Stacks address. Returns balance in both micro-STX and STX.
bun run stx/stx.ts get-balance [--address <addr>]