Why Kora?
- Better UX: Users never need SOL
- Revenue Control: Collect fees in USDC, your token, or anything else
- Production Ready: Secure validation, rate limiting, monitoring built-in
- Easy Integration: JSON-RPC API + TypeScript SDK
- Flexible Deployment: Railway, Docker, or any cloud platform
Architecture
- Language: Rust with TypeScript SDK
- Protocol: JSON-RPC 2.0
- Signers: Solana Private Key, Turnkey, Privy
- Authentication: API Key, HMAC, or none
- Deployment: Flexible deployment options (Docker, Railway, etc.)
Features
- Configurable validation rules and allowlists
- Full Token-2022 support with extension filtering
- Redis caching for improved performance
- Rate limiting and spend protection
- Secure key management (Turnkey, Privy, Vault)
- HMAC and API key authentication
- Prometheus metrics and monitoring
- Enhanced fee payer protection policies
Quick Start
Install Kora:TypeScript SDK
Kora provides a simple JSON-RPC interface. The TypeScript SDK offers three clients (KoraClient, createKitKoraClient, and the koraPlugin for an
existing Kit client); two are shown here:
Local Development
Prerequisites
- Rust 1.89+
- Solana CLI 2.2+
- Node.js 20.18+ and npm (for the SDK, which builds on
@solana/kit)
Installation
v2.0.5 tag uses a Makefile. On main and the beta tags, use the just
equivalents instead (just install, just build, just run, and just test).
Build
Running the Server
Basic usage:KORA_PRIVATE_KEY
environment variable, and Kora connects to a local validator at
http://127.0.0.1:8899 unless you set RPC_URL:
make run on v2.0.5: it passes an empty --signers-config, and the
root kora.toml it loads fails validation with
When fees are enabled, allowed_spl_paid_tokens cannot be empty.
Local Testing
And run all tests:Community & Support
- Questions? Ask on
Solana Stack Exchange (use the
koratag) - Issues? Report on GitHub Issues
Other Resources
- Kora CLI Crates.io - Rust crate for running a Kora node
- @solana/kora NPM Package - TypeScript SDK for interacting with a Kora node