Bitcoin Forum
November 11, 2024, 06:03:01 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 »  All
  Print  
Author Topic: [Free Script] Untitled Dice - Run your own bitcoin dice site (no server needed)  (Read 64521 times)
ArpFlush
Hero Member
*****
Offline Offline

Activity: 623
Merit: 501


View Profile
September 22, 2015, 06:11:33 PM
 #121

You just need your website URL using this script. Good luck

Regards
Jm Erestain

Thanks!

"Panic Selling is not an Investment Strategy"
disamsal
Full Member
***
Offline Offline

Activity: 232
Merit: 100


View Profile
September 25, 2015, 11:10:34 AM
 #122

this is great and i have 3 free domains  Cool
jmsanto123
Member
**
Offline Offline

Activity: 114
Merit: 10


Find a Way or Make One


View Profile
October 01, 2015, 06:38:51 AM
 #123

Hi,

I installed the script in https://www.binarydice.tk . But i can't connect with moneypot.

I got the following error.

The app that directed you here did not supply a valid request.

    Reason: redirect_uri does not match any of the URIs configured by the app operator

Until the operator of the app complies with the MoneyPot API, you cannot authorize this app.

when will the moneypot verify my domain?

thankyou

Anto

AVALON-ASIC(Batch #2) Order #3xx3 made on February 18, 2013. Order status: completed(Mining Now).
Gridseed Dual Miner (01/Mar/2014) Order#17-#18 with Badman0316 | Order Status: completed(Mining Now).
BTC Address : 1DcYbWHmpyJHbnec2A6J4zNy5f1kdEtXFj
Emerge
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
October 01, 2015, 12:58:01 PM
 #124

Hi,

I installed the script in https://www.binarydice.tk . But i can't connect with moneypot.

I got the following error.

The app that directed you here did not supply a valid request.

    Reason: redirect_uri does not match any of the URIs configured by the app operator

Until the operator of the app complies with the MoneyPot API, you cannot authorize this app.

when will the moneypot verify my domain?

thankyou

Anto

You have to make your redirect uri point to the same place where you installed your untitled dice Smiley
ALXBOB
Sr. Member
****
Offline Offline

Activity: 289
Merit: 251


View Profile
October 14, 2015, 10:43:18 AM
 #125

Can i use the api for non betting provably fair results?

Tales from the crypto

One Wallet to Rule them All! http://coinomi.com/ Now with Shapeshift integration!
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
October 14, 2015, 05:49:44 PM
 #126

Sweet script, I will try it out soon Smiley Can we make users register on our own (MySQL) database? Also, it is possible to make it completely white label (basic users won't be able to see that it is related to Moneypot.com)? As we share profits, I think they should allow that Wink

Basically, it's an affiliate program, right?

Palcoin.co
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
October 14, 2015, 05:53:07 PM
 #127

Will you add the possibility to bet "zero" ?

would you mind to explain to a dice noob why to add zero? thx

Very simple Smiley Then you could bet all the time, just for fun purposes. Now you need to wait 5 minutes for 2 bits, which lets you bet 'just for fun' for a limited time, unless you're damn lucky ofcourse Tongue

Palcoin.co
elm
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000


View Profile
October 15, 2015, 02:37:42 PM
 #128

Sweet script, I will try it out soon Smiley Can we make users register on our own (MySQL) database? Also, it is possible to make it completely white label (basic users won't be able to see that it is related to Moneypot.com)? As we share profits, I think they should allow that Wink

Basically, it's an affiliate program, right?


if user will not know that it is moneypot related IMO they will ask for proof  of your bank roll. how will you explain
this to users?

anyway interesting view
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
October 15, 2015, 09:11:23 PM
 #129

Well, it is already possible to use your own bankroll, but if you want to use theirs (less profit for you though) why wouldn't it be possible to advertise with theirs as if it is yours. There is no harm right? It'll still be 100% solid.

Palcoin.co
smeagol
Legendary
*
Offline Offline

Activity: 1008
Merit: 1005



View Profile
October 24, 2015, 02:22:17 AM
 #130

Just wanted to say thank you for this script.  In addition to making me a few bits, it's inspired me to learn React, too.
Misiak4
Member
**
Offline Offline

Activity: 183
Merit: 12

ImmVRse | Disrupting the VR industry


View Profile
October 26, 2015, 02:29:06 AM
 #131

Nice share OP! I thought long time ago about starting my own dice game but I was worried about bankroll  Grin

Now using someones other bankroll even your server-less implementation is easy setup! Going to test it soon.

Thank you.

dan (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
October 27, 2015, 08:30:46 PM
 #132

Sweet script, I will try it out soon Smiley Can we make users register on our own (MySQL) database? Also, it is possible to make it completely white label (basic users won't be able to see that it is related to Moneypot.com)? As we share profits, I think they should allow that Wink

Basically, it's an affiliate program, right?


> Can we make users register on our own (MySQL) database?

The MoneyPot login integration is pretty much standard OAuth: you redirect the user to MoneyPot, and MoneyPot redirects the user back to you with an `access_token`. You can then query MoneyPot's API (https://www.moneypot.com/api-docs#v1-public-get-token-info) to get that user's underlying `auth_id` (you can think of it as a unique user ID) and save it in your database for that user so you that can link users to their MoneyPot account in your system.

So, yes, you can have your own authentication/user system and save the aforementioned MoneyPot `auth_id` in your users table. Now a user should be able to "Login with MoneyPot" or enter their username/password on your site to log into their account.

> Also, it is possible to make it completely white label (basic users won't be able to see that it is related to Moneypot.com)?

Yes, you can do this and hide the fact that your site uses MoneyPot all together, but it would require a lot of custom programming.

Basically, you would have to run the casino on your own server (unlike Untitled-Dice which runs on the client aka browser). Users deposit Bitcoin into your own system, and you re-deposit it into your own MoneyPot account. When a user bets on your casino, you basically make the bet through your own MoneyPot account and then use the outcome response to update the user's balance in your own system.

Obviously, any features you don't use MoneyPot for are features you're going to build yourself, but the above scheme illustrates how you can use MoneyPot solely for its bankroll and its betting API if that's what you want to do.

> Basically, it's an affiliate program, right?

Yeah, you can think of the MoneyPot bet API as a system that simply rewards you for sending it bets that its investors are willing to take.
KnightTrader
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250


View Profile
October 29, 2015, 06:43:37 PM
 #133

Thanks for great free script Smiley

Does anyone know what is minimum house edge what can be used without changing calculating formula?

I tried 0.02%, but ended up players reporting that it rounds to neutral EV at some multipliers resulting moneypot to reject bet.
uwichii
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
October 30, 2015, 05:30:00 AM
 #134

Added an FAQ section to the first post that answers this question.

I will soon update the script so that it makes it more clear *why* the Faucet is failing.

Let me know if you still have trouble after setting up ReCaptcha, joclixal.
dan (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
November 01, 2015, 08:58:43 AM
 #135

Thanks for great free script Smiley

Does anyone know what is minimum house edge what can be used without changing calculating formula?

I tried 0.02%, but ended up players reporting that it rounds to neutral EV at some multipliers resulting moneypot to reject bet.

MoneyPot aka its investors accept bets according to the kelly criterion, so by minimizing the house edge (minimizing the investors' odds) you're minimizing the amount of the bankroll that the investors are willing to stake. Obviously, with every bet, the investors are staking wager*multiplier while the player is staking only the wager.

In other words, if you minimize the house edge, then you're guaranteeing that nobody will ever be able to make bets with large wagers or high multipliers because you're directly limiting the max profit per bet.

So the "minimum house edge" is the one that lets your players make the bets that they want to make. This includes whales and, for example, players that don't want their bet to be rejected when they're trying to double their wager on their 5th consecutive martingale loss.

I hope that illuminates why there's no real answer to your question. Players want a low house edge, but they also need a house edge high enough to attract a counterparty to their bets (the investors).

You can get an idea of how house edge impacts max profit by playing with the "Payout Editor" I made on plinkopot.com.

https://i.imgur.com/hSUoibY.png
KnightTrader
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250


View Profile
November 01, 2015, 03:18:49 PM
 #136

Thank you for well detailed answer!
Sir_lagsalot
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251



View Profile
November 19, 2015, 07:10:12 AM
Last edit: November 20, 2015, 12:09:17 PM by Sir_lagsalot
 #137

I'm currently having a little trouble with moneypot. I've set up the dice site, but after you log in, everything stays at loading.

Screenshot: http://imgur.com/rjxkDXg


You can see it here: http://www.dice.fastcoins.cf

Has anyone had this problem, and know a fix? Or have I done something wrong? I've even tried deleting all the files on my ftp server, reuploading and reconfiguring, but to no avail.


EDIT - I've fixed this problem already!
Sir_lagsalot
Sr. Member
****
Offline Offline

Activity: 392
Merit: 251



View Profile
November 20, 2015, 12:09:26 PM
Last edit: November 20, 2015, 12:31:52 PM by Sir_lagsalot
 #138

Hey guys, i'm looking to enhance my dice site. It is based on your API. I want to add a loyalty program, but I'm unsure of how to do this.

What I want: A loyalty program that measures how many consecutive days you wager x+ bits, and stores that info. Depending on how many consecutive days, the house edge reduces. Maybe on your first ever day with the site, there is a 1.5% house edge, but after that the base edge is 5%. And each y consecutive days that gamble for, the house edge decreases by z. Is this possible, or would I have to contact moneypot and get them to push this into an update, or get them to help me personally?

If anyone can help me do this, PM me and I am willing to pay them.


P.S. Can you guys update the script so it automatically refreshes the balance every time you claim from the faucet?
doV
Member
**
Offline Offline

Activity: 109
Merit: 10


View Profile
November 25, 2015, 06:38:00 PM
 #139

Is there a way or tool to edit the HTML code easier?

Something like this:

Code:
<div class="panel panel-default">
</div>

Rather than this:

Code:
var ChatUserList = React.createClass({
  displayName: 'ChatUserList',
  render: function() {
    return (
      el.div(
        {className: 'panel panel-default'},
        el.div(
          {className: 'panel-heading'},
          'UserList'
        ),
        el.div(
          {className: 'panel-body'},
          el.ul(
            {},
            _.values(chatStore.state.userList).map(function(u) {
              return el.li(
                {
                  key: u.uname
                },
                helpers.roleToLabelElement(u.role),
                ' ' + u.uname
              );
            })
          )
        )
      )
    );
  }
});
Emerge
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
November 25, 2015, 08:33:45 PM
 #140

Is there a way or tool to edit the HTML code easier?

Something like this:

Code:
<div class="panel panel-default">
</div>

Rather than this:

Code:
var ChatUserList = React.createClass({
  displayName: 'ChatUserList',
  render: function() {
    return (
      el.div(
        {className: 'panel panel-default'},
        el.div(
          {className: 'panel-heading'},
          'UserList'
        ),
        el.div(
          {className: 'panel-body'},
          el.ul(
            {},
            _.values(chatStore.state.userList).map(function(u) {
              return el.li(
                {
                  key: u.uname
                },
                helpers.roleToLabelElement(u.role),
                ' ' + u.uname
              );
            })
          )
        )
      )
    );
  }
});

The code is in React, so it might be better if you learned
that before delving into this project.
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!