Skip to content

Mini-casino dApp (decentralized application) | (basic casino shell minigames) | (GUI soon)

Notifications You must be signed in to change notification settings

CaptainBeluga/FuffaStake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FUFFA STAKE

Mini-casino dApp (decentralized application) | (basic shell games, GUI soon) | BET using ETH

  • Fuffa Stake Minigames:
    • 100% customizable and you can create your own
    • Stored in games directory
    • Must include from basic_casino import * to access Casino Basic functions
    • Every minigame mechanism inside a function called main() | def main():

  • Critical Information are stored in .env:
    • BANK_ADDRESS (Main Bank ETH Address)

    • BANK_PRIVATE_KEY (sign transaction from BANK to PLAYER) | (e.g. when the player wins the bet)

    • PLAYER_ADDRESS (Player ETH Address)

    • PLAYER_PRIVATE_KEY (sign transaction from PLAYER to BANK) | (e.g. when the player bets)


  • Recommended Requirements:

    • INFURA API KEY => https://www.infura.io/ (MUST REGISTER)
      • In basic-casino.py change API_URL = https://goerli.infura.io/v3/<API_KEY>.
        ⚠️ I used Goerli Network for Test purposes but you can choose whatever network you like ⚠️


    • WEB3 Python Module
      • pip install web3

  • EXAMPLE:

    • Create a first wallet which is the PLAYER WALLET w/ metamask

    • Store its PRIVATE KEY

    • Create a second wallet which is the BANK WALLET

    • Store its PRIVATE KEY

    • Mine some ETHs in both wallets with the online miner ⬆️

    • In Metamask enable Advanced network option (in settings)

    • Select Goerli as current network and you'll see your withdrawn ETHs

    • Store ADDRESS and PRIVATE KEY of both wallets in .env file to their respective fields.

  • GUI:

    • Soon... 💯

About

Mini-casino dApp (decentralized application) | (basic casino shell minigames) | (GUI soon)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages