Contract Templates

Jumpstart your development with pre-built smart contract templates

Each template is thoroughly tested, follows security best practices, and can be deployed directly to supported EVM networks. Select a template category below to explore options.

Beginner

Basic ERC20 Token

A standard ERC20 token implementation with minting capabilities.

Transfer
Approval
Mint
Burn
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract BasicToken is ERC20, Ownable {
    constructor(string memory name, string memory symbol) ERC20(name, symbol) {}

    functio...
1 file
Intermediate

Capped Supply Token

ERC20 token with a maximum supply cap to limit inflation.

Transfer
Approval
Mint
Supply Cap
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract CappedToken is ERC20Capped, Ownable {
    constructor(
        string memory name, 
        string memory s...
1 file

Ask me anything about blockchain! 👋