{"repo":"yegor256/sibit","free":true,"listed":false,"github":"https://github.com/yegor256/sibit","clone":"git clone https://github.com/yegor256/sibit.git","description":"Simplified Command-Line Bitcoin Client and a Ruby library for making Bitcoin payments and checking address balances","language":"Ruby","stars":27,"topics":["bitcoin","bitcoin-client","ruby","cryptocurrency","blockchain"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Send Bitcoin via Command Line, in Ruby To understand how the Bitcoin protocol works, I recommend you watching this [short video] and then reading this blog post of mine: [ Sibit Demonstrates How Bitcoin Works ][blog]. This is a simple Bitcoin client for use from the command line or from your Ruby app. You don't need to run any Bitcoin software or install anything. All you need is just a command line and [Ruby] 2.3+. The purpose of this client is to simplify most typical operations with Bitcoin. If you need something more complex, I would recommend using [bitcoin-ruby] for Ruby and [Electrum] as a GUI client. You may want to discuss this tool at [Bitcointalk] and give the thread a few merits. This is a Ruby gem, install it first (if it doesn't work, there are some hints at the bottom of this page): Then, you generate a [private key]: Next, you create a new [address], using your private key: To check the balance at the address (the result is in [satoshi]): To send a payment from a few addresses to a new address: Here: AMOUNT is the amount of [satoshi] you are sending (integer), or 0.42BTC if in bitcoins (with a suffix), FEE is the [miner fee] you are ready to spend to get this transaction delivered (you can say S , M , L , or XL if you want it to be calculated automatically), P1,P2,... is a comma-separated list of private keys P you are sending your coins from, TARGET is the address you are sending to, CHANGE is the address where the change goes. The transaction hash is returne","default_branch":null,"files":null,"tree":[],"storefront":"/r/yegor256","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yegor256/sibit/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."}