AI agents building on Kaspa now get a field manual before touching a single key ๐ค
@KasperoLabs open-sourced mainnet-tested notes on wallets, covenants and payments, and a hard rule, never touch seeds
Safer apps shipping with $KAS ~7.5x from ATH ๐
@KasperoLabsHere's a library to help your AI agent build on Kaspa safely.
http://github.com/kasperolabs/kaspa-agent-notes
Best practices, code snippets tested on mainnet, lessons learned and failure modes, from building wallets, covenants, an indexer, token launchers, payment flows and a red team tool. It's written for coding agents to read before they write code, whichever one you use.
What's in it:
- Wallet safety: drainer patterns, signature modes, wrong-network and wrong-account traps
- Sending and signing KAS from code: the fee rule, storage mass, SDK calls that work
- SilverScript covenants: syntax, design principles, worked patterns
- KCC-20 tokens: identity by covenant ID, metadata, supply, lookalikes
- Token launchers: name rules, safe metadata and images
- Supporting Kasware, Kaspire, Kastle, hosted and phone wallets
- Accepting a KAS payment and checking it on chain
- Red-teaming a covenant before it holds money
- An error lookup: the node's message, its meaning and the fix
- A failures log, each entry with the rule it taught
It scales to the project. A tip jar and a hosted wallet need different things, and the first file helps your agent pick how strict to be.
To use it, tell your assistant:
"Read https://t.co/VYczp3NhY0, start with 00-agent-rules.md, then the files for what we're building."
Free and MIT. Corrections and additions welcome as issues or pull requests.