Use bitcore-lib via Ruby (thanks to Opal)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
dist
lib
old
vendor
.gitignore
Gemfile
Gemfile.lock
Guardfile
Rakefile
Readme.md
build.rb
bundle.rb
config.ru
favicon.ico
index.html
package.json
run

Readme.md

Opal Bitcore-lib

Use bitcore-lib via Ruby (thanks to Opal)

Current version: Node JS env only.

Currently it generates a Bitcoin private key and stores it in a config file.

Bundling is done with Ruby

Execution is in NodeJS

Prerequisites

  • Node

  • Ruby (with Bundler gem installed - gem i bundler)

Setup

npm install

bundle

Run (just run - you don't need ruby/bundle for this)

node dist/bundle.js

Run (rebuild and run)

./run

TODO

  • support local key storage via browser's localStorage when ran on the browser