AElf.ContractTemplates 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AElf.ContractTemplates --version 1.0.1                
NuGet\Install-Package AElf.ContractTemplates -Version 1.0.1                
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" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AElf.ContractTemplates --version 1.0.1                
#r "nuget: AElf.ContractTemplates, 1.0.1"                
#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 as a Cake Addin
#addin nuget:?package=AElf.ContractTemplates&version=1.0.1

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

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.

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
1.0.2 1,991 7/5/2024
1.0.1 100 7/4/2024
1.0.0-alpha 2,204 9/15/2023