Skip to content

Cheat sheet and best practices for writing smart contracts for NEO-VM in TypeScript using the NEO-ONE framework.

Notifications You must be signed in to change notification settings

davemneo/neo-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

neo-cheatsheet

Cheat sheet and best practices for writing smart contracts for NEO-VM in TypeScript

Overview

This cheatsheet for users of the NEO•ONE smart contract framework on the NEO blockchain.

This reference is not intended to teach you TypeScript or blockchain principles from the ground up, but rather as a guide to developers with a basic understanding of blockchain and awareness of JavaScript or other programming language.

It might be helpful if...

  • *Having a working knowledge of JavaScript or TypeScript will help when reading this document.
  • *NEO•ONE Development tools are installed as this is the framework we'll use; it has simplified and includes mix-ins for making basic smart contracts with best practices in mind.

Table of Contents

Importing files

import * as symbolName from "filename";
import {symbol1 as alias, symbol2} from "filename";

Types

Boolean

interface MyInterface {
    readonly const aBoolean: boolean;
}

About

Cheat sheet and best practices for writing smart contracts for NEO-VM in TypeScript using the NEO-ONE framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published