SolanaSdk 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SolanaSdk --version 1.1.0
                    
NuGet\Install-Package SolanaSdk -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SolanaSdk" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SolanaSdk" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="SolanaSdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SolanaSdk --version 1.1.0
                    
#r "nuget: SolanaSdk, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SolanaSdk@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SolanaSdk&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=SolanaSdk&version=1.1.0
                    
Install as a Cake Tool

# SolanaSDK - Enterprise-Grade Solana .NET Library

A modern, high-performance .NET library for building applications on the Solana blockchain with enterprise-grade wallet security.

## 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.

## Why Choose SolanaSDK?

### Enterprise-Grade Security

- **SLIP-39 Shamir's Secret Sharing** - Distribute wallet secrets across multiple shares with no single point of failure

- **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 make complex operations simple

- **Comprehensive Error Handling** - Clear, actionable error messages for debugging

- **Full Inline Documentation** - Every class and method is thoroughly documented

- **.NET 6+ Support** - Modern C# 10 features for clean, efficient code

### Performance Optimized

- **Minimal Allocations** - Zero-copy designs in hot paths for maximum efficiency

- **Lazy Initialization** - Derivation engine initialized only when needed

- **Connection Pooling** - RPC integration with retry logic and WebSocket support

- **Production-Ready** - Built for high-throughput applications

## 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 with zero runtime type checking

- Comprehensive error handling with clear diagnostics

- Clear, chainable API patterns for readable code

- Full inline documentation and XML comments

## Use Cases

**Enterprise Wallet Infrastructure**

- Build secure multi-signature wallet systems

- Implement distributed key management

- Integrate with HSM and key vaults

**DeFi Applications**

- Transaction signing and verification

- Multi-account management for different operations

- Secure fund handling with passphrase protection

**Staking & Treasury**

- Derive separate accounts for different purposes

- Manage multiple wallets from a single seed

- Secure key derivation for cold storage

**Blockchain Services**

- High-throughput transaction processing

- RPC integration with failover support

- WebSocket support for real-time updates

## Key Classes & Components

**SWallet**

Standard wallet for mnemonic-based (BIP39) or seed-based wallet management. Create new wallets, restore from mnemonics, or import from existing seeds.

**Slip39SWallet**

SLIP-39 wallet with Shamir's Secret Sharing for enterprise-grade security. Split wallet secrets across multiple shares and recover with configurable thresholds.

**SAccount**

Represents a derived Solana keypair with signing and verification capabilities. Each account is derived from the wallet's master seed using standard BIP32 paths.

**PublicKey & PrivateKey**

Type-safe wrappers for Ed25519 cryptographic keys. Prevent accidental key exposure and provide validation methods.

## Technical Highlights

### Security by Design

- Private keys are never logged or exposed

- Passphrase support adds additional security layer

- SLIP-39 enables distributed trust models

- Hardware wallet ready for production deployments

### Standards Compliance

- BIP39 mnemonic standard for wallet recovery

- BIP32 hierarchical deterministic key derivation

- SLIP-39 Shamir's Secret Sharing specification

- Ed25519 industry-standard cryptography

- Solana standard derivation paths (m/44'/501'/x'/0')

### Production Ready

- Minimal dependencies (only Bifrost.Security for Ed25519)

- .NET 6.0+ with C# 10 support

- Zero external API calls for core functionality

- Designed for integration with existing enterprise systems

## 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

However, cryptographic key management is critical. Follow these 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

## Getting Started

### Installation

Install via NuGet:


dotnet add package SolanaSDK

### First Steps

1. **Create a wallet** - Generate a new 12-word mnemonic or restore from existing

2. **Derive accounts** - Create multiple accounts for different purposes

3. **Sign messages** - Use accounts to sign and verify data

4. **Integrate RPC** - Connect to Solana blockchain for transactions

## Requirements

- **.NET 6.0** or higher

- **C# 10.0** or higher

- **Bifrost.Security** - Ed25519 cryptography (automatically included)

## Documentation & Examples

For comprehensive documentation including:

- 16+ detailed code examples

- SLIP-39 implementation guides

- Account derivation patterns

- Signing and verification workflows

- Public key validation techniques

- Program-derived address creation

- Advanced cryptographic operations

- Complete security best practices

**Visit the GitHub repository:** https://github.com/NorthGroupDevelopment/SolanaSDK

## Support & Contribution

**Report Issues:** https://github.com/NorthGroupDevelopment/SolanaSDK/issues

**Feature Requests:** https://github.com/NorthGroupDevelopment/SolanaSDK/issues

**Contribute:** We welcome pull requests for bug fixes, features, and documentation improvements.

## Performance Characteristics

SolanaSDK is optimized for production use:

- Wallet creation: <100ms

- Account derivation: <10ms per account

- Message signing: <5ms

- Key validation: <2ms

- Minimal memory allocations in hot paths

- Thread-safe design for concurrent operations

## License

MIT License - See the LICENSE file for details.

---

**Built with ❤️ for the Solana ecosystem**

*Combining modern .NET practices with enterprise-grade cryptographic standards for secure blockchain development.*

For code examples, detailed walkthroughs, and comprehensive documentation, visit: https://github.com/NorthGroupDevelopment/SolanaSDK

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.3 217 7/7/2026
1.2.2 44,280 7/7/2026
1.2.1 44,100 7/7/2026
1.2.0 38,540 6/5/2026
1.1.0 38,460 6/5/2026
1.0.0 38,447 6/5/2026