{"repo":"nervosnetwork/ckb-sdk-ruby","free":true,"listed":false,"github":"https://github.com/nervosnetwork/ckb-sdk-ruby","clone":"git clone https://github.com/nervosnetwork/ckb-sdk-ruby.git","description":"Ruby SDK for CKB","language":"Ruby","stars":22,"topics":["nervos","ckb","blockchain","ruby"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"ckb-sdk-ruby Ruby SDK for CKB The ckb-sdk-ruby is still under development and NOT production ready. You should get familiar with CKB transaction structure and RPC before using it. WARNING Module Indexer has been removed from ckb v0.40.0: Please use ckb-indexer as an alternate solution. The following RPCs hash been removed from ckb v0.40.0: get live cells by lock hash get transactions by lock hash index lock hash deindex lock hash get lock hash index states get capacity by lock hash Since ckb v0.36.0 SDK use ckb-indexer to collect cells, please see Usage for examples. Prerequisites Require Ruby 2.4 and above. Ubuntu This SDK depends on the rbsecp256k1 gem. You need to install libsecp256k1. Follow this to do so. macOS Installation Add this line to your application's Gemfile: And then execute: $ bundle install If you just want to use it in a console: Usage RPC interface returns parsed JSON object API interface returns Types instead of Hash Send capacity Provide wallet with a public key Run Tests Development After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run bundle exec rake install . License The gem is available as open source under the terms of the MIT License. Changelog See CHANGELOG for more information.","default_branch":null,"files":null,"tree":[],"storefront":"/r/nervosnetwork","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nervosnetwork/ckb-sdk-ruby/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}