Giter Site home page Giter Site logo

densmirnov / blockchain-pen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makevoid/blockchain-pen

0.0 2.0 0.0 358 KB

BlockchainPen it's an UI for writing messages to the blockchain.

Home Page: http://blockchainpen.com

Ruby 4.05% CoffeeScript 18.31% CSS 23.18% JavaScript 46.23% HTML 8.15% Shell 0.08%

blockchain-pen's Introduction

Blockchain Pen

A Pen (and webapp) to write "eternal" messages into the Blockchain.

Use it on:

Your message will be stored into a bitcoin transaction. You have to load some millibits in it to send a message to pay for the transaction fees.

The transaction cost is 0.1 mBTC (millibitcoin, that's 0.0001 BTC).

You can load the funds from your wallet / keychain software to the bitcoin account (address) that is shown on the right. Copy paste the address or scan the QR code, deposit your preferred amount. All the coins go to miners, BlockchainPen doesn't keep any key or bitcoins, the private key is generated locally in your browser via bitcore-lib, the transaction is done via Blockchain.info (get utxos) and Blockcypher APIs (pushtx).

Enjoy!

@makeovoid

More infos

how it works under the hood:

  • uses blockchain.info to get balance and utxo (see npm module blockchain-info-api-basic)
  • calculates balance in remaining message to write (instead of btc or mbtc)
  • uses blockcypher api to broadcast the transaction (blockchain.info doesn't accepts op_return)
  • generates an address using bitcore-lib clientside and saves it to localStorage
  • signs thre transaction with bitcore and adds the message (OP_RETURN - bitcoin addData function)
  • a very simple UI using zepto (jquery-like)

that's basically it!

![](http://mkvd.s3.amazonaws.com/pics/blockchainpen_mindblown.png)

enjoy!

For Developers:

download the source:

git clone https://github.com/makevoid/blockchain_pen_coffee

run it:

python -m SimpleHTTPServer 3000

open http://localhost:3000

Edits

run guard to compile the coffeescript files into js

yes,

run:

guard

Node

if you want to run pen_cli.coffee with nodejs

Get Coffee:

npm install -g coffee-script

run:

coffee pen_cli.coffee

Eternity Wall

You can use Blockchain Pen to write to EternityWall, just prepend EW in front of your message, and after confirmation it will be posted on EternityWall:

You can put an hashtag or something, and then search your messages afterwards: http://eternitywall.it/search?q=makevoid

Enjoy!!!

blockchain-pen's People

Contributors

makevoid avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.