Skip to content

Decentralized social networks and reputation systems.

License

Notifications You must be signed in to change notification settings

ZeroDAO/ourspace-v0.0.1

 
 

Repository files navigation

Logo

Substrate version codecov License
Twitter URL Discord Medium

We are planning the next version. It adds to the graph database by fetching social graph data from each chain. Not only does it run the TIR algorithm to calculate reputation, but also, anyone can deploy smart contracts to calculate the social graph.

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

1. Introduction

We define Ourspace as a public resource, including a social network, a reputation system. the Ourspace 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.

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

In the Ourspace 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.

Ourspace 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 Ourspace'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. Ourspace also brings credit finance, zero-cost payments, and other applications to the blockchain.

Web3 Grants

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

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

Installation

make init

Build

make build-release

3. Dev Network

1. Run as dev

make run-dev

2. Run as local

Start the local blockchain node using the alice account by running the following command:

./target/release/ourspace \
  --base-path /tmp/alice \
  --chain local \
  --alice \
  --node-key 0000000000000000000000000000000000000000000000000000000000000001
  --validator

Start a second local blockchain node using the bob account by running the following command:

./target/release/ourspace \
  --base-path /tmp/bob \
  --chain local \
  --bob \
  --port 30334 \
  --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
  --validator

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 Ourspace node without re-compiling
./scripts/docker_run.sh ./target/release/ourspace --dev --ws-external

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

References

About

Decentralized social networks and reputation systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.0%
  • Other 1.0%