Reference
Quick reference
| Resource | URL |
|---|---|
| RPC (HTTPS) | https://testnet.specterchain.com |
| WebSocket | wss://testnet.specterchain.com/ws |
| CometBFT RPC | https://testnet.specterchain.com/rpc/ |
| Relayer API | https://relayer.specterchain.com |
| Block Explorer | https://explorer.specterchain.com |
| Whitepaper | https://whitepaper.specterchain.com |
| Main Site | https://specterchain.com |
| GitHub | https://github.com/Specter-Foundation |
| Discord | https://discord.gg/specter |
| X / Twitter | https://x.com/specterchain |
Chain IDs
| Network | EVM Chain ID | Cosmos Chain ID |
|---|---|---|
| Testnet | 5445 | specter-testnet-1 |
| Mainnet | 5447 | — |
Key contract addresses (testnet)
| Contract | Address |
|---|---|
| CommitRevealVault | 0x443434113980Ab9d5Eef0Ace7d1A29AB68Af6c70 |
| CommitmentTree | 0xB7E37E652F3024bAaaf84b12ae301f8E1feC4D87 |
| NullifierRegistry | 0x0987cc3dE6f76c4c8834Dc6205De24968091C58b |
| NativeAssetHandler | 0x35cdaE691037fcBb3ff9D0518725F1ae98d502b7 |
| GhostERC20Factory | 0x925B548F059C0B8B6CF7168Efb84881252F88C8E |
| Groth16ProofVerifier | 0x2C8Fb67874E5f380efB995a9Ab59b2Ef327E5bd2 |
| Ghostmint Precompile | 0x0000000000000000000000000000000000000808 |
| PoseidonT3 | 0xa786eDD407eb9EbaCA5E624B7Ee7C31E3b7f9521 |
See Deployed Addresses for the complete table.
Relayer API endpoints
| Endpoint | Method | Auth | Description |
|---|---|---|---|
/api/commitment/compute | POST | HMAC | Compute Poseidon commitment |
/api/proof/generate | POST | HMAC | Generate Groth16 proof |
/api/faucet/claim | POST | None | Claim testnet GHOST |
/api/faucet/status | GET | None | Check claim status |
/health | GET | None | Service health check |
Foundry quick start
forge create src/MyContract.sol:MyContract \
--rpc-url https://testnet.specterchain.com \
--chain-id 5445 \
--private-key $PRIVATE_KEY
MetaMask network config
| Field | Value |
|---|---|
| Network Name | Specter Testnet |
| RPC URL | https://testnet.specterchain.com |
| Chain ID | 5445 |
| Currency Symbol | GHOST |
| Explorer | https://explorer.specterchain.com |
External documentation
- Cosmos SDK — framework documentation
- CometBFT — consensus engine
- Foundry Book — Solidity development toolkit
- snarkjs — ZK proof generation
- circomlibjs — Poseidon hashing
- viem — TypeScript Ethereum client
- ethers.js — Ethereum library