How to send Bitcoin in the Testnet?
I’m using this library: https://github.com/lian/Bitcoin-ruby And here’s my code: require ‘open-uri’ require ‘net/http’ require ‘net/https’ require ‘json’ require ‘Bitcoin’ Bitcoin.network = :testnet3 def get_response(prev_tx) url = “https://testnet.blockexplorer.com/api/rawtx/#{prev_tx}” uri = URI(url) response = Net::HTTP.get(uri) response = […]
