There are two kinds of assets that are part of the Ontology system: native assets and contract assets.
Native assets are ONT
and ONG
. Upon integration with exchange platforms they are enabled to process exchange and redeeming of these tokens.
There are two ways to deploy Ontology synchronization nodes:
Clone ontology repository to $GOPATH/src/github.com/ontio directory
$ git clone https://github.com/ontio/ontology.git
Or
$ go get github.com/ontio/ontology
Use the third-party package management tool glide to manage the dependent libraries
$ cd $GOPATH/src/github.com/ontio/ontology$ glide install
Compile source code with make
$ make
An executable program will be generated after a successful compilation (using make all
command will generate sig server under 'tools' directory )
ontology
: Node program/node control program provided by command line
Create wallet(not mandatory for sync node)
Create the wallet file wallet.dat
that is required for nodes running through the CLI
$ ./ontology account add -dUse default setting '-t ecdsa -b 256 -s SHA256withECDSA'signature algorithm: ecdsacurve: P-256signature scheme: SHA256withECDSAPassword:Re-enter Password:Index: 1Label:Address: AWVNFw74G8Sx9vcxGbmh4gT54ayuwb3bcmPublic key: 02c17cd91acf618d497f65f1fc4f52de7952c8b2337883f898dda887953cd29dd7Signature scheme: SHA256withECDSACreate account successfully.
$ tree└── ontology├── ontology└── wallet.dat