You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-9Lines changed: 30 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,46 @@
2
2
3
3
## About
4
4
5
-
This project is a proof of concept (POC) for a fully decentralized betting game on Ethereum that doesn't rely on external parties.
5
+
Jodobix is an experiment of a fully decentralized betting game on Optimism that doesn't rely on external parts.
6
6
7
-
## Requirements
7
+
Betting games are becoming more and more popular. And where I live — in Brazil — they’re causing serious debt problems because of how addictive they are.
8
+
9
+
Of course, we need better laws and education to deal with this.
10
+
But I also think most of these games are run by companies that don’t really offer anything in return. They’re just middlemen taking a huge cut.
11
+
12
+
Every year, billions of dollars go from players to game owners who do nothing but sit in the middle.
13
+
14
+
---
15
+
16
+
Jodobix is a betting game that runs on Optimism. It’s fully automatic, it can’t be stopped, and it doesn’t belong to anyone — not even me.
17
+
18
+
All the money from the bets goes straight to the winners. The house takes nothing. I don’t take anything either.
19
+
20
+
---
21
+
22
+
### ⚠️ IT'S AN EXPERIMENT
23
+
Contrary to the recommended way of picking a random number in EVM smart contracts — which relies on an external source — Jodobix experiments with a different approach. It creates a temporary winner on each bet based on the combination of the blockhash of each bet and only confirms the winner when the game encounters a hash where the last two digits are repeated. I believe there's no way to predict or avoid this moment.
24
+
I've tested this theory myself, extensively trying to manipulate or predict the result. There will be a second round of tests with family and friends, and I’d like to move the project forward by talking with node specialists to understand the practical risks.
- Yarn ([v1](https://classic.yarnpkg.com/en/docs/install/) or [v2+](https://yarnpkg.com/getting-started/install))
13
34
-[Git](https://git-scm.com/downloads)
14
35
15
-
## Quickstart
36
+
###Quickstart
16
37
17
-
### 1. Install dependencies
38
+
####1. Install dependencies
18
39
19
40
```sh
20
41
yarn install
21
42
```
22
43
23
-
### 2. Run a local network
44
+
####2. Run a local network
24
45
25
46
In the first terminal:
26
47
@@ -30,7 +51,7 @@ yarn chain
30
51
31
52
This starts a local Ethereum network using Hardhat. The network runs on your machine and can be used for testing and development. You can customize the configuration in `packages/hardhat/hardhat.config.ts`.
32
53
33
-
### 3. Deploy the contract
54
+
####3. Deploy the contract
34
55
35
56
In a second terminal:
36
57
@@ -40,7 +61,7 @@ yarn deploy
40
61
41
62
This deploys the smart contract to the local network. Contracts are located in `packages/hardhat/contracts`, and the deployment script is in `packages/hardhat/deploy`.
0 commit comments