Skip to main content

ERC20 Standard

The ERC20Base smart contract implements the ERC20 standard. Additionally, it supports EIP-2612, allowing approvals to be made via signatures.

Unlocked Features

Once deployed, you can use the features made available by these contracts on the SDK and dashboard:

Click on each feature to learn more about what functions are available.

Implementing the Contract Extension

Import the contract extension and make your contract inherit it.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@thirdweb-dev/contracts/base/ERC20Base.sol";

contract MyToken is ERC20Base {
constructor(
string memory _name,
string memory _symbol
)
ERC20Base(
_name,
_symbol
)
{}
}