Introducing Permit2 & Universal Router
Today, Uniswap Labs has released two new smart contracts:
- Permit2 allows token approvals to be shared and managed across different applications creating a more unified, cost-efficient, and safer UX.
- Universal Router unifies ERC20 and NFT swapping into a single swap router. Integrated with Permit2, users can swap multiple tokens and NFTs in one swap while saving on gas fees.
They originally conceived Permit2 and Universal Router to improve their own products, optimizing gas costs, simplifying user transaction flows, and strengthening security. As ideated, they realized that other applications could greatly benefit from integrating these contracts. Uniswap is committed to building public infrastructure that pushes crypto forward, which is why we designed these contracts to be used by the entire developer ecosystem, including extensive documentation, SDKs, and a two-week bug bounty.
Integrate Permit2
Permit2 is a non-upgradable, unowned, and open-source contract that has been deployed to the same address across Ethereum, Optimism, Arbitrum, Polygon, and Celo. To start integrating, see the developer docs and SDK.
As part of their robust smart contract development standards, we’ve also launched a bug bounty program for the Permit2 contracts. Currently, Permit2 only supports ERC20 tokens. Uniswap Labs will be releasing a version for NFTs in the near future.
Integrate Universal Router
The Universal Router is a non-upgradable, unowned, and open-source contract that has been deployed across Ethereum, Optimism, Arbitrum, Polygon, and Celo. To start integrating, see the SDK. Similarly to Permit2, they are running a bug bounty program to keep Uniswap contracts to the highest security standards.
🔽DETAILS: