Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Addresses #8

Open
torphix opened this issue Sep 14, 2021 · 2 comments
Open

Generating Addresses #8

torphix opened this issue Sep 14, 2021 · 2 comments

Comments

@torphix
Copy link

torphix commented Sep 14, 2021

Hi :)
Thanks for the library..
Is there a way to generate more than the default number of addresses?
Also Once an address gets used are more generated automatically?

I looked through the cardano-cli docs but couldn't find anything..
Thank you

@emesik
Copy link
Owner

emesik commented Sep 14, 2021

Address generation is currently done by the backend entirely. That means, with cardano-wallet you'll get a pool of pre-generated addresses and while they are being used, new ones are being generated. Your guess is correct, although I can't provide you with technical details.

Python-based address generation is a must but I stumbled upon strange obstacles. It seems the bech32 algorithm used in Cardano is somewhat different from the one in Bitcoin. If you find any docs (or ideally a Python implementation) of this bech32 flavor, I'll be happy to add it.

@torphix
Copy link
Author

torphix commented Sep 14, 2021

Thanks for your reply ill look into finding this alternate bech32 algorithm
I had a small peak at the docs during my lunch break and found this https://developers.cardano.org/docs/get-started/cardano-serialization-lib/generating-keys/ will take a deeper dive this evening and see if theres anything here that can be leveraged..
Thanks for you help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants