bitfex / Yocoin_Sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yocoin

Preparing Ubuntu

As root,

add-apt-repository ppa:gophers/archive apt update apt install golang-1.9-go

Add user for builds:

useradd -m dev

Unpacking sources

As dev,

mkdir -p ~/go/src/github.com`

Put Yocoin15 to /home/dev/go/src/github.com`

Building sources

su - dev cd ~/go/src/github.com/Yocoin15/Yocoin_Sources /usr/lib/go-1.9/bin/go build -o ~/test cmd/yocoin/*.go

Looks like:

dev@ubuntu-s-1vcpu-1gb-blr1-01:~/go/src/github.com/Yocoin15/Yocoin_Sources$ /usr/lib/go-1.9/bin/go build -o ~/test cmd/yocoin/*.go

Starting node

  1. Create new account(-s)
    ./yocoin account new
  1. Initialize private net
    ./yocoin init genesis.json
  1. Run new node with console mode
     ./yocoin  --networkid 13 console
  1. Chech mining base address
    > eth.coinbase
  1. Start mining to generate DAG
    > miner.start()
  1. For Exchanges

https://github.com/ethereum/wiki/wiki/JSON-RPC#json-rpc-methods

About


Languages

Language:Go 85.3%Language:C 6.4%Language:JavaScript 5.1%Language:C++ 1.0%Language:Assembly 0.5%Language:Java 0.3%Language:Python 0.3%Language:M4 0.3%Language:NSIS 0.3%Language:Shell 0.2%Language:HTML 0.1%Language:Makefile 0.1%Language:Ruby 0.0%Language:CSS 0.0%