StefH / Nethereum-CodeGenerator

A web based Generator which creates a Nethereum based C# Interface and Service based on Solidity Smart Contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nethereum-CodeGenerator

A Nethereum Generator which creates a C# Interface and Service based on Solidity Smart Contracts.

Demo

A demo is running at stefh.github.io/Nethereum-CodeGenerator.

Usage

  • (1) : Select the main Solidity Contract
  • (2) : Optionally select the Solidity Contracts which are imported by the main Solidity Contract
  • (3) : Select the compiler version
  • (4) : Define the namespace you would like to use the generated C# interfaces and classes
  • (5) : click the generate button
  • (6) : The generated C# Interface is displayed here.
  • (7) : Click the download button to download the C# interface.
  • (8) : The generated C# Service is displayed here.
  • (9) : Click the download button to download the C# service.
  • (10) : The generated C# Example Console App is displayed here.
  • (11) : Click the download button to download the C# Console App Example code.

generate

output

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Compiles and minifies for github-pages

npm run github

See also https://cli.vuejs.org/guide/deployment.html.

Lints and fixes files

npm run lint

See also https://blog.jongallant.com/2019/02/vuejs-vetur-vscode-format-eslint-issues

About

A web based Generator which creates a Nethereum based C# Interface and Service based on Solidity Smart Contracts

License:MIT License


Languages

Language:EJS 47.9%Language:Vue 19.9%Language:JavaScript 19.7%Language:Solidity 10.8%Language:HTML 1.0%Language:Stylus 0.6%