4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Dapp-a-day 22: Forkable Datastore Service

dapp-a-day-22 2x


Todays dapp-a-day, a ForkableDatastoreService provides a set of virtual storage spaces ("datastores") which can be forked. Forking a datastore creates an exact copy at the time of the fork. This is achieved with a copy-on-write virtualization strategy, which means that the cost is amortized over all storage slot updates. A consequence of this cost structure is that fork must somehow be managed: it can only be called by the branch's owner, the address which can also set the branch's entries. The forking DB tracks number of slots on each branch, so it can fully clean up after itself and owners can invent reasonable forking rules.

https://github.com/nexusdev/ds-forkable

Roadmap

  • build a forkable token service by making a datastore adapter factory to interact with ds-token.
  • structure submodules properly
35 upvotes $7.25

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: