• 官网
  • 中文
  • English
  • Español
  • 日本語
  • 한국어
  • Deutsch
  • Nederlands
  • Portuguese (Br)
  • French
  • Italiano
Show / Hide Table of Contents
  • Home
  • Erste Schritte
  • NEO Node
    • Einführung
    • Installation
    • NEO-GUI
    • TestNet
    • NEO-CLI
    • Privates Netzwerk
    • API
      • getbalance
      • getbestblockhash
      • getblock
      • getblockcount
      • getblockhash
      • getconnectioncount
      • getrawmempool
      • getrawtransaction
      • gettxout
      • sendrawtransaction
      • sendtoaddress
    • Netzwerkprotokoll
    • Konsensmechanismus in NEO
      • Konsensmechanismus Whitepaper
      • Konsensdiagramm
  • Smart Contracts
    • Einführung
    • Getting Started (C#)
    • Getting Started (Java)
    • Getting Started (Python)
    • Tutorial
      • Basics
      • Hello World
      • Lock Contract
      • Domain (Domain Name System)
      • Smart Contract Parameter und Returnwerte
      • Contract Authentifizierungstutorial
      • Einen Lock Contract veröffentlichen
      • Contract Call
      • Veröffentlichen und Aufrufen
    • Test
    • Whitepaper
    • API Reference
      • NEO
      • System
    • Framework
      • .NET framework
        • NEO
          • Account
          • Asset
          • Block
          • Blockchain
          • Enrollment
          • Header
          • Storage
          • StorageContext
          • Transaction
          • TransactionAttribute
          • TransactionInput
          • TransactionOutput
        • System
          • ExecutionEngine
    • Systemgebühren
  • Dokument für Exchange Developer
  • Mitwirkende

Smart Contract Beispiel - HelloWorld

public class HelloWorld : SmartContract
{
    public static void Main()
    {
        Storage.Put(Storage.CurrentContext, "Hello", "World");
    }
}

Die Storage Klasse ist eine Static Klasse die den Privaten Contract Speicher manipuliert. Die 'Storage.Put()' Methode erlaubt es Ihnen Daten im Privaten Speicher im key-value format zu speichern. Details finden sie unter Storage.

Komplette Beispiele finden sie hier: Github for complete examples.

  • Improve this Doc
Back to top Copyright © 2014-2018 NEO