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
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name | |
| symbol | Yes | Token symbol / ticker | |
| initialSupply | Yes | Initial token supply, in wei (e.g. 1000000000000000000000 for 1000 tokens) | |
| debug | No | Return verbose error information instead of throwing |