open-index/open-npm huggingface dataset:
npm package: @gohelpfund/bitcore-ecies-help
Description: ECIES implemented for Bitcore-Help.
Author: BitPay
Latest version: 1.0.4

# ECIES for Bitcore-Help

[![NPM Package](https://img.shields.io/npm/v/bitcore-ecies-help.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-ecies-help)
[![Build Status](https://img.shields.io/travis/gohelpfund/bitcore-ecies-help.svg?branch=master&style=flat-square)](https://travis-ci.org/gohelpfund/bitcore-ecies-help)
[![Coverage Status](https://img.shields.io/coveralls/gohelpfund/bitcore-ecies-help.svg?style=flat-square)](https://coveralls.io/r/gohelpfund/bitcore-ecies-help)

A module for [bitcore-help][bitcore-help] that implements the [Elliptic Curve Integrated Encryption Scheme (ECIES)][ECIES]. Uses ECIES symmetric key negotiation from public keys to encrypt arbitrarily long data streams.

See [the main bitcore-help repo](https://github.com/gohelpfund/bitcore-help) or the [bitcore guide on ECIES](http://bitcore.io/guide/module/ecies/index.html) for more information.

Credit to [@ryanxcharles][ryan] for the original implementation.

## Getting started

ECIES will allow to securely encrypt and decrypt messages using ECDSA key pairs (bitcoin cryptography).

```javascript
var alice = ECIES()
  .privateKey(aliceKey)
  .publicKey(bobKey.publicKey);

var message = 'some secret message';
var encrypted = alice.encrypt(message);

// encrypted will contain an encrypted buffer only Bob can decrypt

var bob = ECIES()
  .privateKey(bobKey)
  .publicKey(aliceKey.publicKey);
var decrypted = bob
  .decrypt(encrypted)
  .toString();
// decrypted will be 'some secret message'
```

## Contributing

See [CONTRIBUTING.md](https://github.com/gohelpfund/bitcore-help/blob/master/CONTRIBUTING.md) on the main bitcore-help repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

[bitcore-help]: http://github.com/gohelpfund/bitcore-help
[ECIES]: http://en.wikipedia.org/wiki/Integrated_Encryption_Scheme
[ryan]: http://github.com/ryanxcharles
npm package: @gohelpfund/helpcore-channel
Description: Add payment channels support to bitcore/helpcore
Author: BitPay
Latest version: 1.0.1

<img src="http://bitcore.io/css/images/module-channel.png" alt="bitcore payment channels" height="35">
# Payment Channels for Bitcore

[![NPM Package](https://img.shields.io/npm/v/bitcore-channel.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-channel)
[![Build Status](https://img.shields.io/travis/bitpay/bitcore-channel.svg?branch=master&style=flat-square)](https://travis-ci.org/bitpay/bitcore-channel)
[![Coverage Status](https://img.shields.io/coveralls/bitpay/bitcore-channel.svg?style=flat-square)](https://coveralls.io/r/bitpay/bitcore-channel)


A module for [bitcore][bitcore] that implements [Payment Channels][channel]. Payment channels (sometimes referred as micropayment channels) are a type of smart contracts that allow rapidly adjusting help transactions. This can be used to do trustless simultaneous payments with a service provider without the need of an intermediary, and some other applications.

See [the main bitcore repo][bitcore] or the [bitcore guide on Payment Channels](http://bitcore.io/guide/module/channel/index.html) for more information.

## Contributing

See [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md) on the main bitcore repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

[bitcore]: https://github.com/bitpay/bitcore
[channel]: https://bitcoin.org/en/developer-guide#micropayment-channel
npm package: @gohelpfund/helpcore-message
Description: Message Verification and Signing for helpcore-lib
Author: Help Core Group, Inc.
Latest version: 2.0.0

# helpcore-message

[![Build Status](https://img.shields.io/travis/gohelpfund/helpcore-message.svg?branch=master&style=flat-square)](https://travis-ci.org/gohelpfund/helpcore-message)
[![NPM Package](https://img.shields.io/npm/v/@gohelpfund/helpcore-message.svg?style=flat-square)](https://www.npmjs.org/package/@gohelpfund/helpcore-message)

> Message Verification and Signing for helpcore-lib

helpcore-message adds support for verifying and signing help messages in [Node.js](http://nodejs.org/) and web browsers.

See [the main helpcore-lib repo](https://github.com/gohelpfund/helpcore-lib) for more information.

## Install

```sh
npm install @gohelpfund/helpcore-message
```

To sign a message:

```javascript
var bitcore = require('@gohelpfund/helpcore-lib');
var Message = require('@gohelpfund/helpcore-message');

var privateKey = bitcore.PrivateKey.fromWIF('cPBn5A4ikZvBTQ8D7NnvHZYCAxzDZ5Z2TSGW2LkyPiLxqYaJPBW4');
var signature = Message('hello, world').sign(privateKey);
```

To verify a message:

```javascript
var address = 'n1ZCYg9YXtB5XCZazLxSmPDa8iwJRZHhGx';
var signature = 'H/DIn8uA1scAuKLlCx+/9LnAcJtwQQ0PmcPrJUq90aboLv3fH5fFvY+vmbfOSFEtGarznYli6ShPr9RXwY9UrIY=';
var verified = Message('hello, world').verify(address, signature);
```

## Contributing

Feel free to dive in! [Open an issue](https://github.com/gohelpfund/helpcore-message/issues/new) or submit PRs.

Please see [CONTRIBUTING.md](https://github.com/gohelpfund/aden/blob/master/CONTRIBUTING.md) on the HelpCore repo for information about how to contribute.

## License

Code released under [the MIT license](LICENSE).
npm package: @gohelpfund/helpcore-p2p
Description: Interface to the help P2P network for Helpcore
Author: BitPay
Latest version: 1.1.9

Helpcore P2P
============

[![NPM Package](https://img.shields.io/npm/v/@gohelpfund/helpcore-p2p.svg?style=flat-square)](https://www.npmjs.org/package/@gohelpfund/helpcore-p2p)
[![Build Status](https://img.shields.io/travis/gohelpfund/helpcore-p2p.svg?branch=master&style=flat-square)](https://travis-ci.org/gohelpfund/helpcore-p2p)
[![Coverage Status](https://img.shields.io/coveralls/gohelpfund/helpcore-p2p.svg?style=flat-square)](https://coveralls.io/r/gohelpfund/helpcore-p2p?branch=master)

`helpcore-p2p` adds Help protocol support for Helpcore.

See [the main helpcore-lib repo](https://github.com/gohelpfund/helpcore-lib) for more information.

## Getting Started

```sh
npm install @gohelpfund/helpcore-p2p
```
In order to connect to the Help network, you'll need to know the IP address of at least one node of the network, or use [Pool](/docs/pool.md) to discover peers using a DNS seed.

```javascript
var Peer = require('@gohelpfund/helpcore-p2p').Peer;

var peer = new Peer({host: '127.0.0.1'});

peer.on('ready', function() {
  // peer info
  console.log(peer.version, peer.subversion, peer.bestHeight);
});
peer.on('disconnect', function() {
  console.log('connection closed');
});
peer.connect();
```

Then, you can get information from other peers by using:

```javascript
// handle events
peer.on('inv', function(message) {
  // message.inventory[]
});
peer.on('tx', function(message) {
  // message.transaction
});
```

Take a look at the [bitcore guide](http://bitcore.io/guide/peer.html) on the usage of the `Peer` class.

## Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our [CONTRIBUTING](https://github.com/gohelpfund/helpcore-p2p/blob/master/CONTRIBUTING.md) file.

## License

Code released under [the MIT license](https://github.com/gohelpfund/helpcore/blob/master/LICENSE).

Copyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.  
Copyright 2016-2017 The Help Foundation, Inc.  
Copyright 2017-2018 Help Core Group, Inc.
npm package: @gohelpfund/helpcore-payment-protocol
Description: Payment Protocol (BIP70 and related) support for helpcore
Author: BitPay
Latest version: 1.7.0

Helpcore Payment Protocol
=========================

[![NPM Package](https://img.shields.io/npm/v/@gohelpfund/helpcore-payment-protocol.svg?style=flat-square)](https://www.npmjs.org/package/@gohelpfund/helpcore-payment-protocol)
[![Build Status](https://img.shields.io/travis/gohelpfund/helpcore-payment-protocol.svg?branch=master&style=flat-square)](https://travis-ci.org/gohelpfund/helpcore-payment-protocol)
[![Coverage Status](https://img.shields.io/coveralls/gohelpfund/helpcore-payment-protocol.svg?style=flat-square)](https://coveralls.io/r/gohelpfund/helpcore-payment-protocol)

A module for [helpcore](https://github.com/gohelpfund/helpcore) that implements [Payment Protocol](https://github.com/bitcoin/bips/blob/master/bip-0070.mediawiki) and other related BIPs.

## Getting Started

This library is distributed in both the npm and bower packaging systems.

```sh
npm install helpcore-lib
npm install helpcore-payment-protocol
```

There are many examples of how to use it on the developer guide [section for payment protocol](https://bitcore.io/api/paypro). For example, the following code would verify a payment request:

```javascript
const PaymentProtocol = require('helpcore-payment-protocol');

const body = PaymentProtocol.PaymentRequest.decode(rawbody);
const request = new PaymentProtocol().makePaymentRequest(body);

const version = pr.get('payment_details_version');
const pki_type = pr.get('pki_type');
const pki_data = pr.get('pki_data');
const serializedDetails = pr.get('serialized_payment_details');
const signature = pr.get('signature');

// Verify the signature
const verified = request.verify();
```

## Contributing

See [CONTRIBUTING.md](https://github.com/gohelpfund/helpcore/blob/master/CONTRIBUTING.md) on the main helpcore repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/gohelpfund/helpcore/blob/master/LICENSE).

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
npm package: @gohike.nl/react-redirection
Description: redirection tool for react
Author: Gio
Latest version: 1.0.0-beta.1

# React-Redirection 🚀

## Please know this package is still under development.

[Redirection](https://en.wordpress.org/plugins/redirection/) is a plugin in wordpress that handles redirects.

This package is for handling redirects using a headless wordpress template.

## How to use.

You can use the packages by importing `{Link}` from `"react-redirection"`

It's a React component, so you can just pass down the things you need as a prop.

:white_check_mark:

```jsx
import { Link } from "@hike/react-redirection";

const App = (data) => (
  <Link
    uri={data?.uri}
    url={data?.url}
    title={data?.title}
    target={data?.target}
  >
    Link
  </Link>
);

export default App;
```

## Features

Currently we support:

- [x] URI redirects (default).
- [x] Regex redirects.

Up and coming:

- [ ] Server name redirects.(from gohike.eu to gohike.nl/en)
- [ ] URL and language (Redirects)
- [ ] 404 (Response)
- [ ] URL and header (Redirect)
- [ ] HTTP codes (Response)

Never going to be supported:

- Redirect to random post

- URL and cookie

- URL and user agent

- URL and login status

- URL and referrer

- URL and IP

- URL and custom filter