# string-to-btc-addresses

> A little programm that encodes a string into a parsable transaction that can be signed and put into the blockchain

Latest version **1.0.6** (published 2014-11-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install string-to-btc-addresses
pnpm add string-to-btc-addresses
yarn add string-to-btc-addresses
bun add string-to-btc-addresses
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2014-11-26 |
| First published | 2014-11-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | = |
| Maintainers | timdaub |
| Keywords | bitcoin, blockchain, transaction, encode |

## Links

- npm: https://www.npmjs.com/package/string-to-btc-addresses
- Repository: git@github.com:TimDaub/string-to-btc-addresses
- Homepage: https://github.com/TimDaub/string-to-btc-addresses
- Issues: https://github.com/TimDaub/string-to-btc-addresses/issues
- npm.io page: https://npm.io/package/string-to-btc-addresses

## Dependencies (2)

- [bignum](https://npm.io/package/bignum.md) ^0.9.0
- [base58-native](https://npm.io/package/base58-native.md) ^0.1.4

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2014-11-26
- 1.0.5 — 2014-11-26
- 1.0.4 — 2014-11-26
- 1.0.3 — 2014-11-26
- 1.0.2 — 2014-11-26
- 1.0.1 — 2014-11-26
- 1.0.0 — 2014-11-26

## README

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](http://www.righto.com/2014/02/ascii-bernanke-wikileaks-photographs.html). 


This package can be found on [npm](https://www.npmjs.org/package/string-to-btc-addresses).

## 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);
```

---
_Source: https://npm.io/package/string-to-btc-addresses · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
