Skip to main content
Glama

ab_deploy_token_erc20

Deploy ERC-20 tokens to the Abstract network by specifying name, symbol, and initial supply. Returns the deployed contract address for token management.

Instructions

Deploy an ERC-20 BasicToken to the Abstract network.

PARAMETERS

  • name – token name (e.g. "DemoToken")

  • symbol – token symbol/ticker (e.g. "DMT")

  • initialSupply – numeric string of total supply in wei (18 decimals)

FLOW

  • Uses proven zksync-ethers deployment method via subprocess

  • Returns the deployed contract address

SECURITY / LIMITATIONS

  • Make sure the deployer wallet (ABSTRACT_PRIVATE_KEY / PRIVATE_KEY) has enough funds on the target network

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesToken name
symbolYesToken symbol / ticker
initialSupplyYesInitial token supply, in wei (e.g. 1000000000000000000000 for 1000 tokens)
debugNoReturn verbose error information instead of throwing

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wearesociety/abstract_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server