Skip to content

darkwallet/stealth.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StealthJS Build Status Coverage Status

Stealth addresses are a new form of bitcoin addresses that solve the problem of address reuse.

They allow the sender to generate new addresses for the receiver, and sending without anyone watching the blockchain knowing the receiver is the owner of the original stealth address.

The required extra data for the receiver to know the transaction is for her is included in the blockchain together with the transaction by using the OP_RETURN instruction.

You can see how a stealth transaction looks like.

Note: OP_RETURN is just supported as standard in the bitcoin network in recent versions of the mining software, so not all miners will confirm or propagate the transactions, this means at this moment sometimes they can take a bit longer to confirm. Also you probably won't see the unconfirmed transaction, but this is more an issue in our obelisk interaction or in obelisk.

Installation

You can install it using npm:

$ npm install stealth.js --save

And require it as a node module or as AMD.

How Stealth Addresses Work

More information at DarkWallet/Stealth.

About

Javascript module with stealth implementation compatible with bitcoinjs-lib

Resources

License

Stars

Watchers

Forks

Packages

No packages published