Project

rindy

0.0
No release in over 3 years
Low commit activity in last 3 years
Ruby wrapper for indy-sdk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

rindy

License License: MIT

A ruby gem for indy-sdk.

Migration notice

This project has been moved to aries-sdk-ruby.

Installation

Create a new rails application:

$ rails new rindy-rails --skip-active-record
$ cd rindy-rails
$ 

Then, add this line to your application's Gemfile:

gem 'rindy'

You must have rust installed and set LIBRARY_PATH:

$ export LIBRARY_PATH=/your/path/to/indy-sdk/libindy/target/debug/

See these instructions to install or build the Indy SDK. Then, execute:

$ bundle

WARNING: You may have to wait a bit for the native extension to build the rindy gem.

Usage

To try out the gem, execute:

$ bundle exec rails c
> wallet = IndyWallet.new("mywallet")
> wallet.create
> pool = IndyPool.new("mypool")
> pool.create
> 

If you check ~/.indy_client/pool and ~/.indy_client/wallet directories, you should see the pool and wallet you created.

Development

First, you must have rust installed and set LIBRARY_PATH:

$ export LIBRARY_PATH=/your/path/to/indy-sdk/libindy/target/debug/

See these instructions to install or build the Indy SDK. Then, clone the repo and execute:

$ rake
$ rspec
$

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/johncallahan/rindy.

License

The gem is available as open source under the terms of the MIT License and the Apache 2.0 License.