Welcome to the Tezos Developer Documentation!¶
Tezos is a distributed consensus platform with meta-consensus capability. Tezos not only comes to consensus about the state of its ledger, like Bitcoin or Ethereum. It also attempts to come to consensus about how the protocol and the nodes should adapt and upgrade.
- Developer documentation is available online at https://tezos.gitlab.io/master . The documentation is automatically generated for the master branch, the main network mainnet and the test network alphanet. Make sure you are consulting the right version.
- The website https://tezos.com/ contains more information about the project.
- All development happens on GitLab at https://gitlab.com/tezos/tezos
The source code of Tezos is placed under the MIT Open Source License.
The Tezos network is the current incarnation of the Tezos blockchain. It runs with real tez that have been allocated to the donors of July 2017 ICO (see Activate fundraiser account - Betanet).
The Tezos network has been live and open since June 30th 2018.
All the instructions in this documentation are valid for Mainnet however we strongly encourage users to first try all the introduction tutorials on Alphanet to familiarize themselves without risks.
Tezos Alphanet is a test network for the Tezos blockchain with a faucet to obtain free tez (see Get free tez). It is updated and rebooted rarely and it is running the same code as the Mainnet. It is the reference network for developers wanting to test their software before going to beta and for users who want to familiarize themselves with Tezos before using their real tez.
We offer support for Alphanet on IRC.
The Tezos Alpha (test) network has been live and open since February 2017.
Zeronet is the most cutting-edge development network of Tezos. It is restarted without notice, possibly several times a day. This network is mostly used internally by the Tezos developers and may have different constants that Alphanet or Mainnet, for example it has shorter cycles and a shorter interval between blocks. We offer no support for the Zeronet.
The best place to start exploring the project is following the How Tos in the introduction.
- How to get Tezos
- How to use Tezos
- How to run Tezos
- Technical Support
- How to contribute
- Tezos Software Architecture
- The peer-to-peer layer
- The validation subsystem
- Michelson: the language of Smart Contracts in Tezos
- Table of contents
- I - Semantics
- II - Introduction to the type system and notations
- III - Core data types and notations
- IV - Core instructions
- V - Operations
- VI - Domain specific data types
- VII - Domain specific operations
- VIII - Macros
- IX - Concrete syntax
- X - Annotations
- XI - JSON syntax
- XII - Examples
- XII - Full grammar
- XIII - Reference implementation
- Proof-of-stake in Tezos
- The Voting Process
- JSON/RPC interface
- The Error Monad
- Michelson Anti-Patterns
- How to start reading protocol Alpha
- Economic protocol sandboxing
- Profiling the Tezos node
- Building documentation locally
- Online OCaml Documentation
- Command Line Interface
- RPCs - Index
- RPCs - Full description
- RPC Errors
- P2P message format
- Block header (shell)
- Operation (shell)
- Block_header (alpha-specific)
- Operation (alpha-specific)
- contract_id (22 bytes, 8-bit tag)
- public_key (Determined from data, 8-bit tag)
- public_key_hash (21 bytes, 8-bit tag)
- inlined.endorsement.contents (5 bytes, 8-bit tag)
- operation.alpha.contents (Determined from data, 8-bit tag)