TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Generate dank mnemonic seed phrases in the terminal

3 pointsby mofleover 6 years ago

2 comments

helbover 6 years ago
You might want to check whether the output is a &quot;real&quot; interactive terminal and output just the words without the doge image and borders if not. Redirecting stdout to a file (`.&#x2F;cli.js &gt; foo`) currently produces… this: <a href="https:&#x2F;&#x2F;vgy.me&#x2F;u7f3iW.png" rel="nofollow">https:&#x2F;&#x2F;vgy.me&#x2F;u7f3iW.png</a><p>Node&#x27;s `tty.isatty` should work: <a href="https:&#x2F;&#x2F;nodejs.org&#x2F;docs&#x2F;v0.5.0&#x2F;api&#x2F;tty.html#tty.isatty" rel="nofollow">https:&#x2F;&#x2F;nodejs.org&#x2F;docs&#x2F;v0.5.0&#x2F;api&#x2F;tty.html#tty.isatty</a>
westurnerover 6 years ago
From <a href="https:&#x2F;&#x2F;github.com&#x2F;lukechilds&#x2F;doge-seed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lukechilds&#x2F;doge-seed</a> :<p>&gt; <i>The first four words will be a randomly generated Doge-like sentence.<p>The seed phrases are fully valid checksummed BIP39 seeds. They can be used with any cryptocurrency and can be imported into any BIP39 compliant wallet.</i><p>&gt; […] <i>However there is a slight reduction in entropy due to the introduction of the doge-isms. A doge seed has about 19.415 fewer bits of entropy than a standard BIP39 seed of equivalent length.</i>