Stratumn's core utilities to create decentralized applications and networks
Clone or download
Permalink
Failed to load latest commit information.
.github First commit Aug 3, 2016
.vscode cs: type Link.Meta (#352) Feb 22, 2018
batchfossilizer naming: rename to go-core (#445) Sep 25, 2018
bcbatchfossilizer naming: rename to go-core (#445) Sep 25, 2018
blockchain naming: rename to go-core (#445) Sep 25, 2018
bufferedbatch naming: rename to go-core (#445) Sep 25, 2018
cmd naming: rename to go-core (#445) Sep 25, 2018
couchstore naming: rename to go-core (#445) Sep 25, 2018
dummyfossilizer naming: rename to go-core (#445) Sep 25, 2018
dummystore naming: rename to go-core (#445) Sep 25, 2018
elasticsearchstore naming: rename to go-core (#445) Sep 25, 2018
filestore naming: rename to go-core (#445) Sep 25, 2018
fossilizer naming: rename to go-core (#445) Sep 25, 2018
jsonhttp naming: rename to go-core (#445) Sep 25, 2018
jsonws naming: rename to go-core (#445) Sep 25, 2018
leveldbstore naming: rename to go-core (#445) Sep 25, 2018
monitoring naming: rename to go-core (#445) Sep 25, 2018
postgresstore naming: rename to go-core (#445) Sep 25, 2018
rethinkstore naming: rename to go-core (#445) Sep 25, 2018
store naming: rename to go-core (#445) Sep 25, 2018
tendermint ci: switch to golangci-lint (#421) Jun 26, 2018
testutil naming: rename to go-core (#445) Sep 25, 2018
tmpop naming: rename to go-core (#445) Sep 25, 2018
tmstore naming: rename to go-core (#445) Sep 25, 2018
types naming: rename to go-core (#445) Sep 25, 2018
utils naming: rename to go-core (#445) Sep 25, 2018
validation naming: rename to go-core (#445) Sep 25, 2018
.editorconfig ci: switch to golangci-lint (#421) Jun 26, 2018
.gitignore chainscript: update (#437) Sep 12, 2018
.travis.yml ci: switch to golangci-lint (#421) Jun 26, 2018
CHANGE_LOG.md changelog: update tendermint version (#396) Apr 13, 2018
Dockerfile.tpl Dockerfile: update stratumn/gobase version (#395) Apr 12, 2018
Gopkg.lock stores: support out degree (#443) Sep 20, 2018
Gopkg.toml chainscript: update (#437) Sep 12, 2018
LICENSE license: change to Apache 2.0 (#143) Jun 30, 2017
LICENSE_HEADER fmt: run go fmt on all source files (#156) Jul 26, 2017
Makefile naming: rename to go-core (#445) Sep 25, 2018
PRERELEASE First commit Aug 3, 2016
README.md naming: rename to go-core (#445) Sep 25, 2018
RELEASE_NOTES.md naming: rename to go-core (#445) Sep 25, 2018
doc.go naming: rename to go-core (#445) Sep 25, 2018
logo.png Update README.md and RELEASE_NOTES.md (#154) Jul 19, 2017
test_headers.sh *: fix test_headers script and add missing license headers Jan 24, 2018
version.sh strat: remove (#420) Jun 25, 2018

README.md

Stratumn Core Utilities

GoDoc Build Status codecov Go Report Card Join the chat at https://gitter.im/stratumn/sdk

Logo

Stratumn's open-source utilities to create decentralized applications and networks.


This repository includes tools to build Proof of Process Networks using Stratumn Core.

To get started, visit the Stratumn Core website: https://indigocore.org

Run tests

You need Docker to be able to run the tests. The images couchstore:latest, rethink:latest and postgres:latest will be run automatically (and pulled from the docker hub if you don't already have them locally).

Install dependencies:

go get -u github.com/golang/dep/cmd/dep
dep ensure

To manage dependencies, see dep.

Run all tests:

make test

See test coverage in the browser:

make coverhtml

Run the linter:

go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
make lint

Build tagged docker images:

make docker_images

Releasing a new version

If you want to release a new version of the library, here is what you need to do. You need to install:

You'll need to add your PGP public key to the Stratumn CLI in the pubkey.go file.

Then at the root of the repo:

  • Update the CHANGELOG file
  • Create a branch named vA.B.x (for example: 0.1.x) from master
  • On this new branch, create a VERSION file that contains the version (for example: 0.1.0)
  • Set the pre-release flag in PRERELEASE if needed
  • Run make release (this will create the tag, build the binaries and the docker images, push the docker images and publish a release on Github)

License

Copyright 2017 Stratumn SAS. All rights reserved.

Unless otherwise noted, the source files are distributed under the Apache License 2.0 found in the LICENSE file.

Third party dependencies included in the vendor directory are distributed under their respective licenses.