Skip to content

validitylabs/hopr-polkadot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published