Skip to content
View dogschain's full-sized avatar

Block or report dogschain

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dogschain/README.md

DogsChain

This repository hosts dogschain, the implementation of the dogschain based on the Cosmos SDK.

Note: Requires Go 1.15+

INSTALL DOGSCHAIN

This guide will explain how to install the dogschaind and dogschaincli entrypoints onto your system.

Step 1 : Install Go

Install go by following the official docs. Remember to set your $PATH environment variable, for example:

mkdir -p $HOME/go/bin  
echo "export PATH=$PATH:$(go env GOPATH)/bin" >> ~/.bash_profile  
echo "export GOPATH=$HOME/go" >> ~/.bash_profile  
echo "export GOBIN=$GOPATH/bin" >> ~/.bash_profile  
echo "export PATH=$PATH:$GOBIN" >> ~/.bash_profile  
source ~/.bash_profile  

Under Windows, you may set environment variables(HOME or GO111MODULE) through the “Environment Variables” button on the “Advanced” tab of the “System” control panel. Some versions of Windows provide this control panel through the “Advanced System Settings” option inside the “System” control panel.

$env:GO111MODULE="on"

Step 2 : Build install dogschaind and dogschaincli

Next, let’s install the latest version of DogsChain. Make sure you git checkout the latest released version.

git clone -b <latest-release-tag> https://github.com/dogschain/dogschain
export GO111MODULE=on
cd dogschain && make install

If this command fails due to the following error message, you might have already set LDFLAGS prior to running this step.

flag provided but not defined: -L
usage: link [options] main.o
...
make: *** [install] Error 2

Unset this environment variable and try again.

LDFLAGS="" make install

NOTE: If you still have issues at this step, please check that you have the latest stable version of GO installed.

Step 3 : Verify dogschaind and dogschaincli

That will install the dogschaind and dogschaincli binaries. Verify that everything is OK:

$ dogschaind version --long
$ dogschaincli version --long

dogschaincli for instance should output something similar to:

name: dogschain
server_name: dogschaind
client_name: dogschaincli
version: 1.0.0
commit: 3a419991283c48c6d9facfff8771f8a21e30a9a7
build_tags: netgo,ledger
go: go version go1.15.8 darwin/amd64
build_deps:
- github.com/cosmos/cosmos-sdk@v0.39.2
- github.com/tendermint/tendermint@v0.33.9
- ...

REFERENCES

Cosmos

Cosmos Hub

Cosmos SDK

Tendermint Core

Cosmos Rest Api

Pinned Loading

  1. dogschain dogschain Public

    Go 1 1

  2. cosmos-sdk cosmos-sdk Public

    Forked from cosmos/cosmos-sdk

    ⛓️ A Framework for Building High Value Public Blockchains ✨

    Go 1 1