A privacy-preserving key-value database on Arweave.
HollowDB is a decentralized privacy-preserving key-value database on Arweave network, powered by Warp Contracts.
To install HollowDB:
yarn add hollowdb # yarn
npm install hollowdb # npm
pnpm add hollowdb # pnpm
Depending on your use-cases, we have several optional dependencies:
You can read the full documentation of HollowDB at https://docs.hollowdb.xyz.
[!NOTE]
If you are interested in customizing the smart contract of HollowDB and extending its SDKs, refer to this README.
Check out the examples folder for a few examples of HollowDB usage:
You can run all tests via:
pnpm test
Tests operate on a local Arweave instance using arlocal. They will run for all cache types (LMDB, Redis, LevelDB). You will need to have a Redis server running for some of the tests to pass, the URL shall be specified here.
You can check the formatting of the code or lint everything with the following commands:
pnpm format # prettier
pnpm lint # eslint