Socket
Book a DemoInstallSign in
Socket

zaddr

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zaddr

A lightweight Javascript library for generating Zcash zaddrs and zkeys

Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

zaddr

TRAVIS NPM

js-standard-style

A lightweight Javascript library for generating Zcash zaddrs and zkeys

NOTE: This library is under active development. Observe the marked TODOs and proceed at your own discretion.

Install

npm install zaddr --save

Example

const zaddr = require('zaddr')

const network = 'mainnet'

const key = zaddr.generateKey(network)
// => SKxsbCVjuidoTfTm58UmGv32Bap5YeboJqVc2hScye1WrearWbHA

const address = zaddr.generateAddressFromKey(key, network)
// => zcB54stMXcyiDhDCLtvHcEDismnWrTycEW4ktU4iEc5H1tH313zjn4buiTRjXiNhcTw5yR4De8p787qqJbz1iRj37uwiKJB

const wallet = zaddr.generateWallet(network)
// => { key: 'SKxsbCVjuidoTfTm58UmGv32Bap5YeboJqVc2hScye1WrearWbHA',
//      zaddr: 'zcB54stMXcyiDhDCLtvHcEDismnWrTycEW4ktU4iEc5H1tH313zjn4buiTRjXiNhcTw5yR4De8p787qqJbz1iRj37uwiKJB' }

License

MIT License

Keywords

crypto

FAQs

Package last updated on 07 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts