Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/block-chen/blocksdk-ruby
Past data inquiry, block inquiry, block chain information inquiry, address wallet creation, event web hook
https://github.com/block-chen/blocksdk-ruby
bitcoin bitcoin-api bitcoin-wallet dash erc20 erc20-tokens ethereum ethereum-address ethereum-api litecoin litecoin-wallet monero monero-api monero-wallet
Last synced: 9 days ago
JSON representation
Past data inquiry, block inquiry, block chain information inquiry, address wallet creation, event web hook
- Host: GitHub
- URL: https://github.com/block-chen/blocksdk-ruby
- Owner: Block-Chen
- Created: 2020-10-15T01:59:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T05:39:47.000Z (about 3 years ago)
- Last Synced: 2023-03-21T04:41:57.239Z (over 1 year ago)
- Topics: bitcoin, bitcoin-api, bitcoin-wallet, dash, erc20, erc20-tokens, ethereum, ethereum-address, ethereum-api, litecoin, litecoin-wallet, monero, monero-api, monero-wallet
- Language: Ruby
- Homepage: https://blocksdk.com
- Size: 80.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# BLOCKSDK for Ruby
[![@BLOCKSDK on Twitter](https://img.shields.io/badge/twitter-%40BLOCKSDK-blue.svg)](https://twitter.com/BlockSdk1)
[![@BLOCKSDK on Facebook](https://img.shields.io/badge/facebook-%40BLOCKSDK-blue.svg)](https://www.facebook.com/blocksdk)
[![Gem Version](https://badge.fury.io/rb/blocksdk.svg)](https://badge.fury.io/rb/blocksdk)
[![DOCS](https://readthedocs.org/projects/sagemaker/badge/?version=stable)](https://docs-v2.blocksdk.com/)## SDK Documentation
[ Our BlockSDK-RUBY Page ](https://docs.blocksdk.com/) includes all the documentation related to RUBY SDK. Sample Codes, to Releases. Here are few quick links to get you there faster.
* [ BlockSDK Developer Docs]## Installation
The BLOCKSDK for Ruby is available from RubyGems.
should pick the specific BLOCKSDK service gems to install.```ruby
gem install blocksdk
gem install httparty
gem install json
```## Quick Examples
### Create an Bitcoin client
```ruby
blockSDK = BlockSDK.new('YOU TOKEN')
btcClient = blockSDK.createBitcoin()
```
### Get Address info
```ruby
addressInfo = btcClient.getAddressInfo({
"address" => "18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX",
"rawtx" => true,
"reverse" => true,
"offset" => 0,
"limit" => 10
})puts addressInfo
```### Create an Bitcoin Wallet
```ruby
wallet = btcClient.createWallet({
"name" : "test"
})
```[BlockSDK Developer Docs]: https://docs.blocksdk.com