AElf.ContractTemplates.TestProd 1.0.2

dotnet add package AElf.ContractTemplates.TestProd --version 1.0.2                
NuGet\Install-Package AElf.ContractTemplates.TestProd -Version 1.0.2                
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="AElf.ContractTemplates.TestProd" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AElf.ContractTemplates.TestProd --version 1.0.2                
#r "nuget: AElf.ContractTemplates.TestProd, 1.0.2"                
#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.
// Install AElf.ContractTemplates.TestProd as a Cake Addin
#addin nuget:?package=AElf.ContractTemplates.TestProd&version=1.0.2

// Install AElf.ContractTemplates.TestProd as a Cake Tool
#tool nuget:?package=AElf.ContractTemplates.TestProd&version=1.0.2                

AElf C# smart contract templates

This folder contains templates of AElf smart contracts in C#:

  • HelloWorldContract

Usage

Add the template

cd HelloWorldContract
dotnet new install .\

Create a project using the template

mkdir temp\AElfContract
cd temp\AElfContract
dotnet new aelfcontract

Build

cd src
dotnet build

Please note, place proto files in the Protobuf/xxx/ directory and contracts in the Contract/ directory. And change the nuget package version in csproj file, as well as the nuget repository address.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 0 6/7/2024
1.0.1 0 6/7/2024