23 November 2026
AI builds it, Wallet Verifier proves it: wallet integrations done right
AI builds it, Wallet Verifier proves it: wallet integrations done right
Connecting a casino’s wallet to a game platform is where money bugs live. We give operators two tools that work as a pair: a skill that teaches their AI coding agent to build the integration the right way, and Wallet Verifier, which tests it in depth. The agent runs Wallet Verifier against its own staging endpoint and keeps fixing until every check passes, and we run it once more before a single real bet is placed.
Why wallet integrations go wrong
In a seamless wallet integration the operator keeps the player’s balance, and our platform asks the wallet to take bets, pay wins and roll bets back. Retries are part of normal operation: when an answer does not arrive, the same request is sent again. Requests can also arrive late, or twice at the same moment. An integration that handles only the happy path can charge a player twice for one bet, take money for a round that was cancelled, or accept requests without checking who sent them. AI coding agents make this both better and worse. They write the endpoints quickly, but given only an API reference they can be confidently wrong about exactly these cases, because nothing in the reference tells them where the money is at risk.
Two tools, one definition of done
The skill and Wallet Verifier are built from the same list of checks. The agent writes its own tests against those checks while it builds. It then runs Wallet Verifier itself against the operator’s staging endpoint, fixes whatever fails and runs it again, until every check passes. We run the same tool once more at acceptance.
- Explores the operator’s codebase first and builds on the existing ledger
- Asks the developer only what the code cannot answer
- Follows the money rules for retries, cancels and amounts
- Tests itself against every Wallet Verifier check
- Runs Wallet Verifier on staging and fixes each failure until all checks pass
- Close to thirty scenarios with real signed requests
- Compares every balance the wallet returns with the expected one
- On failure, shows the request, the expected result and the actual answer
- Run by the operator’s agent while building, and by us at acceptance
The build side: an integration skill for AI coding agents
The skill is a folder of instructions that works in Claude Code and other agents that support skills, or can be pasted into any AI chat. We fill in the operator’s integration values before sending it, and send the secret key separately. It covers the four endpoints the platform calls, request signing and game launch, and it tells the agent how to work: explore first, confirm open decisions with the developer, implement, test locally, run Wallet Verifier on staging until nothing fails, then hand off with a report. Most of it is about the rules that keep money right, written so an agent cannot miss them:
- Idempotent by transaction id Every bet, win and refund carries a unique id and moves money at most once. Sending it again returns the current balance and changes nothing.
- Duplicates in flight A retry can arrive while the original is still being processed. The second copy is treated as a repeat, never as a second charge.
- Retries are always accepted Wins, refunds and their retries can arrive hours after the player has left. They are accepted even when the player’s session has expired; only new bets can be refused.
- A cancel is final A bet is refunded once, and a bet that arrives after its own cancel is refused, so a late request can never undo a refund.
- Flexible session management Operators can choose how player sessions work. The integration starts from the strictest setup, and can be adjusted for advanced gaming systems with their own session rules.
- One balance only Every session draws on the operator’s existing wallet. The agent never creates a second balance next to it.
One integration for every game type. The standard integration does not depend on the kind of game behind it. The same wallet endpoints serve single-player games, multiplayer rooms, sessions that span several games, and advanced gaming systems connected through our RGS , so the operator builds and verifies it once.
Security is part of the instructions
The skill tells the agent to check each request’s signature first, before reading any field, on the exact bytes received, with a constant-time comparison. The signing secret is read from the environment only: it never goes into code, configuration files, tests, logs or the AI conversation. The agent signs its own Wallet Verifier requests from the same environment variable, so running the checks never exposes the key either.
The prove side: Wallet Verifier
Once the integration is on staging, Wallet Verifier sends real signed requests with the operator’s test players and checks every balance the wallet reports. Its scenarios fall into five groups.
- Requests signed with the wrong secret are refused, for sign-in, balance, bets and cancels alike
- Unknown launch keys are refused
- A repeated bet or win with the same id changes nothing
- Two copies of one bet sent at the same moment are charged once
- Cancelling the same bet twice refunds it once
- A bet that arrives after its own cancel is refused
- A bet replayed after it took the whole balance is not charged again
- A cancel for an unknown bet is answered safely
- Balances chain correctly across consecutive rounds
- Bets over the balance are refused
- Zero bets, side bets, free bets and promotional prizes each move the balance exactly as they should
- One player can play two games at once, and both charge the same balance correctly
Test, fix, run again: the agent closes the loop
The agent does not stop at its own tests. Once the integration is deployed to staging and we have added the operator’s staging wallet to our platform, the agent starts Wallet Verifier with one signed request. The answer lists every check with its result, together with the request the wallet received and the response it sent back. For each failure, the skill tells the agent to find the cause in the code, fix it, deploy the fix to staging and run Wallet Verifier again. The loop ends when nothing fails, and the developer can follow every step.
- Run Start Wallet Verifier One signed request runs every check against the staging wallet.
- Read Find what failed Each failed check shows the request, the expected result and the wallet’s answer.
- Fix Fix and deploy The agent fixes the cause in the code and deploys it to staging.
The final run becomes the report. The agent saves the result and turns it into a PDF from a fixed template we supply, so every operator’s report has the same layout and lists every check. Wallet Verifier never runs on production: the platform refuses the request there, and also from any address the operator’s wallet does not allow.
Why an independent check still matters
An agent that writes both the code and its tests can share the same blind spot in both, which is why its own tests are not the last word. Wallet Verifier is written and maintained by us, runs on our platform against the deployed endpoint rather than the agent’s local server, and is the same tool we use for every wallet on the platform, AI-built or not. The agent can run it as often as it needs, but it cannot change what it checks.
From first prompt to go-live
-
Receive the skill operator We send the skill with the integration values filled in, and the signing secret through a separate channel.
-
Build with the agent operator The agent explores the codebase, asks the open questions, implements the endpoints and tests them locally against every Wallet Verifier check.
-
Run Wallet Verifier until it passes operator Once we have added the staging wallet, the agent runs Wallet Verifier, fixes and redeploys whatever fails, and runs it again until every check passes.
-
Hand-off report operator The agent lists the endpoint URLs, the configuration to send us, its test results, the final Wallet Verifier report and anything still open.
-
Acceptance Tequity We run Wallet Verifier once more from our Back Office with fresh test keys, leave one round unfinished to confirm it is settled later, and check territory blocks and loss limits with the operator’s test players.
-
Go live both Production gets its own endpoint and its own secret, with the configuration that passed on staging.
What operators get out of it
FAQ
Which AI coding agents does the skill work with?
Claude Code and other agents that support skills. Agents without skill support can be given the skill as the first message of the conversation. To run Wallet Verifier itself, the agent needs to be able to run commands, as Claude Code can.
Who runs Wallet Verifier?
The operator’s agent runs it on staging while it builds, as often as it needs. We run it once more at acceptance, before go-live.
Does the AI ever see our secret key?
No. The secret is sent separately and set as an environment variable. The skill tells the agent never to put it into code, logs or the conversation, and the agent signs its Wallet Verifier requests from that variable.
Do we still need developers?
Yes. The agent asks a developer for the decisions only the operator can make, and a developer reviews the result and releases it to production. The skill makes their work faster and safer; it does not replace them.
Is there documentation for people as well?
Yes. The same API is described in our wallet integration guide, which comes with the skill.
Does Wallet Verifier touch real player money?
No. It runs only outside production, with test players the operator provides. The platform refuses Wallet Verifier on production.
What if we integrate without AI?
Wallet Verifier tests every wallet the same way, however it was built.
23 November 2026_by TEQUITY
Share :