Casper Event Standard (CES) schema and event parsing for the Casper .NET SDK.
Get Started
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Casper Event Standard (CES) for .NET
Casper.Network.SDK.CES parses typed events emitted by Casper smart contracts that follow the Casper Event Standard. It supports .NET 8 and .NET Standard 2.0 and depends on Casper.Network.SDK.
Installation
dotnet add package Casper.Network.SDK.CES
Usage
using System;
using Casper.Network.SDK;
using Casper.Network.SDK.CES;
var client = new NetCasperClient("http://127.0.0.1:11101/rpc");
var schema = await CESContractSchema.LoadAsync(client, contractPackageHash);
var events = CESParser.GetEvents(executionResult.Effect, new[] { schema });
foreach (var evt in events)
Console.WriteLine(evt.Name);
contractPackageHash is the hash of the contract package to watch, and executionResult is the execution result of a processed transaction.
See the CES documentation and the SSE example for more details.
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.