How to Share a Smart Contract in a Farcaster Frame
![How to Share a Smart Contract in a Farcaster Frame](/content/images/size/w2000/2024/02/farcaster-frame-1920x1080--4---1-.png)
thirdweb Publish allows developers to share a verified smart contract to be deployable by other users. It comes with the following features:
- Deployable to any EVM network: Contracts published using the default factory pattern are deployable to any EVM network.
- Unlocked functionality: Deploying published contracts unlocks auto-generated SDKs and a dashboard to easily build applications.
- Free to publish: thirdweb covers all gas costs associated with publishing your contract
- Auto-generated landing page: Receive an automatically generated shareable landing page to allow others to explore contract source code, functions, events, code snippets, and more.
- Featured on Explore: Some selected contracts are featured on Explore available to the broader community. Inquire about publishing your contract to Explore.
Guide
1. Publish a smart contract by running npx thirdweb publish
at the root of your directory. Follow the step-by-step flow to publish your smart contract.
2. After publishing, you'll get an auto-generated landing page for your smart contract! Here's an example:
![](https://thirdweb.com/api/og/publishedContract?description=Release+collection+of+unique+NFTs+for+a+set+price&extension=ERC721&extension=ERC721Burnable&extension=ERC721Supply&extension=ERC721LazyMintable&extension=ERC721Revealable&extension=ERC721ClaimPhasesV2&extension=Royalty&extension=PlatformFee&extension=PrimarySale&extension=Permissions&extension=PermissionsEnumerable&extension=ContractMetadata&extension=Ownable&extension=Gasless&extension=Fallback&license=MIT&license=Apache-2.0&logo=ipfs%3A%2F%2FQmYwHgjypXXHKcWUGKBLRqWXKMmji5GpB9CPrd5VMn2s92%2Fnft-drop.png&name=NFT+Drop&publishdate=Dec+18%2C+2023&publisher=thirdweb.eth&publisheravatar=https%3A%2F%2Fd391b93f5f62d9c15f67142e43841acc.ipfscdn.io%2Fipfs%2Fbafybeihoi2a4glq3tznlcs6bgyfrb3w63o25ulld4cfewda2qmxj32rx4y%2F0.png&version=5.0.1&og_version=0.1.0)
3. Paste the link for your landing page into any Farcaster client with frames support to generate a frame for it:
![](https://blog.thirdweb.com/content/images/2024/02/Screenshot-2024-02-02-at-11.42.23-AM.png)
And voilá! Users can now hit the "Deploy now" button in the frame to navigate to your contract's landing page — enabling them to deploy it instantly, with their own custom contract metadata, on any EVM chain.
Learn more about thirdweb's smart contract development tools in our docs: