1.0.6 • Published 9 years ago

string-to-btc-addresses v1.0.6

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

Node.js: string-to-btc-addresses

This little script encodes a given text into valid bitcoin addresses that can later be used as outputs in a transaction in order to save a message forever in the blockchain.

This was inspired by Ken Shirriff.

This package can be found on npm.

Usage

npm install string-to-btc-addresses --save-dev

In your application:

var stringToBtcAddresses = require('string-to-btc-addresses');

var addresses = stringToBtcAddresses.encode('this is so romantic :heart:');
var strings = stringToBtcAddresses.decode(addresses);

console.log(addresses);
console.log(strings);
1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago