# ravencore-message

> Ravencoin Messages for Ravencore

Latest version **1.0.3** (published 2018-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ravencore-message
pnpm add ravencore-message
yarn add ravencore-message
bun add ravencore-message
```

## Health

**Score 5/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-12-15 |
| First published | 2018-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 17 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Under |
| Maintainers | russkidooski |
| Keywords | ravencoin, ravencore, btc, satoshi, message, signing |

## Links

- npm: https://www.npmjs.com/package/ravencore-message
- Repository: https://github.com/RavenDevKit/ravencore-message
- Homepage: https://github.com/RavenDevKit/ravencore-message#readme
- Issues: https://github.com/RavenDevKit/ravencore-message/issues
- npm.io page: https://npm.io/package/ravencore-message

## Dependencies (1)

- [ravencore-lib](https://npm.io/package/ravencore-lib.md) github:ravendevkit/ravencore-lib

## Recent versions

- 1.0.3 (latest) — 2018-12-15

## README

# Ravencoin Message Verification and Signing for Ravencore




ravencore-message adds support for verifying and signing ravencoin messages in [Node.js](http://nodejs.org/) and web browsers.

See [the main ravencore repo](https://github.com/RavenDevKit/ravencore) for more information.

## Getting Started

```sh
npm install ravencore-message
```

```sh
bower install ravencore-message
```

To sign a message:

```javascript
var ravencore = require('ravencore-lib');
var Message = require('ravencore-message');

var privateKey = ravencore.PrivateKey.fromWIF('5K2DxqJ9kLFL3hF3KEWDftAig3TyAXenDxpr27PaLBieuSFo5PQ');
var signature = Message('hello, world').sign(privateKey);
```

To verify a message:

```javascript
var address = 'RGRsG7UQc3AmvdrhPDngpPjvTNhJQFeHYj';
var signature = 'G5cFMHRysjcxkBJ7mol8l3cjPbFQFQ68fNqTGehTO9/cLNUaflt3gQT//yAUp5fqWF0snDlZYkXJoooazBicRTg=';
var verified = Message('hello, world').verify(address, signature);
```

## Contributing

See [CONTRIBUTING.md](https://github.com/RavenDevKit/ravencore/blob/master/CONTRIBUTING.md) on the main ravencore repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/RavenDevKit/ravencore/blob/master/LICENSE).

---
_Source: https://npm.io/package/ravencore-message · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
