mitum-document

command module
v0.0.2-0...-81e3e1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

README

mitum-document

mitum-document is the data management case of mitum model, based on mitum and mitum-currency.

Features

  • account: account address and keypair is not same.
  • documentData: actual data stored in document.
  • simple transaction: create document, update document, sign document.
  • mongodb: as mitum does, mongodb is the primary storage.

Installation

NOTE: at this time, mitum and mitum-document is actively developed, so before building mitum-blocksign, you will be better with building the latest mitum source. $ git clone https://github.com/protoconNet/mitum-document

and then, add replace github.com/spikeekips/mitum => <your mitum source directory> to go.mod of mitum-document.

Build it from source

$ cd mitum-document
$ go build -ldflags="-X 'main.Version=v0.0.1'" -o ./mitum-document ./main.go

Run

At the first time, you can simply start node with example configuration.

To start, you need to run mongodb on localhost(port, 27017).

$ ./mitum-document node init ./standalone.yml
$ ./mitum-document node run ./standalone.yml

Please check $ ./mbs --help for detailed usage.

Test

$ go clean -testcache; time go test -race -tags 'test' -v -timeout 20m ./... -run .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmds provides command line tools.
Package cmds provides command line tools.
Package digest provides api features.
Package digest provides api features.
Package document is the document model, based on mitum.
Package document is the document model, based on mitum.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL