Open WesleyBatista opened 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
This is very basic and immensly useful instead of just dealing with the private key generation. Can you please merge @fiatjaf ?
Changes in this PR:
EncodePublicKey
without requiringmasterRelay
see: https://github.com/nbd-wtf/go-nostr/compare/v0.9.0...v0.10.0key-gen
outputPossibly closes #55 and #41