Warning
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.
Delia will require you to use the Polkadot.js browser extension. For instructions on how to add your own account, refer to the extension documentation:
Before you create a deal, you need some balance in your market account. Currently, the (local and internal) testnet provides you with a faucet function that you can find in Delia's landing page.
As you can imagine, once you click the button, 10 tokens will be added to your account's balance. After clicking, you should see a success message, as below:
Note
The faucet takes a bit of time to finish, this is due to waiting for the transaction to be finalized.
Note that the faucet will only give out tokens every 24 hours, in the case you tried getting tokens earlier, you should see the following message:
We've established that you will need some balance to perform deals, however, you will also need to store some balance in your market account; the market will act as an escrow keeping money for signed deals locked, ensuring the provider can't run away with your money!
flowchart LR
Acc[Your Account] -->|Deposit| Market
Market -->|Withdraw| Acc
Delia offers a simple interface to manage this, allowing you to deposit and withdraw money from the market account.
You can also check your account's network and market balance with Delia:
- Start by selecting an account from the Client Account field.
- Select your file, either by dragging it or clicking the following field:
- (Optional) You can add a description to your deal.
- Select your deal's duration.
- Finally, select your storage providers:
- Click "Continue" to sign your deals and you're done! After the deal is finished, you should receive a receipt file, it will come in handy to retrieve your files!
To retrieve your file, simply upload the receipt you received upon finishing your deals in the "Deal Retrieval" page and press "Continue".
Delia connects to the parachain collator using the address defined in the top right corner of the page:
After a connection is established, performing a deal works roughly as described in the following diagram:
sequenceDiagram
Delia->>Collator: Connect
Delia->>Delia: Prepare Deal & Select SPs
Delia->>+Collator: Request SPs Multiaddresses
activate Collator
Collator-->>-Delia: SP Multiaddresses
loop For every SP Multiaddress
Delia->>+SP: Negotiate Deal
SP-->>-Delia: Negotiation Result
end
For more details, refer to the DEVELOPMENT.md
.
No. Files stored in storage providers are public, as such, we suggest you encrypt your files. While file encryption is a broad enough topic, if you not sure about which tools to use, we suggest you keep it simple by compressing your file in a format such as 7zip and using its encryption features. If 7zip doesn't cut it, you may want to take a look into age or VeraCrypt.