This example of tonstorage-dapp which allows to create storage contracts between users and provider.
It is expected that every storage-provider will set up it's own dapp-page to interact with users. Later it is planned to create "unifyed dapp" which allow to interact with all providers and simultaneously ensure replication.
- You need TON Wallet extension installed
- If you want to host large file, you need to create Bag and obtain BagId yourself.
- Open Dapp
- If you want to host small files you can add them via "Upload" section otherwise insert BagId into BagId input field.
- Insert into "Initial balance" input desired amount of TONs
- Click "Create Contract" button, it will open TON Wallet modal window, confirm transaction
- Wait till smart contract will be deployed (check progress on timeline)
- Wait till contract is confirmed by provider (check progress on timeline)
- Store storage contract address
- Open manage tab
- Insert your storage contract address and load data
- Check actual balance and parameters
- Top-up balance or cancel contract if you want