Solana.SDK
1.0.0
dotnet add package Solana.SDK --version 1.0.0
NuGet\Install-Package Solana.SDK -Version 1.0.0
<PackageReference Include="Solana.SDK" Version="1.0.0" />
<PackageVersion Include="Solana.SDK" Version="1.0.0" />
<PackageReference Include="Solana.SDK" />
paket add Solana.SDK --version 1.0.0
#r "nuget: Solana.SDK, 1.0.0"
#:package Solana.SDK@1.0.0
#addin nuget:?package=Solana.SDK&version=1.0.0
#tool nuget:?package=Solana.SDK&version=1.0.0
SolanaSDK
Project: https://github.com/DWDevelopmentDotNet/SolanaSDK
A modern, high-performance .NET library for building applications on the Solana blockchain with enterprise-grade wallet security.
Documentation & Support
- Full Documentation: https://github.com/DWDevelopmentDotNet/SolanaSDK
- Issue Tracker: https://github.com/DWDevelopmentDotNet/SolanaSDK/issues
- Code Examples: See GitHub repository for 16+ detailed examples
What is SolanaSDK?
SolanaSDK is a comprehensive .NET library designed to simplify interaction with the Solana blockchain. Built with performance, security, and developer experience in mind, it provides intuitive abstractions for secure wallet management, cryptographic operations, and blockchain interactions.
Key Innovation: Advanced SLIP-39 support enabling Shamir's Secret Sharing for enhanced wallet security and recovery flexibility.
Installation
Install via .NET CLI:
dotnet add package Solana.Sdk
Or via NuGet Package Manager Console:
Install-Package Solana.Sdk
Quick Start
Create a wallet and derive accounts:
using SolanaSDK;
// Create a new wallet with BIP39 mnemonic
var wallet = SWallet.Create();
var mnemonic = wallet.Mnemonic; // Save this securely!
// Derive an account from the wallet
var account = wallet.GetAccount(0);
// Sign a message
var message = System.Text.Encoding.UTF8.GetBytes("Hello, Solana!");
var signature = account.Sign(message);
// Verify the signature
var isValid = account.Verify(message, signature);
Why Choose SolanaSdk?
✅ Enterprise-Grade Security
- SLIP-39 Shamir's Secret Sharing - Distribute wallet secrets across multiple shares
- Hardware Wallet Ready - Designed for integration with hardware security modules (HSM)
- Production-Proven Cryptography - Ed25519 digital signatures with Solana compatibility
- Type-Safe by Design - Strongly-typed API prevents key confusion and common security mistakes
✅ Developer-Friendly
- Intuitive API - Chainable, fluent design patterns for simplicity
- Comprehensive Error Handling - Clear, actionable error messages
- Full Inline Documentation - Every class and method thoroughly documented
- .NET 6+ Support - Modern C# 10 features for clean, efficient code
✅ Performance Optimized
- Wallet Creation: <100ms
- Account Derivation: <10ms per account
- Message Signing: <5ms
- Minimal Allocations - Zero-copy designs in hot paths
- Thread-Safe - Designed for concurrent operations
Core Features
🔐 Next-Generation Wallet Support
- SLIP-39 Hierarchical Deterministic (HD) Wallets for enterprise security
- Multi-Account Management with unlimited account derivation
- Flexible Recovery from shares or raw seed bytes
- Industry-standard BIP39 mnemonic support
💼 Advanced Cryptography
- Ed25519 digital signatures with Solana compatibility
- BIP32 hierarchical key derivation (m/44'/501'/x'/0')
- Shamir's Secret Sharing (SLIP-39) for distributed key storage
- Hardware wallet integration ready
📡 Transaction Management & RPC
- Fluent transaction builder API
- Instruction composition and validation
- Full Solana RPC API support architecture
- Connection pooling with retry logic and WebSocket support
🔄 Developer Experience
- Strongly-typed API design
- Chainable API patterns for readable code
- Full inline documentation and XML comments
- Comprehensive error handling
Key Classes
SWallet - Standard wallet for mnemonic-based (BIP39) or seed-based wallet management.
Slip39SWallet - SLIP-39 wallet with Shamir's Secret Sharing for enterprise-grade security.
SAccount - Represents a derived Solana keypair with signing and verification capabilities.
PublicKey & PrivateKey - Type-safe wrappers for Ed25519 cryptographic keys.
Use Cases
- Enterprise Wallet Infrastructure - Build secure multi-signature wallet systems
- DeFi Applications - Transaction signing and verification with multi-account management
- Staking & Treasury - Manage multiple wallets from a single seed
- Blockchain Services - High-throughput transaction processing with failover support
Requirements
- .NET 6.0 or higher
- C# 10.0 or higher
- Bifrost.Security (Ed25519 cryptography - automatically included)
Security Considerations
This library implements industry-standard cryptographic practices:
- Ed25519 signatures use proven algorithms
- BIP32 key derivation follows established standards
- SLIP-39 provides mathematically-proven secret sharing
- Type safety prevents common programming errors
Important Guidelines:
- Store keys in dedicated key storage systems
- Use hardware security modules for production
- Never commit secrets to version control
- Implement proper key rotation strategies
- Audit your implementation before production
License
MIT License - See the LICENSE file for details.
Built with ❤️ for the Solana ecosystem
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Chaos.NaCl.Standard (>= 1.0.0)
- Portable.BouncyCastle (>= 1.9.0)
-
net8.0
- Chaos.NaCl.Standard (>= 1.0.0)
- Portable.BouncyCastle (>= 1.9.0)
-
net9.0
- Chaos.NaCl.Standard (>= 1.0.0)
- Portable.BouncyCastle (>= 1.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 20,185 | 6/12/2026 |