stylus-erc20
Generate ERC-20 compliant fungible token contracts using OpenZeppelin Contracts libraries. Outputs contract source code in Markdown format without saving to disk.
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 |
---|---|---|---|
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. | |
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. |