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
Read the Docs
v: v1.3.1
Versions
latest
stable
v1.3.1
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.0
feature-quick
feature-env
dev
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.