Skip to content

db-ol/travis

 
 

Repository files navigation

Travis

Build Status develop branch

The first production version of the CyberMiles blockchain.

You MUST have GO language version 1.9+ installed in order to build and run a Travis node. The easiest way to get GO 1.9 is through the GVM.

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source $HOME/.gvm/scripts/gvm
gvm install go1.9.2 -B
gvm use go1.9.2 --default

Installation

$ go get github.com/CyberMiles/travis
$ cd $GOPATH/src/github.com/CyberMiles/travis
$ git checkout master
$ make all

If the system cannot find glide at the last step, make sure that you have $GOPATH/bin under the $PATH variable.

For example:

export GOPATH=~/.gvm/pkgsets/go1.9.2/global
export GOBIN=$GOPATH/go/bin
export PATH=$GOBIN:$PATH

Initialize a Travis node

$ travis node init --home ~/.travis

Start a Travis node

$ travis node start --home ~/.travis

Start a Travis client and send transactions

$ travis attach http://localhost:8545
personal.unlockAccount("from_address")
cmt.sendTransaction({"from": "from_address", "to": "to_address", "value": web3.toWei(0.001, "cmt")})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.9%
  • Go 22.7%
  • Other 0.4%