Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.31 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.31 KB

storey

storey is an experimental storage abstraction layer for blockchain modules and smart contracts. It's mostly intended for the CosmWasm ecosystem, where it's meant as an alternative to cw-storage-plus.

In essence, if you have a binary key-value based store, you can integrate storey with it to provide typed abstractions that are a little nicer to work with.

Guide

A guide can be found here.

Goals

  • comparable user experience for simple use cases to cw-storage-plus
  • minimal key length (compared to cw-storage-plus)
  • backend-agnostic core - go, plug it into something other than CosmWasm
  • encoding-agnostic core - the CosmWasm-specific crate mandates an encoding for values, but the core itself doesn't
  • minimal-dependency core - currently, the core has almost no dependencies
  • composable collections
  • a better API for folks who would like to implement their own collections

Non-goals

It's unlikely we'll build these. It's more likely we'll eventually provide enough support that you can build them yourself without much headache, and nudge you in the right direction.

  • indexes
  • snapshots