Swapping Tokens
Last updated
Last updated
Swaps are performed through the 0x Protocol aggregator which will automatically give you the most optimal swap rate across DEXes.
Funds shielded into a 0zk address: Shielding Assets
You can also swap assets held in your public 0x address by pressing Enter on 'Publicly SWAP ERC20 Tokens'. The process is much the same except you will need some amount of network base token held in the 0x address to pay for gas.
The maximum amount is pre-filled. If you press enter without entering in any values, it will automatically proceed with the maximum possible balance.
Paste in the token contract address if adding in a custom token.
Always double check token addresses to ensure they are the correct token. Anyone can deploy a token with any name.
Relayers are wallets which submit transactions on your behalf so that your 0x address is not exposed when transacting. You can either use a community run Relayer or Self-Relay a transaction.
Most community Relayers will accept wrapped base token like WETH or WMATIC and stablecoins like DAI or USDC.
This will generate a Zero Knowledge Proof which enables to prove your capacity to complete the transaction privately. Proof generation can take up to 30 seconds depending on your hardware.
After this, the transaction cannot be changed and the assets will be unshielded to the destination 0x address so ensure that details are correct.
The private swap has now been completed and your token balances are reflected in the Main Balance Screen.