Skip to content
Incognito chain
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addrmanager Change Path To New Github Repo Jun 13, 2019
bin - merge code from master Jun 19, 2019
blockchain - merge code from master Jun 19, 2019
bootnode - change repo Jun 13, 2019
cashec Change Path To New Github Repo Jun 13, 2019
cmd - optimize wallet Jun 17, 2019
common Merge remote-tracking branch 'remotes/origin/wasm' Jun 19, 2019
connmanager Change Path To New Github Repo Jun 13, 2019
consensus/constantbft - merge code from master Jun 19, 2019
database Refactor Code For Subcribe And UnSubcribe Jun 18, 2019
databasemp
limits - refactor code Oct 1, 2018
mempool - merge code from master Jun 19, 2019
metadata estimate token fee Jun 18, 2019
metrics Update Jun 17, 2019
netsync Merge remote-tracking branch 'origin/master' into feature-improve-bft Jun 14, 2019
peer update Jun 14, 2019
privacy Merge remote-tracking branch 'remotes/origin/wasm' Jun 19, 2019
rpcserver
transaction update observe transaction Jun 18, 2019
utility - merge code from master branch Jun 17, 2019
wallet - optimize wallet, create account by shard Jun 17, 2019
wire fix Jun 14, 2019
.editorconfig add .editorconfig and fix indent Oct 29, 2018
.env.example - rename cash -> constant Jan 31, 2019
.gitignore - wasm for privacy Jun 18, 2019
Dockerfile - rename cash -> constant Jan 31, 2019
Gopkg.toml - gopackage with dep Jan 9, 2019
README.md update Jun 14, 2019
build.sh - rename costant -> incognito May 31, 2019
config Refactor Code For Subcribe And UnSubcribe Jun 18, 2019
config.go Refactor RPC Http Server and Add WebSocket Server Jun 17, 2019
constants.go - add more testnet param Oct 12, 2018
incognito.go - optimize wallet, create account by shard Jun 17, 2019
keycache.go - refactor Jan 18, 2019
keylist.json update Jun 16, 2019
log.go - change repo Jun 13, 2019
params.go Change Path To New Github Repo Jun 13, 2019
run_node.sh Subcribe Pending Transaction Jun 18, 2019
sample-config.conf - limit fee for FeeEstimator Jun 3, 2019
server.go
signal.go fix conflict Dec 21, 2018
version.go - refactor Jan 17, 2019

README.md

Incognito chain

Incognito is digital money you can actually use.

A new type of crypto-currency

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Environment for dev

  • Go 1.10 or newer.
  • Mac, Linux, Windows OS

Installation

Linux/BSD/macOS/Windows - Build from Source
  • Install Go according to the installation instructions here: http://golang.org/doc/install
  • Ensure Go was installed properly and is a supported version: $ go version $ go env GOROOT GOPATH
  • Clone Project to GOPATH NOTE: The GOROOT and GOPATH above must not be the same path. It is recommended that GOPATH is set to a directory in your home directory such as ~/goprojects to avoid write permission issues. It is also recommended to add $GOPATH/bin to your PATH at this point.
  • Install go lib with go get -v
  • Run go build -o incognito in project dir or run sh build.sh to copy into go bin dir

Run node

  • Pre-install like "Prerequisites"
  • Get node up with go build $ ./incognito --enablewallet --wallet "wallet" --walletpassphrase "12345678" --testnet --norpcauth
  • Get node up with sh build.sh $ incognito --enablewallet --wallet "wallet" --walletpassphrase "12345678" --testnet --norpcauth

Run with docker-compose

  • To start dev container $ docker-compose -p incognitodev -f dev-env/docker-compose.yaml up -d
  • To stop dev container $ docker-compose -f dev-env/docker-compose.yaml down
  • To start developing $ docker exec -it incognito-prototype-dev sh $ glide install $ go build $ ./incognito
  • To start other nodes (these nodes will start will config file in dev-env/nodes-data/node-<NODE_NUMBER>) $ docker run -i -t --net incognitodev_incognito-net --mount type=bind,src=$PWD/constant,dst=/constant --mount type=bind,src=$PWD/dev-env/nodes-data/node<REPLACE THIS WILL NODE_NUMBER>,dst=/nodedata --expose 9333 alpine:3.7 /constant --configfile /nodedata/config.conf

Config values

How to use config

  • Refer to config.go or sample-config.conf in source code to get full explanation
  • Run node with config param in long or short format to change features of running node

Other Utilities

You can’t perform that action at this time.