def print_addresses(range: 0..100, network: BTC::Network.mainnet, account: 0)
      kc = keychain.bip44_keychain(network: network).bip44_account_keychain(account)
      puts "Addresses for account #{account} on #{network.name}"
      puts "Account xpub:          #{kc.xpub}"
      puts "Account external xpub: #{kc.bip44_external_keychain.xpub}"
      puts "Index".ljust(10) + "External Address".ljust(40) + "Internal Address".ljust(40)
      range.each do |i|
        s = ""
        s << "#{i}".ljust(10)
        s << kc.bip44_external_keychain.derived_key(i).address.to_s.ljust(40)
        s << kc.bip44_internal_keychain.derived_key(i).address.to_s.ljust(40)
        puts s
      end
    end
def print_addresses(range: 0..100, network: BTC::Network.mainnet, account: 0)
      kc = keychain.bip44_keychain(network: network).bip44_account_keychain(account)
      puts "Addresses for account #{account} on #{network.name}"
      puts "Account xpub:          #{kc.xpub}"
      puts "Account external xpub: #{kc.bip44_external_keychain.xpub}"
      puts "Index".ljust(10) + "External Address".ljust(40) + "Internal Address".ljust(40)
      range.each do |i|
        s = ""
        s << "#{i}".ljust(10)
        s << kc.bip44_external_keychain.derived_key(i).address.to_s.ljust(40)
        s << kc.bip44_internal_keychain.derived_key(i).address.to_s.ljust(40)
        puts s
      end
    end
For manual testing