If you would like to contribute code you can do so through GitHub by forking the repository and open a pull request against the master branch.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.
Prerequisites are:
make
Go 1.8+
Install the build and lint dependencies:
$ make setup
A good way of making sure everything is all right is running the test suite:
$ make test
You can create a branch for your changes and try to build from the source as you go:
$ make build
Make sure your PATH
includes the bin
directory so your local builds can be easily used:
export PATH=$PATH:./bin
Simplest first test after build is:
nem -h
When you are satisfied with the changes, we suggest you run:
$ make fmt && make ci
Which runs all the formatters, linters and tests.
Commits begin with Fix
, Merge
and Update
will be excluded from the release notes
automatically, as they do not relate directly to development, but are more about supporting.
By contributing your code, you agree to license your contribution under the terms of the MIT License.
If you are adding a new file it should have a header like this:
// Copyright 2017 The nem-toolchain project authors. All rights reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.