stylus-erc20
Generate an ERC-20 token contract source code with optional burnable, permit, and flash mint features. Returns code in a Markdown code block.
Instructions
Make a fungible token per the ERC-20 standard.
Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | No | Metadata about the contract and author | |
| name | Yes | The name of the contract | |
| permit | No | Whether without paying gas, token holders will be able to allow third parties to transfer from their account. | |
| burnable | No | Whether token holders will be able to destroy their tokens | |
| flashmint | No | Whether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction. |