Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
Johannes edited this page Dec 22, 2016 · 1 revision

EthOn can be used

  • as a glossary of Ethereum terms
  • as a learning ressource for understanding Ethereum and the yellow paper
  • as a means to improve communication (among developers, among technical and non-technical people, ...)
  • for checking the consistency of modeled aspects of blockchain data via reasoning
  • to semantically annotate content provided by Ethereum based tools and dApps (e.g. block explorers, analysis tools, markets, ...)

Examples of using EthOn to describe Ethereum Artifacts

Describing an Account

@prefix ethon: <http://ethon.consensys.net/>
@prefix ethereum: <http://ethereumrdf.consensys.net/>

ethereum:Account0000000000000000000000000000000000000000
    a ethon:Account ;
    rdfs:label "Genesis Address" ;
    ethon:address "0000000000000000000000000000000000000000"^^xsd:hexBinary ;
    ethon:hasState ethereum:AccountState0 ;
    [...]
    rdfs:seeAlso <https://etherscan.io/address/0x0000000000000000000000000000000000000000> .

ethereum:AccountState0
    ethon:accountBalance 0 ;
    [...]
    ethon:accountNonce 0 .

Describing a Block

ethereum:Block0
    a ethon:Block ;
    rdfs:label "Genesis Block" ;
    rdfs:comment "This is the block with block number 0. It is the Genesis Block of the Ethereum blockchain." ;
    ethon:number 0 ;
    ethon:blockBeneficary ethereum:Account0000000000000000000000000000000000000000 ;
    ethon:blockReward 5000000000000000000 ;
    ethon:gasLimit 5000 ;
    ethon:blockNonce "0000000000000042"^^xsd:hexBinary ;
    [...]
    rdfs:seeAlso <https://etherscan.io/block/0> .
Clone this wiki locally