4 ms·
The author takes a 20% cut: reward += msg.value * 8 / 10; // Take 20% tip for server costs. tips += msg.value * 2 / 10; That must be a
by Tepix 9y ago
The author takes a 20% cut:
reward += msg.value * 8 / 10;
// Take 20% tip for server costs.
tips += msg.value * 2 / 10;
That must be a very expensive server indeed. Isn't it a static page with some web3js? You could host it for free on github.
Anyone want to do a a version of this with a 0.1% fee instead?