Skip to content

Ruby wrapper for indy-sdk

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

johncallahan/rindy

Repository files navigation

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.

About

Ruby wrapper for indy-sdk

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published