Giter VIP home page Giter VIP logo

csharp-smart-contract-workshop's Introduction

Workshop for programming smart contracts with .NET, C# and Visual Studio (csharp-smart-contract-workshop)

NEO Blockchain C# Developers Center of Excellence

Workshop for programming smart contracts with .NET, C# and Visual Studio

The original idea as well as the structure, and content of this workshop was created by Chris Hager (@metachris) for the NEO Python community: Workshop for programming smart contracts with Python (python-smart-contract-workshop) (https://github.com/CityOfZion/python-smart-contract-workshop).

This C# version of the workshop, Workshop for programming smart contracts with .NET, C# and Visual Studio (csharp-smart-contract-workshop) (https://github.com/mwherman2000/csharp-smart-contract-workshop), is a parallel effort based on Chris's original workshop content (March 2018).

Purpose

  • Hands-on smart contract development workshop: .NET/C#/Visual Studio on the NEO Blockchain

Goals, Non-Goals and Assumptions

  • Target audience: Architects and Developers who are new to the NEO Blockchain platform
  • Background: Very little or no previous NEO or .NET/C#/Visual Studio Experience
  • Background: Understand basic 1st and 2nd generation blockchain technologies: hashing, blocks, mining, etc.
  • Provide you with a basic level of awareness and understanding of NEO smart contract development
  • Help create a strong NEO Blockchain Developer community – helping each other

Principles

  • Provide reliable documentation: timely, accurate, visual, and complete
  • Save as much of a person's time as possible
  • Use open source software whenever possible

Drivers

  • Need in the NEO .NET developer community to have concise and easy-to-follow documentation to enable people to get up to speed developing NEO smart contracts in as short a time as possible

Workshop Content

Preparation

  1. Join Discord NEO Developer Community on Discord by clicking on one of the following links:

  2. Download and install Microsoft Visual Studio Community Edition 2017. This version is free to download and free to use. It is an excellent IDE for C# smart contract development from here:

  3. Download and install the .NET 4.7.1 Dev Pack from here:

  4. Install the NEO Smart Contract Visual Studio 2017 Extension

  5. Build the NEO Debugger Tools

    • Download the NEO Debugger Tools source code from here:

    • Create a new folder on your hard drive – for example c:\repos

    • Copy neo-debugger-tools-master.zip into c:\repos

    • Unzip neo-debugger-tools-master.zip and build the NEO Debugger Tools following the steps using diagram below.

      Build the NEO Debugger Tools

  6. Lastly, update your Windows PATH environment variable to include the path to the NEO Compiler neon.exe by typing the following into the Windows command prompt [Reference]:

setx PATH "%PATH%;C:\repos\neo-debugger-tools-master\NEO-Compiler\bin\Debug"

NOTE Use the setx command - not the set command.

NOTE Do not use an = (equals) sign.

NOTE If you unzipped neo-debugger-tools-master.zip into a different folder or onto a different hard drive, change the setx command to use the folder you chose.

Course Content

Click here to download the PDF version of the course content.

NEO Enterprise dApp Workshop-Ankara-2018-04-02

Labs and Solutions

Other Resources

Comments and Feedback

If you have any issues or ideas for improvements, please leave your feedback on the GitHub Repository and in the #csharp channel in NEO Discord Group.

The neo-csharpcoe project is an "umbrella" project for several initiatives related to providing tools and libraries (code), frameworks, how-to documentation, and best practices for Enterprise Distributed Application development using .NET/C#, C#.NEO and the NEO Blockchain software platform.

The neo-csharpcoe is an independent, free, open source project that is 100% community-supported by people like yourself through your contributions of time, energy, passion, promotion, and donations.

To learn more about contributing to the neo-csharpcoe, click here.

csharp-smart-contract-workshop's People

Contributors

mwherman2000 avatar farukterzioglu avatar

Watchers

José Wenceslao Castillo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.