Uniswap (UNI), a leading decentralized exchange protocol, has announced an exciting opportunity for the crypto community with its v4 Address Mining Challenge. This initiative invites participants to contribute to the final step before the launch of Uniswap v4 by helping choose the deployment address, according to Uniswap Protocol.
The Challenge Details
The Uniswap v4 Address Mining Challenge commenced on November 10, 2024, and will remain open until December 1, 2024. Participants are encouraged to mine and submit potential contract addresses for the v4 core contract. The selection criteria for the official deployment address will focus on the number of leading zeros and the prominence of the number 4 in the address structure.
Uniswap v4 marks a significant evolution of the Uniswap Protocol, transforming it into a versatile developer platform. It introduces new market structures and assets, offering enhanced customizability and cost-efficiency. The architecture of v4 is optimized for gas savings, with pools expected to be 99.99% cheaper to create, and users benefiting from reduced costs on multi-hop swaps.
How to Participate
Participants can utilize the CREATE2 function to generate deterministic addresses using the hash of the initcode for Uniswap v4, the deployer address, and a user-selected salt. Tools like create2crunch can be employed to generate and submit salts, corresponding to candidate addresses, to the challenge smart contract on the Ethereum mainnet. The contract will score and rank addresses in real-time, with a leaderboard tracking the scores as entries are submitted.
Scoring criteria include:
- 10 points for each leading 0 nibble
- 40 points for addresses starting with four consecutive 4s
- 20 points if the first nibble after four 4s is not a 4
- 20 points if the last four nibbles are all 4s
- 1 point for each 4 elsewhere in the address
Submission and Validation
Participants can submit multiple unique addresses during the challenge. To ensure submission security, it's advised to set the first 20 bytes of your salt to the Ethereum address executing the submission. The challenge contract will verify submissions, and the highest-scoring address will be chosen as the winner. In the event of a tie, the earliest submission will be prioritized.
The winning address will be immortalized as the official Uniswap v4 deployment address upon the challenge's conclusion, marking a significant milestone in the protocol's development. For a real-time view of submissions and scores, participants can follow the v4 Address Mining Challenge Leaderboard.
Image source: Shutterstock