A lightweight, cross-platform .NET and Native SDK for interacting with the Stellar network using the Stellar RPC API.
This project was funded by the Stellar Community Fund. The original project proposal can now be found here
The Stellar RPC SDK provides a clean, type-safe way to interact with the Stellar network from any .NET application, and from native applications on any other platform. It supports all Soroban RPC operations and provides convenient abstractions for common Stellar operations.
Key features include:
- Complete Soroban RPC Support: Supports all endpoints in the Soroban RPC API
- XDR Serialization: Full XDR encoding and decoding for all Stellar data types
- Type Safety: Strong C# typing for Stellar operations and responses
- Cross-Platform: Works on .NET Core, Unity, MAUI, Tizen and more
- Async First: Fully asynchronous API for responsive applications
- Comprehensive XDR Support: All Stellar XDR types are available
- Automatic Updates: The RPC, XDR and Protobuf (for native) types are automatically generated based on Stellar specifications
Learn how to use the SDK through practical examples:
- Server Health Checks
- Retrieving Account Information
- Creating and Sending Payments
- Checking Transaction Status
- Working with Ledger Entries
- Invoking Soroban Contracts
- Soroban Authorizations
- Soroban Nested Structs
This project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.