monero-ecosystem / monero-python

A comprehensive Python module for handling Monero cryptocurrency
BSD 3-Clause "New" or "Revised" License
247 stars 80 forks source link

how to use monero.seed,secret_view_key() and secret_spend_key() on monero-javascript and monero-golang #126

Open upgradepa opened 2 years ago

upgradepa commented 2 years ago

In [1]: from monero.seed import Seed

In [2]: s = Seed()

In [3]: s.phrase Out [3]: 'fewest lipstick auburn cocoa macro circle hurried impel macro hatchet jeopardy swung aloof spiders gags jaws abducts buying alpine athlete junk patio academy loudly academy'

In [4]: s.hex In [1]: from monero.seed import Seed

In [2]: s = Seed("fewest lipstick auburn cocoa macro circle hurried impel macro hatchet jeopardy swung aloof spiders gags jaws abducts buying alpine athlete junk patio academy loudly academy")

In [3]: s.secret_spend_key() Out [3]: '0b7a7bac8a5b6de2f483d703ef82b1bb3e37dd834006d02140a6a762b9142d00'

In [4]: s.secret_view_key() Out [4]: '75ec665f4912cec813ff7f20bc75b1f375ee2f8d4bb7631ae8d1af302732a609'

upgradepa commented 2 years ago

also on java.

emesik commented 2 years ago

Sorry, but I don't understand what this ticket is about.