bitcoin_shell 248 Bytes
#!/usr/bin/env ruby
$:.unshift( File.expand_path("../../lib", __FILE__) )
require 'bitcoin'

include Bitcoin
include Bitcoin::Util
include Bitcoin::Storage

Bitcoin.network = ARGV.shift || :bitcoin

require 'irb'
require 'irb/completion'
IRB.start