@kudos-protocol/short-id

0.0.1 • Public • Published

Kudos Short ID

Overview

This library provides a base58 encoded UUID V1 which is 22 characters long. It's used to create a unique identifier for a Kudos transaction. Under the hood it's the standard UUID V1 which is base58 encoded.

Likely you won't want to use this directly, but it's used as part of other @kudos-protocol libraries.

Usage

import { shortID, shortIdFromUuid, uuidV1 } from '@kudos-protocol/short-id';

console.log(shortID()); // Jr9jnoTosc332G9gjcStZv

Readme

Keywords

Package Sidebar

Install

npm i @kudos-protocol/short-id

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

27.4 kB

Total Files

8

Last publish

Collaborators

  • mankins