Welcome to Sava
Sava is a high-performance Java SDK for building applications on Solana. Built with performance and developer experience in mind, Sava provides everything you need to interact with the Solana blockchain from your Java applications.Ed25519 Cryptography
Native support for Ed25519 key generation, signing, and verification with both BouncyCastle and Java’s native crypto APIs
Encoding & Serialization
Built-in support for Base58, Base64, and Borsh encoding formats used throughout Solana
Transaction Building
Intuitive APIs for creating, signing, and sending transactions with support for versioned transactions and lookup tables
RPC Clients
Complete HTTP and WebSocket RPC clients with full Solana API coverage and type-safe response parsing
Token Support
First-class support for SPL tokens including token accounts, mints, and token extensions
Type Safety
Strongly-typed APIs with compile-time safety for account types, instructions, and RPC responses
What Can You Build?
With Sava, you can build a wide range of Solana applications:- DeFi Applications: Create trading bots, DEX integrators, and portfolio management tools
- NFT Platforms: Build NFT marketplaces, minting platforms, and collection managers
- Blockchain Analytics: Analyze on-chain data, track transactions, and monitor accounts
- Backend Services: Build robust backend services that interact with Solana
- CLI Tools: Create command-line tools for blockchain operations
Get Started
Quickstart
Get up and running with Sava in minutes
Installation
Add Sava to your Gradle project
API Reference
Explore the complete API documentation
Examples
Learn from real-world code examples
Key Features
Performance First
Sava is designed for high-performance applications with:- Zero-copy deserialization where possible
- Efficient memory usage
- Async/CompletableFuture-based APIs
- Optimized serialization routines
Production Ready
Built for production use with:- Comprehensive test coverage
- Type-safe APIs
- Clear error handling
- Full Solana RPC API coverage
Developer Friendly
Enjoy a great developer experience with:- Intuitive, fluent APIs
- Extensive documentation
- Working code examples
- Strong typing throughout
Why Java?
Java remains one of the most popular programming languages for enterprise and backend development. Sava brings Solana’s capabilities to the vast Java ecosystem, enabling:- Integration with existing Java/JVM infrastructure
- Use of familiar Java tools and IDEs
- Access to the rich Java library ecosystem
- Deployment on battle-tested JVM platforms
Sava requires Java 21 or later to take advantage of modern Java features and performance improvements.
Community
Sava is open source and welcomes contributions. Visit the GitHub repository to:- Report issues
- Contribute code
- Request features
- Join discussions