Skip to main content

Getting Started with the Neo Blockchain Toolkit

ngdenterprise.com ·  · 2 min read

Quick Start 1: Getting Started with the Neo Blockchain Toolkit#

Notes:#

The .NET SDK can be downloaded from:
https://dotnet.microsoft.com/download

Visual Studio Code can be downloaded from:
https://code.visualstudio.com/

This is the URL to the official Neo Blockchain Toolkit extension for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=ngd-seattle.neo-blockchain-toolkit

Platform specific errata:

MacOS: Running Neo Express on MacOS requires installing rocksdb via Homebrew:
$ brew install rocksdb

Linux: Running Neo Express on Linux requires installing libsnappy and libc6. For example, on systems using the apt package manager:
$ sudo apt install libsnappy-dev libc6-dev -y

Commands used in this video:

Checking for .NET SDK installation:
$ dotnet --version
(Check for a value greater than 5.)


Quick Start 2: Working with the Private Net#


Quick Start 3: Working with Wallets and Assets#


Quick Start 4: Building your first Smart Contract#

Notes:#

This is the URL to the official C# extension for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp

Commands used in this video:

Installing the Neo C# compiler:
$ dotnet tool install -g neo.compiler.csharp --version 3.0.0-rc2
(Please note that the tool name has changed since the video was recorded. ALso note that the --version parameter


Quick Start 5: Debugging your Smart Contract#

Notes:#

The launch.json schema for debugging Neo Smart Contracts is documented here:
https://github.com/neo-project/neo-debugger/blob/master/docs/debug-config-reference.md