Code Monkey home page Code Monkey logo

chain3go's Introduction

Chain3Go - Chain3 Go API

LBR Go API was built for LBR chain. It was developed from LBR RPC API, which can be used to develop Ðapp to LBR chain. It supports both VNODE and SCS methods for LBR.

Chain3Go Installation

setup $GOPATH

export GOPATH=/Users/[user]/go

go get

go get -u github.com/LBRChain/Chain3Go

LBR Configuration

Install LBR

Download latest LBR Vnode and SCS Releases from here: https://github.com/LBRChain/LBR-core/releases

Run LBR

Run LBR vnode on testnet

./LBR --testnet

Run LBR scs on testnet

./scsserver

Create new accounts and send transactions

mc.coinbase
mc.accounts
personal.newAccount()
passphrase:
repeat passphrase:

miner.start()
--wait a few seconds
miner.stop()

personal.unlockAccount("0x18833df6ba69b4d50acc744e8294d128ed8db1f1")
mc.sendTransaction({from: '0x18833df6ba69b4d50acc744e8294d128ed8db1f1', to: '0x2a022eb956d1962d867dcebd8fed6ae71ee4385a', value: chain3.toSha(12, "LBR")}) 

Chain3Go Execution

go run main.go

Requirements

  • go ^1.8.3

Go installation instructions.

chain3go's People

Contributors

crytochain avatar moacchain avatar slow-minded avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.