npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ravenrebels/ravencoin-key

v3.0.3

Published

Generate Ravencoin addresses from mnemonic code. BIP32, BIP39, BIP44

Readme

@ravenrebels/ravencoin-key

Generate Ravencoin and Evrmore addresses from a mnemonic phrase following the standards BIP32, BIP39, and BIP44.

Professional, lightweight, and easy-to-use library for handling hierarchical deterministic (HD) keys and addresses.


Quick Start

The easiest way to generate a new wallet with a random mnemonic:

import RavencoinKey from "@ravenrebels/ravencoin-key";

const wallet = RavencoinKey.generateAddressObject("rvn");
console.log(wallet);

Output:

{
  "address": "RKbP9SMo2KTKWsiTrEDhTWPuaTwfuPiN8G",
  "mnemonic": "orphan resemble brain dwarf bus fancy horn among cricket logic duty crater",
  "privateKey": "a5592434532a09a73350906f7846d272135a56b5a34d900659b31d2bb1aa6dfe",
  "publicKey": "038949bfe6150838e253966636bf6dc374d8036cd699a81fbdd96b0042978145cb",
  "WIF": "KyWuYcev1hJ7YJZTjWx8coXNRm4jRbMEhgVVVC8vDcTaKRCMASUE",
  "network": "rvn",
  "path": "m/44'/175'/0'/0/0"
}

Supported Networks

| Network Code | Description | | :--- | :--- | | rvn | Ravencoin Mainnet | | rvn-test | Ravencoin Testnet | | evr | Evrmore Mainnet | | evr-test | Evrmore Testnet |


Features & Examples

Get External and Internal (Change) Addresses

Derive standard BIP44 address pairs.

const mnemonic = "wrong breeze brick wrestle exotic erode news clown copy install marble promote";
const ACCOUNT = 0;
const POSITION = 0;

const addressPair = RavencoinKey.getAddressPair("rvn", mnemonic, ACCOUNT, POSITION);

// Returns custom objects for both internal (change) and external addresses
console.log(addressPair.external);

High Performance Derivation

If you need to derive thousands of addresses, reuse the hdKey object for maximum performance.

const hdKey = RavencoinKey.getHDKey("rvn", mnemonic);
const path = "m/44'/175'/0'/0/0";
const address = RavencoinKey.getAddressByPath("rvn", hdKey, path);

Import via WIF (Wallet Import Format)

Get public info from a private WIF key.

const WIF = "KyWuYcev1hJ7YJZTjWx8coXNRm4jRbMEhgVVVC8vDcTaKRCMASUE";
const addressObj = RavencoinKey.getAddressByWIF("rvn", WIF);

console.log(addressObj.address); // RKbP9...
console.log(addressObj.publicKey); // 03894...

Installation

npm install @ravenrebels/ravencoin-key

Technical Details

BIP Standards Support

This library follows industry standards for HD wallets:

  • BIP32: Hierarchical Deterministic Wallets.
  • BIP39: Mnemonic code for generating deterministic keys.
  • BIP44: Multi-Account Hierarchy for Deterministic Wallets.

BIP44 Path Structure

m / purpose' / coin_type' / account' / change / address_index

For Ravencoin:

  • Purpose: 44'
  • Coin Type: 175'
  • Account: 0' (Default)
  • Change: 0 (External) or 1 (Internal/Change)

Development

Build

Generate distribution files:

npm run build

Test

Run the test suite (requires build):

npm test

License

MIT


Maintained by Raven Rebels / Dick Henrik Larsson