Logo
  • Introduction

Getting Started

  • Development Environment
  • Smart Contract Development
    • AElf Boilerplate
    • Greeter Contract
      • Implement
      • Test
      • Run
      • Front End
    • Contract Deployment

Tutorials

  • AElf Blockchain Boot Sequence
  • Joining AElf's TestNet
  • Joining AElf's MainNet
  • Running a side chain
  • Running AElf on the cloud
  • Smart Contract Developing Demos

Protocol

  • Consensus
  • Network
  • Addresses
  • Transactions

Architecture

  • Core
  • Cross-chain
  • Smart contract

Reference

  • Web API
  • Chain SDK
  • Contract SDK
  • Smart Contract API
  • Acs Introduction
  • Command-line Interface

Resources

  • Wallet and Block Explorer
  • Browser Extension
  • DevOps
  • AElf White Paper
  • AElf Economic System White Paper
AElf
  • Docs »
  • Smart Contract Development »
  • Greeter Contract
  • Edit on GitHub

Greeter ContractΒΆ

  • Implement
    • Greeter contract
    • Create the project
    • Defining the contract
      • Syntax, imports and namespace
      • The service definition
      • Custom types
    • Extend the generated code
      • Asserting
      • Accessing and saving state
      • Logging
      • More on state
  • Test
    • Test project
      • Test your contract
  • Run
  • Front End
    • Run the front-end
    • Front-end code
      • Getting the chain status
        • getting a contract object
        • calling a contract method
        • calling a view method
Next Previous

Revision bd91fc5e.

Built with Sphinx using a theme provided by Read the Docs.