A wallet implementation of MassNet in Golang.
Go 1.13 or newer.
- 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
- 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.
- 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
- New codes should be compatible with Go 1.11 or newer.
- Run
gofmt
andgoimports
to lint go files. - Run
make test
before building executables.
Contact MASS community via [email protected], and we will get back to you soon.
The following keys maybe trusted to commit code.
Name | Fingerprint |
---|---|
massnetorg | A8A9 5C74 1AB8 08D3 E6E6 5B6C F8A8 D5CF 14D0 C419 |
A documentation for API is provided here.
A documentation for Transaction Scripts is provided here.
MassNet Wallet
is licensed under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.