What is SPECTER?
Integration Quickstart
API Reference
Beginner Questions
What problem does SPECTER solve?
What problem does SPECTER solve?
Do I need to understand cryptography to use SPECTER?
Do I need to understand cryptography to use SPECTER?
What should I open first if I'm completely new?
What should I open first if I'm completely new?
- What is SPECTER? — understand the concept in 5 minutes
- Explore the product — see it work in the live app
- Integration quickstart — run the API loop yourself
Is this a wallet? A token? A blockchain?
Is this a wallet? A token? A blockchain?
What does 'post-quantum' mean?
What does 'post-quantum' mean?
Can I try it without installing anything?
Can I try it without installing anything?
Integration Questions
Which API endpoints do I need at minimum?
Which API endpoints do I need at minimum?
| Step | Endpoint | Purpose |
|---|---|---|
| 1 | POST /api/v1/keys/generate | Generate recipient keys |
| 2 | POST /api/v1/stealth/create | Create stealth payment |
| 3 | POST /api/v1/registry/announcements | Publish announcement |
| 4 | POST /api/v1/stealth/scan | Discover payments |
Is authentication built into the API?
Is authentication built into the API?
Why does the publish endpoint require tx_hash?
Why does the publish endpoint require tx_hash?
tx_hash field serves as a unique identifier for duplicate protection in the registry. In production, this would be the actual on-chain transaction hash. For testing, you can use any unique hex string.Why does scan return no discoveries sometimes?
Why does scan return no discoveries sometimes?
- Wrong keys — the viewing/spending keys don’t match what was used during creation
- Missing publish step — the announcement was never published to the registry
- Payload mismatch — the fields sent to scan don’t match what was published
- Registry reset — the in-memory registry resets when the server restarts
Can I use SPECTER with my existing backend?
Can I use SPECTER with my existing backend?
- Node.js/Python backend → Call SPECTER API via HTTP from your server
- Frontend dApp → Call SPECTER API directly or through your backend proxy
- Mobile app → Same as frontend, use HTTP requests
What's the difference between API and CLI integration?
What's the difference between API and CLI integration?
- API: Best for production apps. Your backend calls SPECTER endpoints programmatically.
- CLI: Best for local testing, demos, CI/CD pipelines, and support debugging.
Product & Frontend Questions
Can I explore SPECTER without any local setup?
Can I explore SPECTER without any local setup?
When should I use the CLI instead of the frontend?
When should I use the CLI instead of the frontend?
- Scripted automation — reproducible test flows
- CI/CD integration — smoke tests in your pipeline
- Support playbooks — reproducing user issues locally
- Benchmarking — the CLI includes a
benchcommand for performance testing
When should I use the API directly?
When should I use the API directly?
- Control payment workflows programmatically
- Handle multi-user scenarios (e.g., a wallet serving many recipients)
- Integrate with existing services deterministically
- Process payments without user interaction
Does the frontend work on mobile?
Does the frontend work on mobile?
Security & Privacy Questions
Is my spending key ever sent to the server?
Is my spending key ever sent to the server?
Can someone link my stealth addresses to my identity?
Can someone link my stealth addresses to my identity?
What happens if quantum computers arrive?
What happens if quantum computers arrive?
Is the registry stored on-chain?
Is the registry stored on-chain?
- In-memory — for development and testing (resets on server restart)
- File-based — for persistent local storage
Chain & Compatibility Questions
Which blockchains does SPECTER support?
Which blockchains does SPECTER support?
Is Solana support available?
Is Solana support available?
Can I use SPECTER with ENS names?
Can I use SPECTER with ENS names?
.eth name instead of pasting a long key. See the ENS setup guide.Can I use SPECTER with Sui Name Service (SuiNS)?
Can I use SPECTER with Sui Name Service (SuiNS)?
.sui names. See the SuiNS setup guide.Current Scope Questions
Are roadmap features already implemented?
Are roadmap features already implemented?
- OAPA (One Address Per Application)
- PQ account abstraction wallet
- Privacy keystore
- Migration contracts
Are Yellow channels fully settled on-chain?
Are Yellow channels fully settled on-chain?
Is the file-based registry production-ready?
Is the file-based registry production-ready?
