Skip to content

Generate custom vanity public keys for Secure Scuttlebutt (SSB).

Notifications You must be signed in to change notification settings

fraction/ssb-vanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSB-Vanity

Generate custom vanity public keys for Secure Scuttlebutt (SSB).

Usage

const ssbVanity = require('ssb-vanity')

const myKeys = ssbVanity((keys) =>
  keys.public.startsWith('SSB')
)

console.log(myKeys)
{
  curve: 'ed25519',
  public: 'SSBzcRZYPjtP5rSIezMgHKiSU0lgdKcJnoHOt0ZFvo4=.ed25519',
  private: 'aCXph8K5LqiqS3G2nWYQhPAEH4WzLiHoUL7uYpr/yttJIHNxFlg+O0/mtIh7MyAcqJJTSWB0pwmegc63RkW+jg==.ed25519',
  id: '@SSBzcRZYPjtP5rSIezMgHKiSU0lgdKcJnoHOt0ZFvo4=.ed25519'
}

Installation

With npm:

npm install ssb-vanity

With yarn:

yarn add ssb-vanity

License

AGPL-3.0

About

Generate custom vanity public keys for Secure Scuttlebutt (SSB).

Resources

Stars

Watchers

Forks

Packages

No packages published