NextGenSoftware.OASIS.API.Providers.MidenOASIS
2.0.0
dotnet add package NextGenSoftware.OASIS.API.Providers.MidenOASIS --version 2.0.0
NuGet\Install-Package NextGenSoftware.OASIS.API.Providers.MidenOASIS -Version 2.0.0
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.MidenOASIS" Version="2.0.0" />
<PackageVersion Include="NextGenSoftware.OASIS.API.Providers.MidenOASIS" Version="2.0.0" />
<PackageReference Include="NextGenSoftware.OASIS.API.Providers.MidenOASIS" />
paket add NextGenSoftware.OASIS.API.Providers.MidenOASIS --version 2.0.0
#r "nuget: NextGenSoftware.OASIS.API.Providers.MidenOASIS, 2.0.0"
#:package NextGenSoftware.OASIS.API.Providers.MidenOASIS@2.0.0
#addin nuget:?package=NextGenSoftware.OASIS.API.Providers.MidenOASIS&version=2.0.0
#tool nuget:?package=NextGenSoftware.OASIS.API.Providers.MidenOASIS&version=2.0.0
Miden OASIS Provider
Miden privacy provider for OASIS offering private note management, STARK proof workflows, and zkVM interactions.
Overview
This provider enables OASIS to interact with the Miden blockchain, a STARK-based L2 with private state capabilities. Built specifically for Zypherpunk Hackathon Track 4: Private Bridge Zcash ↔ Miden ($5,000 prize).
Features
- Private Note Management: Create, manage, and nullify private notes on Miden
- STARK Proof Generation: Generate and verify STARK proofs for private operations
- Zcash ↔ Miden Bridge: Bi-directional private bridge operations
- Lock on Zcash, mint on Miden
- Lock on Miden, mint on Zcash
- Privacy Preserved: All operations maintain privacy through STARK proofs
Configuration
Set environment variables:
MIDEN_API_URL: Miden API endpoint (default:https://testnet.miden.xyz)MIDEN_API_KEY: API key for authentication (optional)
Usage
var midenProvider = new MidenOASIS();
await midenProvider.ActivateProviderAsync();
// Create a private note
var noteResult = await midenProvider.CreatePrivateNoteAsync(
value: 100m,
ownerPublicKey: "0x...",
assetId: "ZEC"
);
// Generate STARK proof
var proofResult = await midenProvider.GenerateSTARKProofAsync(
programHash: "bridge_program_hash",
inputs: new { amount = 100m, source = "Zcash" },
outputs: new { noteId = noteResult.Result.NoteId }
);
// Bridge operations
var mintResult = await midenProvider.MintOnMidenAsync(
midenAddress: "0x...",
amount: 100m,
zcashTxHash: "tx_hash",
viewingKey: "viewing_key"
);
Bridge Architecture
The provider supports bi-directional private bridges:
Zcash → Miden
- Lock ZEC on Zcash (shielded transaction)
- Generate viewing key for auditability
- Generate STARK proof verifying the lock
- Mint private note on Miden
Miden → Zcash
- Lock on Miden (private note)
- Generate STARK proof
- Verify proof and mint on Zcash (shielded)
Status
✅ Provider Structure: Complete ✅ STARK Proof Support: Implemented ✅ Bridge Operations: Implemented ⏳ Testing: Pending Miden testnet access ⏳ Integration: Pending bridge manager implementation
Related Files
MidenZcashBridgeManager.cs: Bridge manager for coordinating Zcash ↔ Miden transfersZYPherPUNK_TRACK_SPECIFIC_BRIEFS.md: Full track requirements
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 | 131 | 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.