R3E.SmartContract.Framework
3.0.0
dotnet add package R3E.SmartContract.Framework --version 3.0.0
NuGet\Install-Package R3E.SmartContract.Framework -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="R3E.SmartContract.Framework" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="R3E.SmartContract.Framework" Version="3.0.0" />
<PackageReference Include="R3E.SmartContract.Framework" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add R3E.SmartContract.Framework --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: R3E.SmartContract.Framework, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package R3E.SmartContract.Framework@3.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=R3E.SmartContract.Framework&version=3.0.0
#tool nuget:?package=R3E.SmartContract.Framework&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Neo.SmartContract.Framework
The core framework for developing Neo N3 smart contracts in C#. This library provides all the essential APIs and attributes needed to write smart contracts for the Neo blockchain.
Features
- Complete Neo N3 smart contract API
- Native contract interfaces (NEO, GAS, Oracle, etc.)
- NEP standard implementations (NEP-17, NEP-11)
- Storage, Runtime, and Crypto APIs
- Contract upgrade and update functionality
- Event and notification support
Installation
dotnet add package R3E.SmartContract.Framework
Quick Start
using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Attributes;
using Neo.SmartContract.Framework.Services;
[DisplayName("HelloWorld")]
[ManifestExtra("Author", "Neo Community")]
public class HelloWorld : SmartContract
{
public static string SayHello(string name)
{
return $"Hello, {name}!";
}
}
Core APIs
- Runtime: Contract execution context and blockchain data
- Storage: Persistent contract storage
- Crypto: Cryptographic operations
- Contract: Inter-contract calls
- Native Contracts: NEO, GAS, Oracle, Policy, etc.
Documentation
For detailed documentation, visit the Neo Smart Contract Development Guide.
License
MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on R3E.SmartContract.Framework:
Package | Downloads |
---|---|
R3E.Compiler.CSharp
R3E edition of the Neo Smart Contract Compiler - Advanced C# to Neo VM bytecode compiler with optimization and security features |
GitHub repositories
This package is not used by any popular GitHub repositories.