Code Monkey home page Code Monkey logo

wallet's Introduction

MassNet Wallet

Build Status MIT

A wallet implementation of MassNet in Golang.

Requirements

Go 1.13 or newer.

Development

Build from Source

Linux/Darwin

  • Clone source code to $GOPATH/src/github.com/mass-community/MassNet-wallet.
  • Build the program.
    cd $GOPATH/src/github.com/mass-community/MassNet-wallet
    make build
  • Run ./bin/masswallet to start.
    go build -o bin/masswallet-cli cmd/masswalletcli/main.go

Windows

  • Clone source code to $GOPATH/src/github.com/mass-community/MassNet-wallet.
  • Set environment variable GO111MODULE="on".
  • Build the program.
    cd %GOPATH%/src/github.com/mass-community/MassNet-wallet
    go build -o bin\masswallet.exe
  • Run bin\masswallet.exe to start.

Contributing Code

Prerequisites

  • Install Golang 1.13 or newer.
  • Install the specific version or ProtoBuf, and related protoc-*:
    # libprotoc
    libprotoc 3.6.1
    
    # github.com/golang/protobuf 1.3.2
    protoc-gen-go
    
    # github.com/gogo/protobuf 1.2.1
    protoc-gen-gogo
    protoc-gen-gofast
    
    # github.com/grpc-ecosystem/grpc-gateway 1.9.6
    protoc-gen-grpc-gateway
    protoc-gen-swagger

Modifying Code

  • New codes should be compatible with Go 1.11 or newer.
  • Run gofmt and goimports to lint go files.
  • Run make test before building executables.

Reporting Bugs

Contact MASS community via [email protected], and we will get back to you soon.

Verifying Commits

The following keys maybe trusted to commit code.

Name Fingerprint
massnetorg A8A9 5C74 1AB8 08D3 E6E6 5B6C F8A8 D5CF 14D0 C419

Documentation

API

A documentation for API is provided here.

Transaction Scripts

A documentation for Transaction Scripts is provided here.

License

MassNet Wallet is licensed under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.

wallet's People

Contributors

cuihairu avatar baoliang avatar

Watchers

帝归 avatar James Cloos avatar  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.