https://github.com/fraction/ssb-vanity
Generate custom vanity public keys for Secure Scuttlebutt (SSB).
https://github.com/fraction/ssb-vanity
Last synced: over 1 year ago
JSON representation
Generate custom vanity public keys for Secure Scuttlebutt (SSB).
- Host: GitHub
- URL: https://github.com/fraction/ssb-vanity
- Owner: fraction
- Created: 2019-12-23T23:28:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T17:44:08.000Z (over 5 years ago)
- Last Synced: 2025-03-18T14:08:16.558Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSB-Vanity
> Generate custom vanity public keys for Secure Scuttlebutt (SSB).
## Usage
```javascript
const ssbVanity = require('ssb-vanity')
const myKeys = ssbVanity((keys) =>
keys.public.startsWith('SSB')
)
console.log(myKeys)
```
```javascript
{
curve: 'ed25519',
public: 'SSBzcRZYPjtP5rSIezMgHKiSU0lgdKcJnoHOt0ZFvo4=.ed25519',
private: 'aCXph8K5LqiqS3G2nWYQhPAEH4WzLiHoUL7uYpr/yttJIHNxFlg+O0/mtIh7MyAcqJJTSWB0pwmegc63RkW+jg==.ed25519',
id: '@SSBzcRZYPjtP5rSIezMgHKiSU0lgdKcJnoHOt0ZFvo4=.ed25519'
}
```
## Installation
With [npm](https://npmjs.org/):
```shell
npm install ssb-vanity
```
With [yarn](https://yarnpkg.com/en/):
```shell
yarn add ssb-vanity
```
## License
AGPL-3.0