@@ -173,6 +173,10 @@ class Commands(object):
173173 script_type = typemap [args .script_type ];
174174 return self .client .get_public_node (n = address_n , show_display = args .show_display , coin_name = args .coin , script_type = script_type ).xpub
175175
176+ def ripple_get_address (self , args ):
177+ address_n = self .client .expand_path (args .n )
178+ return self .client .ripple_get_address (address_n , args .show_display )
179+
176180 def ethereum_get_address (self , args ):
177181 address_n = self .client .expand_path (args .n )
178182 address = self .client .ethereum_get_address (address_n , args .show_display )
@@ -546,6 +550,7 @@ class Commands(object):
546550 ping .help = 'Send ping message'
547551 get_address .help = 'Get bitcoin address in base58 encoding'
548552 get_xpub .help = 'Get xpub'
553+ ripple_get_address .help = 'Get Ripple address'
549554 ethereum_get_address .help = 'Get Ethereum address in hex encoding'
550555 ethereum_sign_msg .help = 'Sign Ethereum message'
551556 ethereum_sign_tx .help = 'Sign (and optionally publish) Ethereum transaction'
@@ -591,6 +596,11 @@ class Commands(object):
591596 (('-d' , '--show-display' ), {'action' : 'store_true' , 'default' : False }),
592597 )
593598
599+ ripple_get_address .arguments = (
600+ (('-n' , '-address' ), {'type' : str }),
601+ (('-d' , '--show-display' ), {'action' : 'store_true' , 'default' : False }),
602+ )
603+
594604 ethereum_get_address .arguments = (
595605 (('-n' , '-address' ), {'type' : str }),
596606 (('-d' , '--show-display' ), {'action' : 'store_true' , 'default' : False }),
0 commit comments