Skip to content

safex/safex_addressjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safex Address Util (javascript)

This utility allows you to generate safex addresses and their checksums. The utility is self-contained, there are no external dependencies.

Based on monero-wallet-generator (original copyright notices are available here)

Usage

npm i --save safex-addressjs

Generate wallet

const sa = require('safex-addressjs');

const seed = sa.sc_reduce32(sa.rand_32());
const keys = sa.create_address(seed);
const pubkey = sa.pubkeys_to_string(keys.spend.pub, keys.view.pub);

console.log(keys);
console.log(pubkey);

License

MIT

About

npm package for dealing with safex addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published