Table of Content 16
Key points
-
Code
A smart contract is a program at an address on a blockchain, with its own code and data.
-
Final
Interactions with a contract are irreversible, and contracts cannot be deleted by default.
-
Approvals
An unlimited token approval lets a contract move that token from your wallet later, until you revoke it.
-
On-chain proof
Chainlink VRF publishes a proof with each random number, verified on-chain before a game can use it.
What a smart contract does in a casino
A smart contract is a program that runs on a blockchain: code and data at a specific address. In iGaming, a contract can hold the bankroll, accept a bet, ask for a random number, and pay the result to your wallet in the same flow. The rules are public, and the contract follows them the same way for every player.
Contracts cannot read the outside world on their own. Anything from off-chain, including a random number generated by a service, arrives through an oracle, which becomes one more part you rely on.
Where contracts help
- Transparency: the game rules and payout logic are visible to anyone, so you do not have to take an operator's word for them.
- Automatic payouts: a win can be paid when the conditions are met, without a manual approval.
- Public records: every bet and payout is written to the chain, so a result cannot be quietly changed afterwards.
- Lower running costs: automation removes some manual work for the operator. Whether that shows up in better odds or bonuses depends on the casino, so check the terms.
Three ways a crypto game can prove it is fair
| Model | Who runs the game | What you can check | What you still trust |
|---|---|---|---|
| Certified RNG | The casino or game studio | A testing lab's certificate | The lab and the operator |
| Provably fair seeds | The casino's server | Each result, from the server seed hash, your client seed and the nonce | That the casino pays out what the result says |
| Smart contract with verifiable randomness | A contract on a blockchain | The contract code, the random proof and the payout transaction | The code, its auditors and the oracle |
How each model works.
Provably fair is a middle ground used at crypto casinos: the casino commits to a hashed server seed before you bet, and you can recompute each result afterwards. Our provably fair crypto casinos page covers casinos that offer it, and crypto dice walks through a verification.
Random numbers on a public chain
Everything on a blockchain is public, so a contract cannot simply pick a secret random number. Services such as Chainlink VRF generate the number off-chain together with a cryptographic proof, and the proof is verified on-chain before the game can use the number. The proof lets anyone check that the number came from the stated process and was not swapped afterwards.
What can go wrong
- Bugs. A flaw in a contract's code can let an attacker drain the funds it holds. Code that holds a bankroll is a target.
- Upgradeable contracts. Some contracts can be changed through upgrade patterns. Then you trust whoever holds the upgrade keys.
- Token approvals. To bet with a token you often approve the contract to spend it. An unlimited approval lets the contract move all of that token from your wallet, even later. Approve only what you need and revoke access you no longer use.
- No chargeback. A transaction that runs is final. A mistake, a phishing site or a bad contract cannot be reversed.
- Slow regulation. Rules for contract-based games are still unsettled in many places, so it can be unclear who answers for a fault.
Where smart contracts show up in crypto iGaming
At a custodial crypto casino you deposit to an address the casino controls and play from a casino balance; if you send a token, its contract is the only one involved. You meet contracts directly when you connect a wallet to a dApp casino or sign in with MetaMask. For the pooled-bankroll model, see DeFi in crypto casinos; for keeping control of your coins, non-custodial casinos.
What this means in the Philippines
Online casinos are legal in the Philippines under an open licensing model, with the PAGCOR Charter as the governing law. Paying for online casino play with crypto is prohibited in the Philippines. The minimum age for online play in the Philippines is 21. A game that runs in a smart contract is still an online casino game, so these rules apply to it as well.
The Philippine minimum age for online gambling is 21. Crypto deposits at licensed Philippine gambling operators are prohibited. The governing law for Philippine gambling is the PAGCOR Charter.
Non-custodial control: identify who holds the stake
Non-custodial control needs a precise boundary around the funds under discussion. Use that boundary to separate money in a wallet from money committed to a game. For the custody distinction, read our guide to non-custodial crypto casinos. Write down the account that holds the stake during an unresolved round. Ask who authorises a return of that stake. Keep an unanswered custody question unresolved rather than interpreting a wallet connection as proof of control. Treat the marketing label as the start of the enquiry. Request an explanation of the actual route taken by the funds.
Read the withdrawal conditions separately from the login instructions. Identify the action required to retrieve an unused balance. Check whether the explanation covers an unfinished round. Ask what happens when the website is unavailable. Keep the answer distinct from any promise about ordinary payout speed. Avoid using a small successful payment as evidence about every possible withdrawal. Record the published conditions before deciding whether the arrangement matches your understanding. Leave funds uncommitted when the custody explanation remains incomplete.
DeFi permissions: read the authority behind the prompt
DeFi permissions deserve a separate reading from the advertised game rules. Start with the permission requested in the wallet prompt. For the pooled-funds context, read our guide to DeFi in crypto casinos. Identify the asset named in the request before interpreting the amount. Compare the spending limit with the action you intended to authorise. Reject a request whose purpose you cannot explain in ordinary language. Do not let a familiar logo substitute for that explanation. Ask for clarification without providing a recovery phrase or private key.
Keep upgrade authority on the same checklist as spending authority. Ask whether the published rules describe a changeable contract. Identify the party authorised to make any documented change. Read the stated notice process before relying on a particular version. Treat an unexplained administrator role as an unresolved dependency. Avoid assuming that the word decentralised answers an ownership question. Separate permission to spend a token from permission to change game logic. Review both permissions independently when the documentation describes both. Stop the evaluation when the documentation and wallet request describe different actions.
Review evidence: match the document to the implementation
Contract review evidence needs to identify the implementation being discussed. Begin with the published address and the network named alongside that address. For the broader evidence checklist, read how we review crypto casinos. Ask whether the cited review names the same implementation. Record the scope of that review without extending its conclusion to unrelated games. Distinguish a document describing code from a document describing an operator. Do not turn either document into a guarantee about future play. Keep the original wording of any limitation in your notes.
Use a claim-by-claim reading instead of a single safe-or-unsafe verdict. Ask what evidence supports the statement about randomness. Ask separately what evidence supports the statement about settlement. Leave a claim unanswered when its supporting explanation is missing. Do not infer a successful security assessment from the presence of technical vocabulary. Read the date and version attached to a cited document. Ask whether a later change falls outside the document described. Request a clear account of the gap before treating old evidence as relevant to the current implementation.
Gambling regulation: separate permission from execution
Gambling regulation needs its own assessment alongside the technical explanation. Start with the country whose rules apply to the proposed activity. For the licensing distinction, read our guide to crypto gambling regulation models. Keep permission to operate separate from the ability to execute a transaction. Do not treat a working wallet connection as a legal assessment. Ask which licensed entity takes responsibility for the service described. Record an unanswered licensing question as unresolved. Avoid transferring a licence statement from one business to another without evidence.
Read the payment rule before considering any advertised convenience. Keep the payment rule separate from the general status of cryptocurrency ownership. Ask whether the published restriction concerns the intended casino payment. Use the market facts in this guide as context for that question. Do not reinterpret a payment restriction as an invitation to find another route. Seek qualified guidance when the activity or jurisdiction remains unclear. Decline the transaction when the explanation depends on ignoring a stated restriction.
Build a contract evaluation record without funding a game
- Define the claim Write one question about the proposed contract before reading promotional material. Keep the question narrow enough for a document to answer directly. Avoid combining custody and licensing into one verdict.
- Match the evidence Compare the named network with the address supplied in the documentation. Keep any mismatch unresolved. Ask for a precise explanation rather than choosing whichever description sounds more reassuring.
- Record the limit Note the conditions attached to the answer you find. Preserve exceptions concerning the implementation under discussion. Do not extend a narrow explanation into a general assurance about the whole casino.
- Choose a stopping point End the evaluation when a critical question lacks an answer. Do not make a deposit merely to obtain that answer. Keep the research decision separate from the decision to gamble.
Where to play
Crypto casinos in our ranking
Offers as each casino states them. Check each review for the games and fairness checks the casino offers.
-
- Bonus
- ₱1,100,000
- Wagering
- –
- You must wager
- –
- Expected value
- –
21+ · T&Cs Apply · Play Responsibly -
- Bonus
- ₱30,000 + 50 FS
- Wagering
- –
- You must wager
- –
- Expected value
- –
21+ · T&Cs Apply · Play Responsibly -
- Bonus
- ₱110,000
- Wagering
- 3x
- You must wager
- ₱330,000
- Expected value
- +₱96,800
21+ · T&Cs Apply · Play Responsibly
Terms
- Smart contract
- A program stored at an address on a blockchain. So what: Its rules are public; its mistakes are permanent.
- Oracle
- A service that brings off-chain data, such as random numbers or prices, to a contract. So what: A game is only as fair as its oracle.
- VRF
- Verifiable random function: a random number with a proof anyone can check. So what: Lets you confirm the casino did not pick the result.
- Token approval
- Permission for a contract to spend a token from your wallet, up to a limit. So what: Revoke approvals you no longer need.
Smart contract FAQ
What is a smart contract in iGaming?
A program on a blockchain that holds funds, takes bets and pays out by its code: code and data stored at a specific address.
Are smart contract casinos safe?
They remove the need to trust a cashier, but add code risk. A bug can be exploited to drain the funds a contract holds, and transactions cannot be reversed. Look for published, audited contracts and limit what you connect.
Do smart contracts make payouts instant?
A contract can pay in the same transaction as the bet, so the wait is the chain's block time. You still pay network fees for each bet you place on-chain.
How is randomness made fair on a blockchain?
Through a verifiable random function such as Chainlink VRF, which delivers a random value with a proof that is checked on-chain before the game uses it.
What is a token approval and why revoke it?
Permission for a contract to spend a token in your wallet. An unlimited approval lets it move that token later. Revoke approvals you no longer use with a revoke tool or a block explorer.
Do smart contracts change what is allowed in the Philippines?
Paying for online casino play with crypto is prohibited in the Philippines. Running the game in a contract does not change that, so check the rule with the casino and PAGCOR before you deposit.