Content pfp
Content
@
https://warpcast.com/~/channel/fleek
0 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Fleek it till you make it: Building a Web3 URL shortener ๐Ÿš€ @fleek it till you make it! ๐Ÿš€ Forget boring, centralized URL shortenersโ€”Web3 is calling. Letโ€™s build a decentralized, censorship-resistant URL shortener using Next.js, Ethereum, and Fleek!!
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Why Web3 for shortening URLs? - Decentralization: No single entity controls the links. - Censorship Resistance: No one can take down your links. - Transparency: Every mapping is on-chain, verifiable by anyone.
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Tech Stack ๐ŸŸฃ Next.js โ€“ Frontend + SSR ๐Ÿ”ต Fleek โ€“ Web3 hosting on the edge ๐ŸŸ  Ethereum (Arbitrum Sepolia) โ€“ Immutable storage ๐ŸŸก Wagmi + RainbowKit โ€“ Wallet connections
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Set up Tailwind CSS and create lib/ & abi/ directories.
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
The Smart Contract ๐Ÿ“ Weโ€™ll store short links on-chain: ๐Ÿ“Œ Deployed on Arbitrum Sepolia ๐Ÿ”— Contract: 0x2729D62B3cde6fd2263dF5e3c6509F87C6C05892
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Connecting the Next.js app to Ethereum Create a .env file: NEXT_PUBLIC_CONTRACT_ADDRESS=0x2729D62B3cde6fd2263dF5e3c6509F87C6C05892 NEXT_PUBLIC_RPC_URL={{YOUR_ARBITRUM_SEPOLIA_RPC}} Load the contract ABI & integrate ethers.js to interact with it.
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Building the UI ๐Ÿ”— Enter a long URL & short code ๐Ÿ‘› Connect wallet via RainbowKit โšก Write to blockchain & generate shareable links
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Automatic redirection! Add a dynamic route in Next.js โ†’ /[shortCode].js. Users can visit site.xyz/abc123, which fetches the original URL from the contract and redirects them instantly!
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
Deploying on Fleek
1 reply
0 recast
0 reaction

Meison  pfp
Meison
@meison
And BOOM ๐Ÿ’ฅโ€”your Web3 URL shortener is live, fully decentralized, and hosted on Fleekโ€™s edge network. ๐Ÿ”— Demo: https://shortener.on-fleek.app/ ๐Ÿ“‚ Code: https://github.com/tobySolutions/shortener Web3 + Fleek = the future of hosting ๐Ÿ”ฅ No servers. No centralized control. Just fast, censorship-resistant Web3 applications. What would YOU build with Fleek? ๐Ÿš€ Drop your ideas below! ๐Ÿ‘‡
0 reply
0 recast
0 reaction