module Bip44::Bitcoin

Public Instance Methods

bitcoin_address(testnet: false) click to toggle source
# File lib/bip44/bitcoin.rb, line 3
def bitcoin_address(testnet: false)
  return @wallet_node.public_key.to_address(network: :bitcoin_testnet) if testnet
  @wallet_node.public_key.to_address
end