[!WARN] This project is under active development!
The Delia project is a complement to the Polka Storage project, being the frontend for file upload to the network's providers.
The stack aims to be straightforward and opinionated, using Typescript, Vite and Biome as the major development tools and React & Tailwind for the frontend due to their ubiquity.
Delia requires pnpm
for development, you can install it in a variety of ways:
- Through the official guide
- Using Volta to install it
- Or, if you're using
nix
; runningnix develop
After setting up pnpm
, you can install the project with:
pnpm i
You can run the development setup with:
pnpm run dev
And format and lint it with:
pnpm run fmt && pnpm run lint
As a user, Delia will require you to use the Polkadot.js browser extension, for testing purposes, we recommend you add Alice's account to your wallet, the seed phrase for it is 1, 2:
bottom drive obey lake curtain smoke basket hold race lonely fit walk//Alice
If you're using your own keys, you will need to have funds available to perform deals.
- Piece CID — A unique identifier for your file, it is calculated with the
polka-storage-provider-client
tool. - Piece Size — The piece size for your file, it is calculated with the
polka-storage-provider-client
tool (this number MUST be a power of two). - Label — A string up to 128 characters long, can contain anything you wish.
- Start Block — The block at which the deal becomes active.
- End Block — The block at which the deal ends.
- Price-per-block — The price to pay for each block during which the file is stored.
- Provider Collateral — The price the storage provider gives up if they fail to uphold their end of the deal.
- Refresh — Will fetch the list of storage providers.
- Storage Provider — The storage provider's account ID, Peer ID and supported sector size.