MoneyPot.com is a crypto casino with user-created games.
Anyone can register and create games that run on our casino. Players will be able transfer money into the game from their casino balance, play the game, and then withdraw their winnings back to their casino balance.
We are always working on our own line of first-party games, but we invite you to develop your own game ideas on our platform.
We have future plans to release our casino platform, and if you use our game server (@moneypot/hub), your game will be compatible with all casinos that use our platform.
This scenario quickly explains how MoneyPot works.
user1
user on MoneyPot.com.dice2
controller, and you create an experience that iframes your game running at https://dice.example.com
.dice2
.dice2
's API key to see that I sent your controller 100 bits. You display my 100 bit balance on https://dice.example.com
.https://dice.example.com
and lose 25 bits. Your controller knows I now hold a balance of 75 remaining bits with you.dice2
to user1
.This diagram can illustrate the whole flow:
Loading diagram...
The MoneyPot casino embeds any number of individual games as iframes. To avoid overloading common terms like "game" or "app", we call these things "experiences".
When you're logged into MoneyPot.com, you can add experiences through the dashboard.
An experience's iframe_url
is loaded with a user token like this: <iframe src="https://game.example.com#userToken=xxx"></iframe>
. The experience then takes the user token and exchanges it against the MoneyPot casino's API to get the user's public info like id and username. This is how your game knows which MoneyPot user on which casino is playing your app.
There are two entities that can hold a currency balance on a casino and transfer money to other holders:
A controller can be thought of as a "bot" that has programmatic API access to its balance and currency transfers.
When logged in as a user, you can create controllers on the casino that each have their own dashboard. They are a building block for implementing experiences:
Users send your controller currency, make bets against your controller server against their balance, and then withdraw money back from your controller.
A controller server (implemented by @moneypot/hub
) is a server that uses its controller api keys to manage balances and transfers across each casino where it has a controller registered.
The idea is that if you have a game idea, you can implement it once on a single controller server, and then every MoneyPot casino can iframe your game. All you have to do is maintain a controller on each casino.