Method: Mobius::Cli::Create#account

Defined in:
lib/mobius/cli/create.rb

#accountObject



26
27
28
29
30
31
32
33
34
35
# File 'lib/mobius/cli/create.rb', line 26

def 
  keypair = 

  say " * Public Key: #{keypair.address}"
  say " * Private Key: #{keypair.seed}"
  say " * XLM balance: #{Mobius::Client::Blockchain::Account.new(keypair).balance(:native)}"
  say "Done!"
rescue StandardError => e
  say "[ERROR] #{e.message}", :red
end