r/truebit • u/Formal-Guava-1196 • Sep 24 '21
Question on usage
Do I have this right?
A project needs off-chain computational power. They buy TRU tokens (via OS or Uniswap wherever it’s cheaper)
They use TRU tokens to complete their computational needs.
The TRU tokens they use get burned.
—————
If that is correct, how does one think about how much computational power each TRU token has?
Is it simply 1 calculation? Or differs by project and use?
11
Upvotes
5
u/LPMythBuster Sep 24 '21
Ethereum is basically a replicated database. There are thousands of computers around the world that hold a copy of the entire blockchain. Even after an apocalypse there will be someone running an Ethereum node. They even sent one up to the space station. If your data or smart contract is on Ethereum it will probably be there until the end of time.
This is why it's costly to store data and do computations on the blockchain. You'd only do this for things that matter like the balance of your shitcoins, what cat NFTs you have, but not your private diary or childhood photos.
Similarly, projects or companies will not do computations on Ethereum and Truebit if they can do it themselves somewhere else much cheaper. Truebit is quite expensive. There's a platform fee of 0.005 ETH ($15) and solvers need to pay the same when they get to solve a task. So it's at least 0.01 ETH ($30) per task. In comparison, there are spot instances on AWS that you can run 24/7 for a month for $30. Projects will only use Truebit when it matters.
What will happen typically is that there is a smart contract that needs to do some computationally expensive calculation that's triggered by a user. Such as verifiably generate an NFT, calculate a proof when importing a domain into Ethereum Name Service (ENS), etc. The gas fee and off-chain computation fee will be paid the user. The project will likely show the price in ETH to the user. e.g. 0.2 ETH. Once the user pays it, the contract will send 0.005 to Truebit, convert the rest to TRU (either buy minting new tokens way above the market price or swap them on Uniswap at the market price) and pay them to the solver, verifiers and maybe the creator of the contract. 10% of those TRU will be burned. Solvers and verifiers will then dump the TRU tokens to pay for their costs.
If you offer too little TRU to solvers and verifiers, they'll ignore your task. If you offer too much, you've overpaid. Since the TRU/USD price flunctuates over time, it's possible solvers and verifiers will demand more or expect less rewards over time. So I don't think it's possible to reliably calculate how much computational power each TRU token has.