开发者社区> 镜像站> NPM> eth-keygen
eth-keygen
Keygen for Ethereum keys and EOA's
Last updated 4 months ago by emilbayes .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eth-keygen 
SYNC missed versions from official npm registry.

eth-keygen

Build Status

Keygen for Ethereum keys and EOA's

Usage

var keygen = require('eth-keygen')

const account = keygen() // { publicKey, privateKey, address }

API

const { publicKey, privateKey, address } = keygen([privateKey], [chainId])

Generate a new account, or recreate an existing one from privateKey, with optional chainId. Returns Buffer publicKey, sodium SecureBuffer privateKey and a checksum encoded string address (with optional chainId included in the checksum).

Install

npm install eth-keygen

License

ISC

Current Tags

  • 1.0.2                                ...           latest (4 months ago)

2 Versions

  • 1.0.2                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (1)
Dependents (1)