deweb
所属分类:区块链开发
开发工具:GO
文件大小:1314KB
下载次数:0
上传日期:2022-11-06 18:11:13
上 传 者:
sh-1993
说明: 去中心化Web服务区块链
(deweb,Decentralized Web Services Blockchain)
文件列表:
LICENSE (11356, 2022-11-07)
Makefile (3378, 2022-11-07)
app (0, 2022-11-07)
app\app.go (31048, 2022-11-07)
app\export.go (5662, 2022-11-07)
app\genesis.go (750, 2022-11-07)
app\simulation_test.go (3106, 2022-11-07)
assets (0, 2022-11-07)
assets\banner.png (310154, 2022-11-07)
cmd (0, 2022-11-07)
cmd\dewebd (0, 2022-11-07)
cmd\dewebd\main.go (425, 2022-11-07)
cmd\dewebd\root.go (11831, 2022-11-07)
commands_notes.md (6959, 2022-11-07)
config.yml (1080, 2022-11-07)
contrib (0, 2022-11-07)
contrib\devtools (0, 2022-11-07)
contrib\devtools\Makefile (3792, 2022-11-07)
docs (0, 2022-11-07)
docs\babel.config.js (89, 2022-11-07)
docs\docs.go (66, 2022-11-07)
docs\docs (0, 2022-11-07)
docs\docs\domains (0, 2022-11-07)
docs\docs\domains\_category_.json (56, 2022-11-07)
docs\docs\domains\dws-dns-server.md (951, 2022-11-07)
docs\docs\domains\dws-domains.md (5819, 2022-11-07)
docs\docs\fullnode (0, 2022-11-07)
docs\docs\fullnode\01-overview.md (5599, 2022-11-07)
docs\docs\fullnode\02-validator-setup.md (12862, 2022-11-07)
docs\docs\fullnode\_category_.json (53, 2022-11-07)
docs\docs\introduction.md (710, 2022-11-07)
docs\docs\support (0, 2022-11-07)
docs\docs\support\_category_.json (43, 2022-11-07)
... ...
# Decentralized Web Services (DWS) Blockchain
![Banner!](https://github.com/deweb-services/deweb/blob/master/assets/banner.png)
[![GitHub tag (latest SemVer)](https://github.com/deweb-services/deweb/blob/master/https://img.shields.io/github/v/tag/deweb-services/deweb)](https://github.com/deweb-services/deweb/blob/master/https://github.com/deweb-services/deweb/releases)
![License](https://github.com/deweb-services/deweb/blob/master/https://badgen.net/github/license/deweb-services/deweb)
[![Discord](https://github.com/deweb-services/deweb/blob/master/https://badgen.net/badge/icon/discord?icon=discord&label)](https://github.com/deweb-services/deweb/blob/master/https://discord.gg/dws)
[![Discord](https://github.com/deweb-services/deweb/blob/master/https://img.shields.io/discord/905830770441093150)](https://github.com/deweb-services/deweb/blob/master/https://discord.gg/dws)
## 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-amd***.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/amd***
## 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.1
make build #it build the binary in build/ folder
```
To know the version:
```
build/dewebd version
```
The output must be `0.3.1`
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-sirius`
- [Instructions](https://github.com/deweb-services/deweb/blob/master/https://docs.deweb.services/fullnode/validator-setup)
近期下载者:
相关文件:
收藏者: