@web3-storage/clock
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published


w3clock

UCAN based merkle clock implementation.

GitHub Workflow Status StandardJS Code Style License: Apache-2.0 OR MIT

Background

Merkle clocks are a method of recording events with partial order. This repo implements a method of managing merkle clocks with UCANs.

Read the SPEC.

Capabilities

clock/advance

Advance the clock by adding a new event.

clock/head

Get the current clock head.

License

Dual-licensed under MIT + Apache 2.0

Package Sidebar

Install

npm i @web3-storage/clock

Weekly Downloads

161

Version

0.4.1

License

Apache-2.0 OR MIT

Unpacked Size

38 kB

Total Files

22

Last publish

Collaborators

  • it-dag-house
  • gozala
  • olizilla
  • vascosantos
  • alanshaw