Hi,
So as far as I get it, when you send ETH to one of the vdice.io addresses a virtual dice is rolled and you win or loose based on the probability of the contract adress you choose.
What i don't get, if you win, where do these won ETH come from?
And how does the contract makes sure there is always ETH to hand out to a vdice winner?
- "What i don't get, if you win, where do these won ETH come from?"
The "house" is stored at the Smart Contract.
- "And how does the contract makes sure there is always ETH to hand out to a vdice winner?"
You can interact with the betting smart contract in two ways. You can invest in it (i.e. be part of the house).
Or, you can bet against it (i.e. play the game). There is a continuous roster of people doing both these things.
It is all automated and controlled by the smart contract, on the Ethereum blockchain.