hard-codr / sirius

Sirius: Stellar API for Humans
Other
6 stars 4 forks source link

Account generation without using seed #1

Open codingsett opened 6 years ago

codingsett commented 6 years ago

Hello first of all thanks for the amazing job you have done so far ,this is a question and not an issue is there a way to create an account like on stellar term website where one gets an public and private key..everywhere i search i only see the seeds being used ..is it possible to do that?

hard-codr commented 6 years ago

Hey, Sorry that I missed this, not sure why github didn't send me notification about this issue.

Yes there is API for that. Just do:

import stellar
(private_key, public_key) = stellar.random_keypair()

And this 'is' proper issue: since my documentation sucks, you have to resort on opening issue :)

hard-codr commented 6 years ago

Reopening it to remind me to improve documentation.