Since our end goal is to be considered a viable casino dedicated to Nano, of course, LuckyNano only offers fair games to players.
As in all casinos, some games do have a small edge in favor of the house, for instance BlackJack and American Roulette. Odds to win at these games are strictly identical to real life casinos — e.g. 1 out of 38 when betting on a specific Roulette number, 18 out of 38 for Black / Red. House edge for Dice is 0.1% as of now.
Random numbers are all generated the same way, no matter what game is played: to get properties indiscernible from natural randomness, we use OpenSSL libraries. OpenSSL is one of the most used toolkits on Internet, mostly for its cryptographic functionalities, which are ideal to secure the most sensitive data usually exchanged online: from HTTPS websites like LuckyNano, to social networks or bank passwords and credit card numbers. A reference in terms of cryptosystems used for data transmission is RSA. It relies on the generation of virtually unique, and very large numbers (billion times bigger than the number of stars in our universe).
LuckyNano chose the PHP openssl_random_pseudo_bytes function to generate, similarly to RSA, truly random binary numbers. Again, all games work the same way, but we will use Dice as an example here. For each game, a number between 0 and 99999 is randomly generated. So, how do we get there? When one rolls the dice, the openssl_random_pseudo_bytes function is called to return a 128-bit number, e.g.
This number is then turned into a more concise, but equivalent hexadecimal string. It is composed of numbers from 0 to 9, and letters from A to F, and is what is actually stored in our database, and displayed in the history as a unique game hash. The above binary number would be translated as follows:
In the mean time, the binary number is converted to a decimal one — here you will surely note how such a randomly picked value is hard to reproduce:
Such a large number cannot be handled by the server without another specific PHP library, which is called BCMath. How the final number is obtained is quite simple from there: the large decimal number is divided by the maximum value we desire to generate, e.g. 99999 + 1 = 100000 for Dice. The remainder of that division is the number finally used for the game — here, 89154. For roulette, we would divide by 38, and in Poker or BlackJack, by 14 for the rank, and 4 for suits, the rest of the process being identical, except for the fact we do not store hashes in our database for card games.
Due to the nature of the NANO network, when a send block is generated, the funds associated cannot be recovered. We do verify that the wallet address that you provided for withdrawals is in a correct format (64 characters), but if you happen to misspell it or lose the seed/password to recover your wallet, funds withdrawn will be lost and impossible to recover.
Firstly for security reasons, and to avoid fraud. The time and amount restrictions thus act as a way of preventing too small transactions from spamming our node / team members, and guarantee a reasonable processing time for everyone.
The transaction may need manual processing. You will receive a mail notification when the transaction is complete (generally under a business day, more like from almost instant to a few hours).
Your personal wallet address is used as a way to identify your account. It is unique and once registered, it cannot be used for another account. Thus, our deposit verification algorithm uses your profile's recorded wallet address to make sure that you initiated the transaction (along with the hash).
It is of high importance that you specify your wallet address before sending any funds to our node.
As of now, LuckyNano only runs one node to handle deposits. The time and amount restrictions act as a way to prevent too small transactions from spamming our server, and guarantee a reasonable transaction completion time (receive blocks will be generated faster).
NANO transactions are reputed to be instant. This is correct, but it does take a few seconds for your computer and our server to generate and broadcast their respective send / receive blocks. If you get an error message when trying to deposit funds, just wait a bit before trying again. Please contact our support team if the issue persists longer than expected.
When you leave a Poker table, LuckyNano takes a small fee (depending on the table that you were playing on), proportionnal to the profit you made. There is no fee to sit at a Poker table and begin playing, and you won't be asked any fee in the case you made a negative profit, or simply end with an even balance.