core

module
v0.0.0-...-ed80a23 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0

README

Bococoin

Boco Coin is a cryptocurrency and worldwide payment system. It is the first decentralized digital currency, as the system works without a central bank or single administrator.

Build

  • Install Git
  • Install GoLang 1.14.1 or higher
  • Clone Bococoin core repository
md /home/user/bococoin
cd /home/user/bococoin
git clone https://github.com/Bococoin/core
  • Build sources
cd ./core
make all

Run node

$ cd GOPATH/bin
$ chmod +x ./bocod
$ chmod +x ./bococli
$ ./bocod init <node_moniker> --chain-id=boco-02
$ wget -O genesis.json -P /home/user/.bococoin/config https://github.com/Bococoin/core/releases/download/1.0/genesis.json
$ ./bocod start

Run Light Client rest-server

$ cd GOPATH/bin
$ ./bococli config output json
$ ./bococli config indent true
$ ./bococli config trust-node true
$ ./bococli config chain-id boco-02
$ ./bococli config node "https://rpc.bococoin.com:443" #remove this line for connect to local node
$ ./bococli config keyring-backend "file"
$ ./bococli rest-server

Directories

Path Synopsis
lcd
lcd/statik
Package statik contains static assets.
Package statik contains static assets.
rpc
cmd
keys/hd
Package hd provides basic functionality Hierarchical Deterministic Wallets.
Package hd provides basic functionality Hierarchical Deterministic Wallets.
params
Package params defines the simulation parameters in the simapp.
Package params defines the simulation parameters in the simapp.
errors
Package errors implements custom error interfaces for cosmos-sdk.
Package errors implements custom error interfaces for cosmos-sdk.
module
Package module contains application module patterns and associated "manager" functionality.
Package module contains application module patterns and associated "manager" functionality.
rest
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
x
auth
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/auth/ante ALIASGEN: github.com/Bococoin/core/x/auth/keeper ALIASGEN: github.com/Bococoin/core/x/auth/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/auth/ante ALIASGEN: github.com/Bococoin/core/x/auth/keeper ALIASGEN: github.com/Bococoin/core/x/auth/types
auth/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
auth/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
auth/types
nolint noalias
nolint noalias
auth/vesting
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/auth/vesting/types/
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/auth/vesting/types/
auth/vesting/types
nolint noalias
nolint noalias
distribution
Package distribution implements a Cosmos SDK module, that provides an implementation of the F1 fee distribution algorithm.
Package distribution implements a Cosmos SDK module, that provides an implementation of the F1 fee distribution algorithm.
nolint
distribution/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
distribution/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
nolint
genutil
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/genutil/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/genutil/types
gov
nolint DONTCOVER
nolint DONTCOVER
gov/keeper
nolint
nolint
gov/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
gov/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
mock
Package mock provides utility methods to ease writing tests.
Package mock provides utility methods to ease writing tests.
params
Package params provides a namespaced module parameter store.
Package params provides a namespaced module parameter store.
params/subspace
To prevent namespace collision between consumer modules, we define a type Subspace.
To prevent namespace collision between consumer modules, we define a type Subspace.
simulation
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
nolint
noalias
staking/legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
staking/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
staking/legacy/v0_38
DONTCOVER nolint
DONTCOVER nolint
supply
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/supply/internal/keeper ALIASGEN: github.com/Bococoin/core/x/supply/internal/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Bococoin/core/x/supply/internal/keeper ALIASGEN: github.com/Bococoin/core/x/supply/internal/types
supply/legacy/v0_36
DONTCOVER nolint
DONTCOVER nolint
upgrade
Package upgrade provides a Cosmos SDK module that can be used for smoothly upgrading a live Cosmos chain to a new software version.
Package upgrade provides a Cosmos SDK module that can be used for smoothly upgrading a live Cosmos chain to a new software version.

Jump to

Keyboard shortcuts

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