An ERC-20 token contract for the MZF Protocol, built from OpenZeppelin's standard contracts.
- Name: MZF Protocol
- Symbol:
testMZF(Testnet),MZF(Mainnet) - Initial Supply: 500M tokens
- Features: Burnable
- Testnet: Sepolia
- Contract Address:
0x71C7afC6F30222B5dEe4f3044bD8101403690094 - Symbol:
testMZF
- Contract Address:
- Mainnet: Base
- Contract Address:
0x71C7afC6F30222B5dEe4f3044bD8101403690094 - Symbol:
MZF
- Contract Address:
-
Clone the repository:
git clone https://github.com/Labrys-Group/mzf-token.git cd mzf-token -
Install dependencies:
forge install
-
Set up environment variables:
PRIVATE_KEY: Your wallet private key for deploymentRPC_URL: The RPC URL for the network (Sepolia or Base)
-
Deploy the contract:
./deploy.sh [sepolia|base] [destination_address] [token_symbol]destination_address: Optional. The address to receive the initial token supply. If not provided, defaults to the deployer's address.token_symbol: Optional. The symbol for the token (e.g., 'MZF' or 'testMZF'). If not provided, defaults to 'MZF'.
-
Set up environment variables:
ETHERSCAN_API_KEY: Your Etherscan API keyCONTRACT_ADDRESS: The deployed contract address (can also be passed as a parameter)
-
Verify the contract:
./verify.sh [sepolia|base] [contract_address]contract_address: Optional. The deployed contract address to verify. If not provided, checks theCONTRACT_ADDRESSenvironment variable.
MIT