/ruby-bitcoin-secp256k1

Ruby binding to bitcoin's secp256k1 implementation.

Primary LanguageRubyMIT LicenseMIT

ruby-bitcoin-secp256k1

Prerequiste

In order to use this gem, libsecp256k1 with recovery module enabled must be in place.

If you have cloned the project and in project root:

git submodule update --init --recursive
./install_lib.sh

Install

gem i bitcoin-secp256k1

Then require 'secp256k1' (without bitcoin- prefix) in your source code.

Usage

Check test for examples.

LICENSE

MIT License