fiatjaf / noscl

Command line client for Nostr.
Other
269 stars 53 forks source link

Extend `key-gen` output #61

Open WesleyBatista opened 1 year ago

WesleyBatista commented 1 year ago

Changes in this PR:

Possibly closes #55 and #41

WesleyBatista commented 1 year ago

Example:

$ noscl key-gen
seed: foster absent nurse girl admit move destroy deputy wash aisle bracket neck acoustic rain spirit flip library limit lucky laugh scatter impact come property
private key: ef51f5b86a6f29b93c9874f3ae08307dc16e89379cabe18f03d140db1beb9eee
public key: dab5c7d19281e2cb1e2079f84adb7e5e65c82f303cc1abe5ff5f8215e8d65b2b
nsec: nsec1aagltwr2du5mj0ycwne6uzps0hqkazfhnj47rrcr69qdkxltnmhqz2cd2s
npub: npub1m26u05vjs83vk83q08uy4km7tejustes8nq6he0lt7ppt6xktv4sal04p8
nprofile: nprofile1qqsd4dw86xfgrcktrcs8n7z2mdl9uewg9ucresdtuhl4lqs4art9k2cygh2dh
TonyGiorgio commented 6 months ago

This is very basic and immensly useful instead of just dealing with the private key generation. Can you please merge @fiatjaf ?