Skip to content

UUID Generator for Motoko

License

Notifications You must be signed in to change notification settings

aviate-labs/uuid.mo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b88101f · Dec 16, 2022

History

12 Commits
Dec 16, 2022
Dec 16, 2022
Nov 22, 2021
Aug 27, 2021
Dec 16, 2022
Dec 16, 2021
Dec 16, 2022
Dec 16, 2022

UUID

Generation of UUIDs based on RFC 4122.

Usage

// import Source uuid/async/SourceV4
// import UUID uuid/UUID

let g = Source.Source();
UUID.toText(await g.new());
// F253F1F0-2885-169F-169F-2885F253F1F0

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.