Giter Club home page Giter Club logo

pier's Introduction

Pier

build codecov

Build

Using the follow command to install necessary tools.

make prepare

And then install pier using the following command.

make install

Initialization

Using the follow command to initialize pier.

pier init

Default repo path is ~/.pier. If you want to specify the repo path, you can use --repo flag.

pier init --repo=$HOME/.pier

After initializing pier, it will generate the follow directory:

~/.pier
├── pier.toml
├── key.json

Configuration

title = "pier"

[port]
pprof = 44555

[log]
level = "debug"
dir = "logs"
filename = "pier.log"
report_caller = false

[bitxhub]
addr = "localhost:60011"
validators = [
      "0x000f1a7a08ccc48e5d30f80850cf1cf283aa3abd",
      "0xe93b92f1da08f925bdee44e91e7768380ae83307",
      "0xb18c8575e3284e79b92100025a31378feb8100d6",
      "0x856E2B9A5FA82FD1B031D1FF6863864DBAC7995D",
]

[appchain]
plugin = "fabric-client-1.4.so"
config = "fabric"

port.pprof: the pprof server port

log.level: log level: debug, info, warn, error, fatal

bitxhub.addr: bitxhub grpc server port

bitxhub.validators: bitxhub validator's addresses

appchain.plugin: relative path in pier repo of appchain plugin

appchain.config: relative path of appchain config directory

Usage

More details about usage is in Pier handbook

License

The Pier library (i.e. all code outside of the cmd and internal directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the LICENSE.LESSER file.

The Pier binaries (i.e. all code inside of the cmd and internal directory) is licensed under the GNU General Public License v3.0, also included in our repository in the LICENSE file.

pier's People

Contributors

alexader avatar 4ever9 avatar jzhe886 avatar sandyzhou avatar dawn-to-dusk avatar levi9311 avatar xiaochenl avatar treasersimplifies avatar alburtwang avatar diyiwi avatar

Watchers

James Cloos 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.