โ† Back to home

AddreNFTy

With AddreNFTy, secure unique vanity Ethereum addresses via NFTs, then deploy. Stand out in the Ethereum crowd! Mint, trade, and deploy with a contract vanity address NFTs on Ethereum.

Screenshots

AddreNFTy screenshot 1
AddreNFTy screenshot 2
AddreNFTy screenshot 3

Problem Statement

What is AddreNFTy?AddreNFTy is an innovative protocol poised to redefine how developers perceive and employ Ethereum contract addresses. Fundamentally, think of AddreNFTy as the equivalent of buying a domain name in the Web2 world, but tailored for smart contracts in Web3. With AddreNFTy, not only can you reserve a contract address, but you also have the option to deploy a contract on it or mint it for potential future sale.##How Does It Work? Traditionally, when a contract is deployed, its address depends on both the nonce of the sender and the sender's address. While accurate, this only scratches the surface. There's an alternative:CREATE2. WithCREATE2, the contract address is derived from the sender's address, the nonce, and a unique salt. However, AddreNFTy introduces an even more streamlined methodโ€”akin to aCREATE3โ€”where the contract's address is determined solely by the sender's address (which, in this case, is AddreNFTy) and the salt. Here, the salt encapsulated in the NFT serves a pivotal role. The NFT owner can utilize this salt to deploy a contract to a pre-defined address. To safeguard against front-run attacks, the salt includes the minter's address. Once a contract is deployed to the address denoted by the NFT, the NFT becomes "soulbounded" to that contract.In Summary:Deterministic Address Generation: Mint an NFT using a specific salt. This encapsulates the designated contract address for future deployment.Mint, List, or Purchase: Have the liberty to list your NFT for sale, presenting it to potential buyers.Protocol Bounties: Set a bounty on a particular address, incentivizing others to discover the right salt for you.Deployment: Deploy a contract to the NFT's represented address. Upon successful deployment, the NFT becomes soulbounded, solidifying its union with the contract.

Solution

The creation of AddreNFTy involved a blend of technologies and innovative approaches. Here's a breakdown of the tools we used, how they interconnect:Foundry: At the heart of AddreNFTy lies our suite of smart contracts. For their development, I used Foundry. Solmate: For the NFT and CREATE3 implementation using create3, we've crafted a deterministic contract address generation system. Sveltekit: Known for its minimalistic yet powerful approach, SvelteKit allowed us to develop a responsive, intuitive, and lightweight frontend. Viem: we use it in the frontend to interact with the deployed contracts. Service workers: we leverage the mining process of a salt in the navigator service workers. TheGraph: Marketplace & Bounties. For managing our NFT marketplace and tracking bounties, we've tapped into the power of TheGraph

Hackathon

ETHGlobal New York

2024

Prizes

  • ๐Ÿ†

    ๐ŸŠโ€โ™‚๏ธ The Graph โ€” Pool Prize

  • ๐Ÿ†

    ๐ŸŠโ€โ™‚๏ธ Arbitrum โ€” Pool Prize

Contributors