合约实例

This tutorial is intended for beginners and will help you to understand the basics of smart contracts under Nebulas: you‘ll be assisted to download the core and run a node instance, to set up a development environment, and to write some basic examples of smart contracts. In addition, you will find a quick reference guide for more seasoned developers, and a FAQ containing all the common doubts about the subject.

On [Github] by Arielsbecker

  1. What is a smart contract?
  2. Installing the core
  3. Setting up a development environment
  4. Hello World, a barebones smart contract
  5. AddressMetadata, a smart contract with storage capabilities
  6. PiggyBank, a smart contract that moves money around
  7. Reference guide
  8. FAQ