Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Name of the token |
imageUrl | string | No | URL of the token image |
symbol | string | Yes | Token symbol |
decimals | number | No | Decimal places |
totalSupply | string | Yes | Total token supply |
fixedSupply | boolean | Yes | Whether the supply is fixed |
description | string | Yes | Token description |
Example Prompts
Natural Language Prompts
LangChain Tool Prompts
Example Implementation
Implementation Details
- Supports the fungible token standard
- Creates a token with zero seller fee basis points
- Optionally mints the initial supply to the deployer’s wallet
Error Handling
Best Practices
- Name Selection
- Choose a unique and descriptive name.
- Initial Supply
- Consider token economics when determining supply.
- Ensure that supply * decimals remains below 1E28, the maximum value convertible to BigInt.
- Symbol Selection
- Use 2-5 characters.
- Uppercase letters are recommended.
- Security Considerations
- Secure private keys.
- Validate all input parameters.
- Use trusted RPC endpoints.