Pre-Built Contracts
Pre-built contracts are written by the thirdweb team, and cover the most common use cases for smart contracts; each of them are:
- Open source and free to deploy (excl. gas fees)
- Audited and supported by our bug bounty program
- Fully owned by the contract deployer (you)
- 10x cheaper to deploy than traditional contracts
NFT Contracts
| Name | Description |
|---|---|
| Loyalty Card | Issue unique loyalty cards to your customers. |
| NFT Collection | Create a collection of unique NFTs. |
| Edition | Create editions of ERC-1155 tokens. |
| Pack | Pack multiple tokens into a ERC1155 NFTs that act as randomized loot boxes. |
| Open Edition ERC721 | An open-to-mint ERC-721 NFT collection where all NFTs have shared metadata |
| Edition Drop | Lazy mint ERC-1155 tokens for others to claim. |
| NFT Drop | Lazy mint ERC-721 tokens for others to claim. |
Marketplaces
| Name | Description |
|---|---|
| Marketplace | Buy and sell ERC-721/ERC-1155 tokens. |
| Token | Create a collection of unique NFTs. |
| Split | Distribute funds among multiple recipients. |
Drops
| Name | Description |
|---|---|
| NFT Drop | Lazy mint ERC-721 tokens that others can claim. |
| Edition Drop | Lazy mint ERC-1155 tokens that others can claim. |
| Signature Drop | Signature based minting of ERC-721 tokens. |
| Token Drop | Distribute funds among multiple recipients. |
Smart Wallet
| Name | Description |
|---|---|
| Account Factory | Deploy immutable smart wallets for your users |
| Dynamic Account Factory | Deploy upgradeable smart wallets for your users. |
| Managed Account Factory | Deploy upgradeable smart wallets for your users with the ability to push updates to all users. |
Airdrops
| Name | Description |
|---|---|
| Airdrop ERC-20 | Airdrop ERC-20 tokens or the chain's native token to a list of recipients. |
| Airdrop ERC-721 | Airdrop ERC-721 NFTs to a list of recipients. |
| Airdrop ERC-11556 | Airdrop ERC-1155 NFTs to a list of recipients. |
Staking
| Name | Description |
|---|---|
| Stake ERC-20 | Contract for staking ERC-20 tokens, for another ERC-20 token as rewards. |
| Stake ERC-721 | Contract for staking ERC-721 NFTs, for ERC-20 tokens as rewards. |
| Stake ERC-1155 | Contract for staking ERC-1155 NFTs, for ERC-20 tokens as rewards. |
DAOs & Governance
| Name | Description |
|---|---|
| Vote | Create and vote on proposals. |
| Token | Create cryptocurrency compliant with ERC-20 standard. |
| Split | Distribute funds among multiple recipients. |
How Pre-Built Contracts Work
Each contract extends the extensions that are available in our Solidity SDK, and all come with a standard set of features that enable fine-grained control over the contract's behavior, such as:
When you deploy a prebuilt contract, you are actually deploying a proxy contract; which reduces the gas cost for you by ~90%!
This works by having our smart contracts run the underlying logic, meaning you only deploy the code that is unique to your contract.
The proxy contract stores the state, for example; its name, and what NFTs have been minted so far. For any logic (such as how to mint an NFT), it delegates to the implementation smart contract to handle, since this logic is the same for every NFT collection.
You still maintain 100% ownership of the contract.
