An open API service indexing awesome lists of open source software.

https://github.com/dappforce/subsocial-parachain

The Subsocial parachain, built with the Substrate framework, provides the blockspace and social primitives needed to build a decentralized social graph.
https://github.com/dappforce/subsocial-parachain

blockchain kusama parachain polkadot protocol social-media social-network social-protocol subsocial substrate web3-social

Last synced: 2 months ago
JSON representation

The Subsocial parachain, built with the Substrate framework, provides the blockspace and social primitives needed to build a decentralized social graph.

Awesome Lists containing this project

README

        

# Subsocial parachain node

The Subsocial parachain is our custom built Kusama blockchain, based on the Substrate framework.

## Build

For Linux, FreeBSD, OpenBSD, and macOS:

```sh
git clone https://github.com/dappforce/subsocial-parachain
cd subsocial-parachain/
sh scripts/init.sh
cargo build --release
```

## Run

Take into account that you need to build a binary as described in the previous step.

Simply run and join the network:

```shell
./target/release/subsocial-collator \
--name=your-node-name \
-- \
--execution=wasm \
--chain=kusama
```

Run as an archive node (store all blocks state):

```shell
./target/release/subsocial-collator \
--name=your-node-name \
--pruning=archive \
-- \
--execution=wasm \
--chain=kusama
```

### Using docker

Official Docker Hub image of the Subsocial parachain:
https://hub.docker.com/r/dappforce/subsocial-parachain

Simply run and join the network with docker:

```shell
docker run -d -v node-data:/data dappforce/subsocial-parachain:latest subsocial-collator \
--name=your-node-name \
-- \
--execution=wasm \
--chain=kusama
```

### Run a local testnet using parachain-launch

- Install [parachain-launch](https://github.com/open-web3-stack/parachain-launch)
- Install [Docker-compose](https://docs.docker.com/compose/install/)
- Configure and launch with a single command: `./parachain-launch/launch.sh`

**Note:**

- You may need to build docker image if the one [in registry](https://hub.docker.com/r/dappforce/subsocial-parachain) is outdated.
- To build latest docker image, compatible with parachain-launch, run exactly:
```shell
docker build . -f docker/Dockerfile -t dappforce/subsocial-parachain:rococo
```