TxEVM Overview
TxEVM adds Cancun smart contracts to TxFlow. It runs on the same L1 as TxCore, the order books, margin, and risk engine, so contracts can hold Core assets and read Core prices without a second chain or an external oracle.
TxCore and TxEVM share one consensus and one commit path. Linked assets transfer both ways, contracts read Core prices through CoreRead, and CoreWriter (coming soon) will let contracts act on Core. Every five Core commits seal one EVM block.
- One chain, two environments. TxCore and TxEVM are ordered by the same Tx-BFT consensus in one commit path; there is no separate EVM sequencer. TxEVM follows Cancun without blobs, so Ethereum tooling works over JSON-RPC.
- Blocks. Five Core commits form one EVM block, about every 0.25 s. Within each commit, Core transactions run before EVM transactions. A sealed block is final.
- Transfers. Each linked Core spot asset is an ERC-20 on TxEVM. It is the same asset on both ledgers, not a wrapped claim. See Transfers.
- CoreRead. Contracts read mark price, oracle price, and best bid/ask from the Core commit they execute in. See CoreRead.
- CoreWriter (coming soon). Contracts will submit Core actions such as placing and canceling orders. Until then, Core orders go through the Exchange API.
Access requirements
To send transactions on testnet, an address needs:
- At least $100 in total equity on TxFlow mainnet at the same address (perps, spot, vault, and outcome accounts combined), or a whitelisted address. Every
eth_sendRawTransactionis checked; read methods are open to everyone. See Deposits & Withdrawals to fund a mainnet account, or reach out in our Discord to request whitelisting. - Spot USDC on TxCore testnet to pay gas. The testnet faucet credits the perp account; move USDC to spot with
tokenSend(perp→spot). - A TxCore account at the receiving address to move assets from TxEVM back to TxCore. Transfers to an address without one are not credited.
Testnet at a glance
| Chain ID | 25110 |
| RPC | https://testnet-api.txflow-testnet.xyz/evm (HTTP), wss://testnet-api.txflow-testnet.xyz/evm (WebSocket) |
| Explorer | scanner.txflow-testnet.xyz |
| EVM version | Cancun, without blobs |
| Block time | About 0.25 s. A sealed block is final; there are no reorgs. |
| Gas | Paid in USDC from TxCore spot. About 0.002 USDC per 100,000 gas at the floor price. Transactions must have value = 0. See Gas. |
| Gas limit per transaction | 10,000,000 |
| USDC on TxEVM | txUSDC, 0x2100000000000000000000000000000000000001, 6 decimals |
| USDC system address | 0x2000000000000000000000000000000000000001 |
| TxCore → TxEVM | coreToEvmSend from spot. Fee 0.004 USDC at the floor price; minimum 1 USDC. |
| TxEVM → TxCore | ERC-20 transfer to the system address. No Core fee; minimum 1 USDC. |
| CoreRead | Mark price, oracle price, best bid/ask, and Core block number, for live perps. See CoreRead. |
Get started
- Use an address with at least $100 in total equity on TxFlow mainnet, or request whitelisting in our Discord. A newly generated key does not meet the requirement on its own.
- Claim testnet USDC from the faucet (Try Testnet) and move it to spot with
tokenSend. - Add the network to your wallet or tool with chain ID
25110and the RPC URL above. - Deploy and call contracts as on any EVM chain; see the Foundry example in JSON-RPC. To hold
txUSDCon TxEVM, transfer it withcoreToEvmSend.
Roadmap
TxEVM launches on testnet first, then on mainnet. Until the platform token launches (TGE), gas is paid in USDC; after TGE it is paid in the platform token.
| Stage | Gas | What changes |
|---|---|---|
| Testnet | USDC, from TxCore spot | Deploy contracts, move USDC both ways, read Core prices with CoreRead. Sending transactions requires at least $100 in total equity on TxFlow mainnet or a whitelisted address. |
| Mainnet, before TGE | USDC, from TxCore spot | The same features on mainnet. |
| After TGE | Platform token, standard EIP-1559 | The platform token becomes the native balance and moves between TxCore and TxEVM. Transactions may carry value. Core → EVM transfer fees stay in USDC. |
The switch to the platform token happens at an EVM block boundary as part of a TxCore upgrade, announced in advance. See Switching from USDC to Native.
CoreWriter is coming soon; its stage will be announced when it is ready.
Next
| Page | For |
|---|---|
| Transfers | Moving assets between TxCore and TxEVM |
| Gas | How transactions are charged, before and after TGE |
| JSON-RPC | Sending transactions, supported methods, errors |
| CoreRead | Reading Core prices from contracts |
| Contracts | Deployed testnet addresses, including Uniswap v4 |
| Exchange API | Signed Core actions, including coreToEvmSend |