/ZeroDAO-node

Decentralized social networks and reputation systems.

Primary LanguageRustApache License 2.0Apache-2.0

Substrate version License
Twitter URL Discord Medium

For technical and guides, please refer to the ZeroDAO Docs.

1. Introduction

We define ZeroDAO as a public resource, including a social network, a reputation system. the ZeroDAO social network solves the incentive dilemma that currently exists in blockchain social networks, while incentivizing good behavior makes good behavior disappear. Imagine what Twitter would look like if you could get $1 for posting a tweet. Two-factor theory even concludes that security, salary, fringe benefits, good pay is not Motivators but Hygiene factors. Hygiene factors that do not give positive satisfaction or lead to higher motivation.

ZeroDAO social network solves the incentive dilemma by amplifying social motivation and internalizing external motivation.

In the ZeroDAO network, we still quantify user contributions and settle them into Tokens, which we call social currency. It is frozen and at some point assigned to users trusted by the owner, it is also social currency and goes on to be shared. The user's social motivation is amplified. We use to shared information, now we share value.

ZeroDAO social network brought us the reputation system and we proposed the TIR algorithm to compute the graph and obtain the reputation of each user. TIR is difficult to compute but easy to verify on-chain. This feature makes ZeroDAO's reputation system completely decentralized. At the same time, it has strong ability to prevent Sybil Attack to meet the security needs of financial products and on-chain governance. ZeroDAO also brings credit finance, zero-cost payments, and other applications to the blockchain.

2. Building

Initial Setup

Setup rust

curl https://sh.rustup.rs -sSf | sh
rustup update stable

You will also need to install the following packages:

Mac

brew install cmake pkg-config openssl git llvm

Linux

sudo apt install cmake pkg-config libssl-dev git clang libclang-dev

More

ZeroDAO is based on Substrate, for more information please go to Substrate.

Installation

make init

Build

make build-release

3. Run

make run-dev

4. Development

Test All

make test

Purge the development chain

make purge-dev

Docker

Start a single chain

./scripts/docker_run.sh

You can also

# Run ZeroDAO node without re-compiling
./scripts/docker_run.sh ./target/release/zerodao-node --dev --ws-external

# Purge the local dev chain
./scripts/docker_run.sh ./target/release/zerodao-node purge-chain --dev

References