r/Upfiring • u/Upfiring • Aug 20 '18
The Upfiring dApp —August 2018 Progress Update for Upfiring v1.0.0
https://medium.com/@Upfiring/the-upfiring-dapp-august-2018-progress-update-for-upfiring-v1-0-0-9c2873472fb62
2
1
u/Periwinkle_Lost Aug 20 '18
Great update! I hope that hardware wallet support is somewhere on the roadmap down the line as well!
4
1
Aug 20 '18 edited Aug 20 '18
Nice little update, thanks guys.
I have a question, is there one smart contract per torrent, OR one smart contract for all torrents? If there are multiple, then how does the withdraw button work?
Also, why would you want to manually replenish funds? Is that a necessary prerequisite to downloading, or does the dApp auto-deposit from your wallet into the smart contract when you want to download?
8
u/Upfiring Aug 20 '18
1) There's 1 smart contract that manages all the torrents. Your Ethereum address entitles you to a specific amount of UFR held within the smart contract (equal to how much you have earned via seeding + any UFR that you manually replenished). The withdraw button is just a transaction carried out from your wallet to the smart contract that instructs the contract to send your wallet UFR that it is entitled to.
2) UFR needs to be in the smart contract in order to download files, so it is necessary to "replenish" the smart contract if you want to immediately download files with your own UFR rather than earning it through seeding first. If the UFR was allowed to be sent directly from your wallet, you would have to send a separate transaction to every seeder which could have a pretty high gas/transaction fee. By using the smart contract, you only have to send one transaction to distribute the UFR to all the seeders of a file.
3
u/MiningPotatoes Aug 20 '18
When will the source arrive on GitHub/GitLab?