Ruby
Getting started
Ensure you have a recent version of Ruby installed.
Install
libsecp256k1
as described here.Add the gem to your Gemfile:
Then install:
Use:
Examples
Copy .env.sample
to .env
and configure if needed.
Then run the example:
Tests
Configure env as described in the examples section above.
User Acceptance Testing
Please checkout the UAT.md document for more details.
Abort 6 error
If you encounter this error, you either might have to:
Add a new entry to
ffi_lib
inmoney-tree/lib/openssl_extensions.rb
if using a newer OpenSSL versionSpecify where your
libsecp256k1.dylib
is located with theLIBSECP256K1
environment variable.
Licence
MIT
Last updated