aviate-labs / 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 90.8%Language:Dhall 7.9%Language:Makefile 1.4%