How to Build a CFTC-Compliant Web3 Wallet
A CFTC-compliant Web3 wallet keeps spot holdings separate from derivatives, proves actual delivery of the assets it moves and keeps clean custody records.
On this page
Short answer
A CFTC-compliant Web3 wallet is a wallet built so that everything it does sits inside the rules of the Commodity Exchange Act: spot transfers are treated as spot, any derivatives feature is offered only through a registered venue, and the wallet can prove who controls each asset. The CFTC regulates crypto derivatives, not ordinary spot purchases, so compliance starts with keeping those two activities apart.
What does a CFTC-compliant Web3 wallet mean?
A CFTC-compliant Web3 wallet is a wallet designed so that its features, custody and records fit the Commodity Exchange Act, the US law that gives the Commodity Futures Trading Commission (CFTC) its authority. It does not mean the CFTC has approved the wallet, because the CFTC does not approve wallets. It means the wallet is built to stay inside the lines the CFTC draws.
The first line is the one between spot and derivatives. The CFTC regulates futures, options and swaps on crypto commodities, and it licenses the venues where those contracts trade. It does not license the app where a person buys bitcoin with dollars and moves it to a wallet they control. A wallet that only stores keys, signs transactions and sends assets is not a derivatives venue.
The second line is fraud. Even where the CFTC does not license a market, it keeps anti-fraud and anti-manipulation authority over spot virtual-currency markets. A wallet that misleads users about prices, fees or the safety of funds can draw enforcement even if it never touches a derivative. Compliance is therefore about honest design as much as registration.
What does the CFTC actually regulate?
The CFTC's authority over crypto depends on the activity, not the coin. A token being a commodity under the Commodity Exchange Act does not by itself put a wallet under CFTC registration. The question is whether the product is a derivative, a margin-backed retail transaction, or a plain spot transfer.
| Activity | CFTC role | What the wallet must do |
|---|---|---|
| Spot purchase and self-custody | Anti-fraud authority only | Show real prices and fees, keep keys under user control |
| Futures, options and swaps | Full regulation of the venue and broker | Route through a registered exchange, never run the market itself |
| Retail margin-backed trades | Regulated unless actual delivery occurs | Deliver the asset to the user's control within the delivery window |
| Custody of client assets | Record and segregation expectations | Keep client assets separate and reconcile them daily |
That activity-first test is the one to apply to every feature before it ships. If a feature adds borrowing, a contract whose value tracks a price, or a promise of a return, it probably moves the wallet into regulated territory. If it only moves assets the user already owns, it usually does not. For the broader build, crypto wallet development covers the architecture choices that sit under these rules.
Design for actual delivery, not for borrowing
Actual delivery is the concept that decides whether a retail crypto transaction escapes CFTC regulation as a margin-backed deal. Under the Commodity Exchange Act, a retail commodity transaction offered with borrowing or margin is regulated unless the asset is actually delivered. Courts have held that actual delivery means transferring a real degree of possession or control to the buyer.
For a wallet, that means the user must hold the keys or otherwise control the address where the asset sits. A record in the wallet provider's own database, with the asset still held in a company wallet, is not delivery. The CFTC's position is that possession of a crypto asset requires possession of the credentials for the wallet address that holds it, so the design must put those credentials in the user's hands.
Delivery also has a time limit. The long-standing guidance gives 28 days for delivery to occur, and the transaction must be documented at every step: timestamps, wallet addresses and evidence that the user controls the destination. Build that evidence trail into the wallet from day one, because reconstructing it after an inquiry is slow and rarely convincing.
How to build the wallet in six steps
Build the wallet in this order, because each step depends on the one before it. Skipping the classification step and adding a trading feature later is the most common way a wallet drifts into regulated activity without noticing.
- Classify every feature. List each feature and label it spot, derivatives or margin-backed, with a lawyer's sign-off on the borderline ones.
- Separate custody from trading. Keep the self-custody wallet and any trading feature in different modules, so a trading change cannot touch stored keys.
- Give users real control of keys. Use non-custodial key management by default, and make any custodial option an explicit, documented choice.
- Build the record layer. Log every transaction, address, timestamp and delivery event in a form you can hand to a regulator.
- Add anti-money-laundering checks. Screen addresses and transactions, keep customer records, and file the reports the Bank Secrecy Act requires for money services businesses.
- Test the failure paths. Check what happens when a transaction is blocked, a key is lost, or a sanctioned address appears, and write the runbook before launch.
One practical point: do not describe the wallet as CFTC-regulated or CFTC-approved in any marketing. The CFTC does not license wallets, and that claim itself can draw attention. A Web3 wallet build that follows this sequence is far easier to defend than one that adds compliance after launch.
Anti-money-laundering, sanctions and reporting
A wallet that moves value for US users will usually sit under anti-money-laundering rules even when it is not a CFTC-regulated venue. The Bank Secrecy Act treats many wallet and exchange operators as money services businesses, which must register, keep records and report suspicious activity. Sanctions rules apply as well: the wallet must screen addresses against the OFAC list and block transactions with sanctioned parties.
Design the checks into the transaction flow rather than bolting them on. Screen the destination address before signing, not after the transaction is broadcast. Keep the screening result with the transaction record, so an auditor can see why a transaction was allowed or blocked. And decide in advance how the wallet handles a blocked transaction, because a silent failure looks like a bug to the user and a gap to an examiner.
Tax reporting is a separate duty and it is changing. The US now expects brokers and some wallet operators to report customer transactions, so the wallet should export a complete, accurate transaction history per user. A clean export is also the feature users ask for first at tax time, so it pays for itself twice.
Example (hypothetical): a wallet that adds a trading tab
Example (hypothetical): a team ships a non-custodial Web3 wallet with 40,000 users. Six months later it adds a trading tab that lets users buy crypto with borrowed funds, settling the position after 30 days. The team assumes the wallet is still unregulated because it only stores keys.
The classification step would have caught the problem. A retail trade offered with borrowing is a margin-backed commodity transaction under the Commodity Exchange Act, and the 28-day delivery window has already passed by day 30, so the actual-delivery exception does not apply. The wallet is now offering a regulated transaction without a registered venue.
The fix is to redesign before launch: either deliver the asset to the user's own address within 28 days, which turns the trade back into a spot transaction, or route the borrowing feature through a registered derivatives venue. The arithmetic is simple — 30 days is more than 28 — but the cost of fixing it after launch, in engineering time and legal exposure, is far larger than the cost of classifying the feature first.
What are the common mistakes?
The most common mistakes in a CFTC-compliant Web3 wallet build are assuming a token's status decides the rules, treating a database entry as delivery, and adding trading features without a classification review.
- Classifying by coin, not by activity. Whether a token is a commodity does not decide registration; whether the product is a derivative or a margin-backed trade does.
- Calling an internal record delivery. If the asset still sits in a company wallet, the user has not received it, however the interface describes it.
- Adding borrowing without a plan. Margin-backed features pull the wallet into CFTC territory, so they need a registered venue or a delivery design.
- Mixing custody and trading code. A bug in a trading feature should never be able to reach stored keys.
- Marketing the wallet as regulated. Claiming CFTC approval the wallet does not have is itself a problem.
- No transaction records. Without timestamps, addresses and delivery evidence, there is nothing to show an examiner.
If the wallet also needs a licensed trading venue, launching a crypto exchange legally explains the registration path.
For custody design, why crypto is moving to Web3 wallets covers the self-custody model this wallet is built on.
Key takeaways
- The CFTC regulates crypto derivatives and margin-backed retail trades, not ordinary spot purchases
- Compliance is decided by activity, not by the coin: a derivative or margin-backed feature changes the rules
- Actual delivery means the user controls the keys for the address holding the asset, within 28 days
- Keep custody and trading in separate modules so a trading bug cannot reach stored keys
- Log every transaction, address and delivery event in a form a regulator can read
Frequently asked questions
Does the CFTC regulate crypto wallets?
No, the CFTC does not license or approve wallets. It regulates derivatives venues and brokers, and it keeps anti-fraud authority over spot virtual-currency markets. A wallet becomes relevant to the CFTC when it offers derivatives or margin-backed retail trades, or when it misleads users.
What is actual delivery in crypto?
Actual delivery means the buyer receives a real degree of possession or control of the asset, which for crypto means holding the credentials for the wallet address where it sits. An internal database entry while the asset stays in a company wallet is not delivery, and the usual window is 28 days.
Can a Web3 wallet offer leveraged trading?
Only through a registered derivatives venue or a design that delivers the asset to the user's control within the delivery window. Offering margin-backed trades directly from an unregistered wallet is a regulated activity, so the feature needs a lawyer's review before it ships.
Do wallet operators need anti-money-laundering checks?
Usually yes. Many wallet and exchange operators count as money services businesses under the Bank Secrecy Act, which requires registration, record keeping and suspicious-activity reporting. Sanctions screening of destination addresses is also required before a transaction is signed.
What records should a compliant wallet keep?
Keep timestamps, wallet addresses, transaction amounts, delivery evidence and screening results for every transaction. Records should be exportable per user, since tax reporting duties are also expanding for wallet and broker operators.
Is the CFTC's crypto framework finished?
No. In October 2026 the CFTC asked for comment on a proposed framework for retail crypto asset transactions, so the rules are still developing. Check the current position before launch rather than relying on a proposal.