The Ruby gem wrapper for Fireblocks! This gem is actively being developed. Be sure to check the branch for the version you're using.
To install, type:
gem install fireblocksAdd to your Gemfile:
gem "fireblocks", "~> 0.3.0"Check version file for most current.
Run bundle install
API keys must be configured in the gem setup. You can do this anywhere in your application before you make API calls using the gem.
Fireblocks.configure do |config|
config.api_key = 'api_key'
config.private_key = 'private_key'
config.base_url = 'url'
endconfig.base_url - the default is set to 'https://api.fireblocks.io'
- Full API documentation for this gem go to API reference.
- Fireblocks official SDKs can be found here
Available methods can be found in Fireblocks::API
# To create a vault account
Fireblocks::API.create_vault_account(name: 'test_name')
# To get all vault accounts
Fireblocks::API.get_vault_accountsBug reports and pull requests are welcome.
- Please be sure to include tests with your PRs.
- Run
bundle exec rubocopto ensure style with the rest of the project