ByronBecker / ulid.mo

ULID Generator for Motoko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ULID

Universally Unique Lexicographically Sortable Identifier for the Internet Computer.

Usage

let inc = 123;
let e = ULID.MonotonicEntropy(inc);

let id = await e.new();
ULID.ULID.toText(id);
// "6GNGGRXAKGTXG070DV4GW2JKCJ"

This library was incentivized by ICDevs. You can view more about the bounty on the forum or website. The bounty was funded by The Dragginz Team and the award was graciously donated by di-wu to the treasury of ICDevs.org so that we could pursue more bounties. If you use this library and gain value from it, please consider a donation to ICDevs.

About

ULID Generator for Motoko

License:Apache License 2.0


Languages

Language:Motoko 82.5%Language:Dhall 14.2%Language:Shell 3.3%