This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@hoprnet/hopr-core-connector-interface
TypeScript icon, indicating that this package has built-in type declarations

1.70.12 • Public • Published

HOPR net

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-core-connector-interface

This repo defines the interface between hopr-core and blockchains that are able to process HOPR incentives. The details of the on-chain logic are left to the implementor and must follow the whitepaper, examples are hopr-polkadot and hopr-ethereum.

Chain requirements

The HOPR protocol comes with some requirements that must be met by chains that process its incentives. As HOPR is meant to be open and inclusive, the requirements for on-chain operations are intentionally kept very basic in order to not exclude any specific chain. Nevertheless, the following requirements are mandatory:

  • On-chain hash verification of custom bitstrings
  • On-chain signature verification of custom bitstrings
  • On-chain binary operations on custom bitstrings
  • A reasonable instruction limit to support small programs
  • A general-purpose programming language to define the on-chain logic

Probably unsupported chains (in alphabetical order):

  • Bitcoin
  • Bitcoin Cash (and derivates)

This holds also for all other blockchain that rely on Bitcoin Script and / or come with a very restrictive instruction limit.

Implementors (in alphabetical order):

Readme

Keywords

none

Package Sidebar

Install

npm i @hoprnet/hopr-core-connector-interface

Homepage

hoprnet.org

Weekly Downloads

1

Version

1.70.12

License

GPL-3.0-only

Unpacked Size

62.9 kB

Total Files

26

Last publish

Collaborators

  • hopr-bot
  • robertkiel