NextGenSoftware.OASIS.API.Providers.ZcashOASIS
2.0.0
dotnet add package NextGenSoftware.OASIS.API.Providers.ZcashOASIS --version 2.0.0
NuGet\Install-Package NextGenSoftware.OASIS.API.Providers.ZcashOASIS -Version 2.0.0
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.ZcashOASIS" Version="2.0.0" />
<PackageVersion Include="NextGenSoftware.OASIS.API.Providers.ZcashOASIS" Version="2.0.0" />
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.ZcashOASIS" />
paket add NextGenSoftware.OASIS.API.Providers.ZcashOASIS --version 2.0.0
#r "nuget: NextGenSoftware.OASIS.API.Providers.ZcashOASIS, 2.0.0"
#:package NextGenSoftware.OASIS.API.Providers.ZcashOASIS@2.0.0
#addin nuget:?package=NextGenSoftware.OASIS.API.Providers.ZcashOASIS&version=2.0.0
#tool nuget:?package=NextGenSoftware.OASIS.API.Providers.ZcashOASIS&version=2.0.0
Zcash OASIS Provider
Zcash blockchain provider for OASIS with support for shielded transactions, viewing keys, and partial notes. Built for the Zypherpunk Hackathon.
Features
- ✅ Shielded transaction support
- ✅ Viewing key generation (for auditability)
- ✅ Partial notes (for enhanced privacy)
- ✅ Cross-chain bridge operations
- ✅ Zcash RPC integration
- ✅ Testnet and mainnet support
Configuration
Add to OASIS_DNA.json:
{
"StorageProviders": {
"ZcashOASIS": {
"ProviderType": "ZcashOASIS",
"IsEnabled": true,
"IsDefault": false,
"ConnectionString": "http://localhost:8232",
"RPCUser": "user",
"RPCPassword": "password",
"Network": "testnet",
"BridgeAddresses": {
"Aztec": "zt1...",
"Miden": "zt1...",
"Solana": "zt1..."
}
}
}
}
Environment Variables
ZCASH_RPC_URL- Zcash RPC endpoint (default: http://localhost:8232)ZCASH_RPC_USER- RPC usernameZCASH_RPC_PASSWORD- RPC passwordZCASH_AZTEC_BRIDGE_ADDRESS- Bridge address for AztecZCASH_MIDEN_BRIDGE_ADDRESS- Bridge address for MidenZCASH_SOLANA_BRIDGE_ADDRESS- Bridge address for Solana
Usage
Create Shielded Transaction
var provider = new ZcashOASIS();
await provider.ActivateProviderAsync();
var result = await provider.CreateShieldedTransactionAsync(
"zt1...", // from address
"zt1...", // to address
1.0m, // amount
"Memo" // optional memo
);
Generate Viewing Key
var viewingKey = await provider.GenerateViewingKeyAsync("zt1...");
Create Partial Note
var partialNote = await provider.CreatePartialNoteAsync(1.0m, 3); // Split into 3 parts
Lock ZEC for Bridge
var txId = await provider.LockZECForBridgeAsync(
1.0m, // amount
"Aztec", // destination chain
"aztec_address", // destination address
"viewing_key" // optional viewing key
);
Zypherpunk Hackathon
This provider is built for the Zypherpunk Hackathon tracks:
- Aztec Labs - Private Bridge
- Aztec Labs - Unified Wallet
- Aztec Labs - Zcash Stablecoin
- Miden - Private Bridge
- Solana ↔ Zcash Solutions
License
MIT
| 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
- Newtonsoft.Json (>= 13.0.3)
- NextGenSoftware.OASIS.API.Core (>= 2.0.0)
- NextGenSoftware.OASIS.Common (>= 2.0.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 |
|---|---|---|
| 2.0.0 | 134 | 7/12/2026 |
- 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.