deweb

module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0

README

Decentralized Web Services (DWS) Blockchain

Banner!

GitHub tag (latest SemVer) License Discord Discord

Hardware Requirements

Here are the minimal hardware configs required for running a validator/sentry node

  • 8GB RAM
  • 4vCPUs
  • 300GB Disk space

Software Requirements

Install deps

sudo apt-get install build-essential jq

Compile instructions: install GoLang

Install Go 1.19.x The official instructions can be found here: https://golang.org/doc/install

First remove any existing old Go installation as root

sudo rm -rf /usr/local/go

Download the software:

curl https://dl.google.com/go/go1.19.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -

Update environment variables to include go (copy everything and paste)

cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export GOBIN=$HOME/go/bin
export PATH=$PATH:/usr/local/go/bin:$GOBIN
EOF
source $HOME/.profile

To verify that Go is installed:

go version

Should return go version go1.19 linux/amd64

Compile dewebd source code by yourself

Download source code and compile
git clone https://github.com/deweb-services/deweb.git
cd deweb
git checkout v0.3
make build   #it build the binary in build/ folder

To know the version:

build/dewebd version

The output must be 0.3

Is the version match, now you have two options

  • Move the binary to the /usr/local/bin path with: sudo mv build/dewebd /usr/local/bin/
  • Compile and install the binary in the $GOPATH path: make install

Join our Sirius Testnet

Sirius testnet chainId: deweb-testnet-2

Directories

Path Synopsis
cmd
testutil
nullify
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.
x
deweb/types
Package types is a reverse proxy.
Package types is a reverse proxy.
dns_module/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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