5 releases (3 breaking)
new 0.4.0 | Feb 12, 2025 |
---|---|
0.3.0 | Sep 11, 2024 |
0.2.1 | Jun 19, 2024 |
0.2.0 | May 9, 2024 |
0.1.0 | Mar 22, 2024 |
#214 in Magic Beans
102 downloads per month
Used in cw-storey
125KB
2K
SLoC
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
Dependencies
~280–740KB
~17K SLoC