Introducing Cryptos-ruby project

I just want to announce the very first release [v0.0.3] of Cryptos-ruby project, a simple and very easy to use Ruby API to manipulate multiple crypto coins. For more information please check Github project page. Features Generate private/public keys Generate Bitcoin/Litecoin addresses (more to come) Create Bitcoin/Litecoin transactions Execute atomic swaps between Bitcoin and Litecoin Installation gem install cryptos Usage # Importing library... 2.5.1 :001 > require 'cryptos' # Generating private key. [Read More]

Bitcoin: transaction

The hard way - Bitcoin: Transaction This is Part 2 of ‘The hard way - Bitcoin’ series and I will start with ‘the easy way’ section first because even this gets a bit complex, then will continue with the hard stuff, crafting a Bitcoin transaction from scratch using basic math and cryptography. A. The easy way Create private key, public key and address We are going to generate private key, public key and Bitcoin testnet address to be used in this article. [Read More]

Bitcoin: private key, public key, address

The hard way series - Bitcoin: private key, public key, address This article is all about two ways of generating a Bitcoin address: the hard way using simple math and the easy way using an existing Bitcoin library. A. The hard way In this section I am going to use simple math functions like addition and multiplication to generate a valid Bitcoin address starting from a number, the private key and calculating everything all the way up to public key and final Bitcoin address. [Read More]