minter-explorer-api

module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT

README

Minter Node

Minter is a blockchain network that lets people, projects, and companies issue and manage their own coins and trade them at a fair market price with absolute and instant liquidity.

version Go version license last-commit Documentation Status

NOTE: This is alpha software. Please contact us if you intend to run it in production.

Documentation

For documentation, Read The Docs.

Run using Docker

You'll need docker and docker compose installed.

Clone Minter to your machine

$ git clone https://github.com/MinterTeam/minter-go-node.git
$ cd minter-go-node

Prepare configs

$ mkdir -p ~/.tendermint/data
$ mkdir -p ~/.minter/data

$ cp -R networks/testnet/ ~/.tendermint/config

$ chmod -R 0777 ~/.tendermint
$ chmod -R 0777 ~/.minter 

Start Minter

$ docker-compose up

Build and run manually

You'll need go installed and the required environment variables set

  1. Install Tendermint 0.22.0

  2. Clone Minter to your machine

$ mkdir $GOPATH/src/github.com/MinterTeam
$ cd $GOPATH/src/github.com/MinterTeam
$ git clone https://github.com/MinterTeam/minter-go-node.git
$ cd minter-go-node
  1. Get Tools & Dependencies
$ make get_tools
$ make get_vendor_deps
  1. Compile & install
$ make install
  1. Create data directories
$ mkdir -p ~/.tendermint/data
$ mkdir -p ~/.minter/data
  1. Copy config and genesis file
$ cp -R networks/testnet/ ~/.tendermint/config
  1. Run Tendermint
$ tendermint node
  1. Run Minter
$ minter

Troubleshooting

If you see error like this:

ERROR: Failed to create node: Error starting proxy app connections: Error on replay: Wrong Block.Header.AppHash.  Expected 6D94BF43BB6C83F396FD8310BC2983F08C658344F9F348BB6675D1E5913230B3, got A2F322A4891092C690F5F0B80C1B9D5017A703035B63385108628EC244ECB191 

then your build of Minter Node and network build of Minter Node are different.

Directories

Path Synopsis
cmd
core
dao
state
Package state provides a caching layer atop the Ethereum state trie.
Package state provides a caching layer atop the Ethereum state trie.
types
Package common contains various helper functions.
Package common contains various helper functions.
bn256
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package hexutil implements hex encoding with Mx prefix.
Package hexutil implements hex encoding with Mx prefix.
Package math provides integer math utilities.
Package math provides integer math utilities.
Package metrics provides general system and process level metrics collection.
Package metrics provides general system and process level metrics collection.
Package rlp implements the RLP serialization format.
Package rlp implements the RLP serialization format.
tests
Package trie implements Merkle Patricia Tries.
Package trie implements Merkle Patricia Tries.

Jump to

Keyboard shortcuts

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