Skip to content

Add option to write key pair in stdout#23

Open
joemarct wants to merge 2 commits intodecred:masterfrom
joemarct:master
Open

Add option to write key pair in stdout#23
joemarct wants to merge 2 commits intodecred:masterfrom
joemarct:master

Conversation

@joemarct
Copy link
Copy Markdown

@joemarct joemarct commented Jan 21, 2018

This adds an option to just write the key pair in stdout and not write it out into a file.

This is more convenient if we're calling this from a script in another runtime (e.g. Shell or Python) because we don't have to write to file and read from it just to get the address and private key.

To write only the address and private key (which is what I needed in my use case), you can now run the command as: dcraddrgen -noseed -nofile

This adds an option to just write the key pair in stdout and not write it out into a file. This is more convenient if we're calling this from a script in another runtime (e.g. Shell or Python) because we don't have to write to file and read from it just to get the address and private key.
@Zergity
Copy link
Copy Markdown

Zergity commented Jan 30, 2019

Simpler solution #32

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

Successfully merging this pull request may close these issues.

2 participants