NextGenSoftware.OASIS.API.Providers.RadixOASIS
2.0.1
dotnet add package NextGenSoftware.OASIS.API.Providers.RadixOASIS --version 2.0.1
NuGet\Install-Package NextGenSoftware.OASIS.API.Providers.RadixOASIS -Version 2.0.1
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.RadixOASIS" Version="2.0.1" />
<PackageVersion Include="NextGenSoftware.OASIS.API.Providers.RadixOASIS" Version="2.0.1" />
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.RadixOASIS" />
paket add NextGenSoftware.OASIS.API.Providers.RadixOASIS --version 2.0.1
#r "nuget: NextGenSoftware.OASIS.API.Providers.RadixOASIS, 2.0.1"
#:package NextGenSoftware.OASIS.API.Providers.RadixOASIS@2.0.1
#addin nuget:?package=NextGenSoftware.OASIS.API.Providers.RadixOASIS&version=2.0.1
#tool nuget:?package=NextGenSoftware.OASIS.API.Providers.RadixOASIS&version=2.0.1
NextGenSoftware.OASIS.API.Providers.RadixOASIS
Overview
The RadixOASIS Provider is a WEB4 OASIS API provider that enables seamless integration with the Radix blockchain network. This provider supports:
- ✅ Native Radix blockchain operations
- ✅ Cross-chain bridge capabilities (SOL ↔ XRD)
- ✅ Account creation and management
- ✅ Balance checking and transactions
- ✅ Smart contract interactions
- ✅ XRD token operations
Features
Blockchain Integration
- Full Radix DLT support via Radix Engine Toolkit
- MainNet and StokNet (testnet) support
- Native XRD token handling
- Transaction manifest creation and execution
Bridge Operations
- Cross-chain asset transfers
- Exchange rate integration
- Atomic swap capabilities
- Transaction rollback support
Account Management
- Create new Radix accounts with seed phrases
- Restore accounts from seed phrases
- Secure key management
- Balance queries
Installation
Add the package reference to your project:
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.RadixOASIS" Version="1.0.0" />
Usage
Initializing the Provider
var radixProvider = new RadixOASIS(
hostUri: "https://stokenet.radixdlt.com",
networkId: 2, // StokNet
accountAddress: "your_account_address",
privateKey: "your_private_key"
);
await radixProvider.ActivateProviderAsync();
Creating an Account
var result = await radixProvider.CreateAccountAsync();
if (!result.IsError)
{
var (publicKey, privateKey, seedPhrase) = result.Result;
Console.WriteLine($"New Account Created: {publicKey}");
}
Checking Balance
var balance = await radixProvider.GetAccountBalanceAsync("account_address");
if (!balance.IsError)
{
Console.WriteLine($"Balance: {balance.Result} XRD");
}
Making a Transfer
var transferResult = await radixProvider.DepositAsync(
amount: 10.0m,
receiverAccountAddress: "receiver_address"
);
Bridge Operations
The RadixOASIS provider integrates with the OASIS Bridge Manager for cross-chain operations:
var bridgeManager = new CrossChainBridgeManager(solanaProvider, radixProvider);
var orderRequest = new CreateBridgeOrderRequest
{
FromToken = "SOL",
ToToken = "XRD",
Amount = 1.5m,
DestinationAddress = "radix_address",
UserId = userId
};
var order = await bridgeManager.CreateBridgeOrderAsync(orderRequest);
Configuration
Network Types
- MainNet (NetworkId: 1): Production Radix network
- StokNet (NetworkId: 2): Testnet for development
Environment Variables
RADIX_HOST_URI=https://stokenet.radixdlt.com
RADIX_NETWORK_ID=2
RADIX_ACCOUNT_ADDRESS=account_tdx_2_...
RADIX_PRIVATE_KEY=...
Architecture
The provider follows the OASIS architecture pattern:
RadixOASIS (Provider)
├── Infrastructure
│ ├── Services
│ │ └── RadixService (Core Radix operations)
│ ├── Repositories
│ │ └── RadixRepository (Data access)
│ └── Entities
│ └── DTOs (Data transfer objects)
├── Extensions
│ └── Mapping extensions
└── Contracts
└── IOASISBridge implementation
Dependencies
- RadixEngineToolkit: Core Radix SDK
- RadixDlt.CoreApiSdk: Radix Core API
- RadixDlt.NetworkGateway.GatewayApiSdk: Gateway API
- NextGenSoftware.OASIS.API.Core: OASIS Core API
Cross-Chain Support
This provider works seamlessly with:
- SolanaOASIS: For SOL ↔ XRD bridges
- EthereumOASIS: For ETH ↔ XRD bridges (future)
- Other OASIS Providers: Via the unified bridge interface
License
MIT License - Copyright © NextGen Software Ltd 2025
Links
Support
For issues and questions:
- GitHub Issues: OASIS API Issues
- Email: support@nextgensoftware.co.uk
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- NBitcoin (>= 9.0.3)
- Newtonsoft.Json (>= 13.0.3)
- NextGenSoftware.OASIS.API.Core (>= 2.0.0)
- NextGenSoftware.OASIS.Common (>= 2.0.0)
- RadixDlt.RadixEngineToolkit (>= 2.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- OASIS Omniverse Reboot and Rebrand: major ecosystem relaunch under oasisomniverse.one.
- Full implementation of all remaining provider interface stubs — no more NotImplementedExceptions.
- Security hardening: NuGet vulnerability remediation, CORS and JWT alignment.
- Improved error handling: explicit errors when provider returns null content; null guards throughout.
- Updated to align with OASIS API Core v2.0.0.
- Upgraded to .NET 10 — latest runtime with significant performance and GC improvements.
- Miscellaneous bug fixes and stability improvements.
- Improved null safety and error reporting.
- Internal refactoring to align with OASIS API Core v2.0.0 conventions.
- Many misc improvements.
- Multiple bug fixes.