Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This Ruby Gem is the official reference client for the Block.io's infrastructure APIs. To use this, you will need the Dogecoin, Bitcoin, or Litecoin API key(s) from Block.io. Go ahead, sign up :)
Add this line to your application's Gemfile:
gem "block_io"
And then execute:
$ bundle install
Or install it yourself as:
$ gem install block_io
10/28/22: Version 3.1.0 uses Typhoeus instead of httprb. If using proxy, :url must be provided instead of previous :hostname and :port.
05/30/22: Version 3.0.5 fixes Litecoin P2SH address version (properly now).
12/26/21: Version 3.0.4 drops support for EOL Ruby 2.4, 2.5. Supports Ruby 3.1.
09/28/21: Version 3.0.3 supports witness_v1 outputs (Bech32m).
07/21/21: Version 3.0.2 fixes Litecoin P2SH address version.
06/09/21: Version 3.0.1 implements use of dynamic decryption algorithms.
04/14/21: BREAKING CHANGES. Version 3.0.0. Remove support for Ruby < 2.4.0, and Windows. Behavior and interfaces have changed. By upgrading you'll need to revise your code and tests.
It's super easy to get started. In your Ruby shell ($ irb), for example, do this:
require 'block_io'
blockio = BlockIo::Client.new(:api_key => "API KEY", :pin => "SECRET PIN")
If you do not have your PIN, or just wish to use your private key backup(s) directly, do this instead:
blockio = BlockIo::Client.new(:api_key => "API KEY")
blockio.get_balance
blockio.prepare_transaction(..., :keys => [BlockIo::Key.from_wif("PRIVATE_KEY_BACKUP_IN_WIF").private_key_hex])
And you're good to go:
blockio.get_new_address
blockio.get_my_addresses
For other initialization options/parameters, see lib/block_io/client.rb
.
For more information, see https://block.io/api/simple/ruby.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that block_io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.