keep-network / tbtc-dapp

Deposit BTC and redeem TBTC
http://dapp.test.tbtc.network/
MIT License
33 stars 31 forks source link

Minting costs for 1 TBTC and 0.001 TBTC is the same. It doesn't make sense. #296

Closed jasonchewyl closed 4 years ago

jasonchewyl commented 4 years ago

image

image

image

image

image

image

From the screenshots above, you can see irregardless whether I am minting 0.001 BTC or 0.01 BTC or 0.1 BTC or 1 BTC... the cost to mint TBTC is the same. In this example, 0.689 ETH [gas fee (0.6 ETH) + minting fee (0.074) ETH].

At present ETH prices, this means the cost to mint 1 BTC = $9,500 $170 (1.7%) 0.1 BTC = $950 $170 (17%) 0.01 BTC = $95 $170 (lose money)

Is it supposed to be like this? It should not be right?

Shadowfiend commented 4 years ago

Thanks for the detailed issue! It is supposed to be like this, yes. The cost of opening a deposit is fixed based on the cost of setting up the signer group; it is a system cost, and the proceeds are used by the system to supply randomness guarantees around the chosen signers. The signer fee, which is paid to the signers themselves when a deposit is redeemed for BTC, is based on the lot size.

Due to the high cost of gas (and transaction fees on Bitcoin), small lot sizes are more useful for testing than anything else right now. See @mhluongo's note here on this as well, and the containing issue for a suggestion on how we might make these tradeoffs apparent in the UI.

Closing this for now, since things are working as intended.