validitylabs / hopr-polkadot

Substrate Runtime for HOPR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The HOPR code now lives as its own GitHub organization on http://github.com/hoprnet

HOPR is a privacy-preserving messaging protocol that incentivizes users to participate in the network. It provides privacy by relaying messages via several relay nodes to the recipient. Relay nodes are getting paid via payment channels for their services.

hopr-polkadot

A SRML module whose purpose is to process payments of HOPR.network as a parachain of Polkadot.

For more details about HOPR.network and its integration into the Polkadot ecosystem, see a more detailed description here.

Building

Install Rust:

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

Install required tools:

./scripts/init.sh

Build the WebAssembly binary:

./scripts/build.sh

Build all native code:

cargo build
# get some coffee ...

Testing

You can run the unit tests with:

cargo test -p hopr-polkadot-runtime

Run a parachain node

You can start a development chain with:

cargo run -- --dev

Run Hopr

# node hopr --network=polkadot

About

Substrate Runtime for HOPR

License:GNU General Public License v3.0


Languages

Language:Rust 98.0%Language:Shell 2.0%