Jun 8, 2020 01:04 PM
(This post was last modified: Jun 16, 2020 04:08 AM by Lynx.
Edit Reason: 16th of june updates
)
NOW LIVE ON: SOCIOPATH.CC/GAMBLE
I am happy to announce Gamble, an unofficial HF Gambling website
Since the announcement of the HF API v2 I have been thinking about ways to put the oAuth function to good use.
When the beta got released, it came to mind that current gambling options on HF are not "multiplayer" based except for the lotteries.
The byte lotteries aren't very interactive (and rather slow) so I figured I would make a version I would like to see and use.
Gamble currently has one game which is based on raffles.
Future games will high likely include 1v1 coin flips and maybe even more interactive skill based games.
When the beta got released, it came to mind that current gambling options on HF are not "multiplayer" based except for the lotteries.
The byte lotteries aren't very interactive (and rather slow) so I figured I would make a version I would like to see and use.
Gamble currently has one game which is based on raffles.
Future games will high likely include 1v1 coin flips and maybe even more interactive skill based games.
How it works
Each HF member will be able to login by authorizing Gamble to their HF account using the new oAuth api.
When logged in, members will be able to deposit/withdraw bytes to/from their account.
Each raffle takes a minimum of 2 members. When there are more than 1 members in the raffle, the countdown of 2 minutes begins.
During this countdown, you are still able to place your bet or even higher your bet.
If a bet is placed when the counter is under 15 seconds, the counter will reset to 15 seconds to give other members an opportunity to higher their bet.
Each raffle, the house takes a 3% cut.
Is it secure? Can my bytes be stolen?
When making Gamble, security was one of the first things that came to mind.
Regular user info (like your uid and balance) will be stored in our database.
Your access token (obtained with the oAuth api) will be stored elsewhere though.
What this means is; IF our database gets broken into (this is a very big IF), our byte vault can be transferred to an account meaning you can not withdraw your funds. This will be easy to trace back though.
But since your access token is safely stored elsewhere, the attacker will not be able to alter your user into etc.
What does it look like?
Placing bets: Spoiler (Click to View)
Raffle roll: Spoiler (Click to View)
Winning: Spoiler (Click to View)
Darkmode: Spoiler (Click to View)
As you might have noticed, ad space will be available too. More on that later.
NOTES:
The minimum withdrawal/deposit rates are currently 100 Bytes.
This is the current requirement of the HF api. I can not do anything about that.
If you feel like this is too much or if you have any other suggestions, go to the HF API section and speak up.
Also, if you find any bugs or exploits, let me know.
All deposits/withdrawals are logged.
The minimum withdrawal/deposit rates are currently 100 Bytes.
This is the current requirement of the HF api. I can not do anything about that.
If you feel like this is too much or if you have any other suggestions, go to the HF API section and speak up.
Also, if you find any bugs or exploits, let me know.
All deposits/withdrawals are logged.
9th of June, 2020
- Added darkmode
- Front-end javascript changes
10th of June, 2020
- Added byte vault integration (for deposits and withdrawals)
- UI color/text changes
- BETA LAUNCH
11th of June, 2020
- Added a minimum value for raising your bets (was 0, now 10)
- Changed house cut from 5% of total pot to 10% of total - winner bet
16th of June, 2020
- Reduced minimum value for raising bets (was 10, now 5)
- Changed house cut to 3% of total pot
- Added a chatbox to make the waiting less boring ;)
Feel free to support this project;
14oB5ojT8J1QpKiBpVSD4nJn7C8KmviGeo
14oB5ojT8J1QpKiBpVSD4nJn7C8KmviGeo

![[Image: PdMv8uR.png]](https://i.imgur.com/PdMv8uR.png)
![[Image: uw3xk4R.png]](https://i.imgur.com/uw3xk4R.png)
![[Image: uYmiYuc.png]](https://i.imgur.com/uYmiYuc.png)
![[Image: iO0ak9d.png]](https://i.imgur.com/iO0ak9d.png)


![[Image: c5bcca49a3c4d3c6c7a27493507eba95.png]](https://i.gyazo.com/c5bcca49a3c4d3c6c7a27493507eba95.png)

![[Image: nTIorXb.png]](https://i.imgur.com/nTIorXb.png)

![[Image: KbRc4hH.gif]](https://i.imgur.com/KbRc4hH.gif)
![[Image: jgrz5zP.png]](https://i.imgur.com/jgrz5zP.png)

