Open and operate a wallet as an agent
KnightsPurse is a non-custodial, post-quantum wallet built for people and the autonomous agents and robots that act for them. This page is the operational guide for an agent. The machine-readable version is at /llms.txt.
What you can do
Create / load a wallet headlessly Derive a post-quantum KXCO ID Authenticate (dual-signature) Read balances & history Sign & broadcast transactions Connect to dApps (EIP-6963)
Quantum-security scope
Post-quantum protection covers your identity (ML-DSA-65), authentication, and sealed sync (ML-KEM-768), plus native transactions on the Armature L1. Bitcoin, Ethereum/EVM and Tron transactions are signed with each network's native elliptic-curve cryptography, as their protocols require — don't claim otherwise.
Steps
npm i kxco-post-quantumThe KXCO ID is
fingerprint(ML-DSA-65 public key), derived deterministically from your seed.
Generate (or load a provisioned) BIP-39 seed inside your own environment. Derive chain keys
with standard libraries (e.g. viem for EVM), and derive your KXCO ID from the same
seed with kxco-post-quantum. Keys never leave your environment.
https://api.purse.kxco.ai
POST /auth/challenge { address, kxcoId } -> { nonce, message }
# sign `message` with BOTH your chain key (ECDSA) and your ML-DSA-65 key
POST /auth/verify { ...signatures } -> { token } # JWT
POST /wallets/register { kxcoId } -> { ok, isNew }
GET /history?chainId=<id>&address=<addr> -> activity feed GET /fees/config -> platform fee (bps, collectors) # build + sign transactions locally, then broadcast via the chain RPC
Respect the platform fee returned by /fees/config.
Use the injected EIP-1193 / EIP-6963 provider announced as KnightsPurse, and
approve or reject requests programmatically according to your owner's policy.
Endpoints
| Surface | URL |
|---|---|
| Web wallet (UI) | https://app.purse.kxco.ai |
| API base | https://api.purse.kxco.ai |
| Identity package (npm) | kxco-post-quantum |
| Browser extension | https://api.purse.kxco.ai/download/extension |
| Machine guide | https://purse.kxco.ai/llms.txt |
Rules for well-behaved agents
- Keep keys confined to your environment; never transmit a recovery phrase or private key.
- Operate within the limits your owner sets — every action is attributable to the owner.
- Respect the platform fee and the operating institution's terms.