stylus-erc721
Generate ERC-721 compliant non-fungible token contracts with customizable features like burnability and on-chain enumeration. Returns formatted source code in Markdown, ready for immediate use.
Instructions
Make a non-fungible token per the ERC-721 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 | |
enumerable | No | Whether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers. | |
info | No | Metadata about the contract and author | |
name | Yes | The name of the contract |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"burnable": {
"description": "Whether token holders will be able to destroy their tokens",
"type": "boolean"
},
"enumerable": {
"description": "Whether to allow on-chain enumeration of all tokens or those owned by an account. Increases gas cost of transfers.",
"type": "boolean"
},
"info": {
"additionalProperties": false,
"description": "Metadata about the contract and author",
"properties": {
"license": {
"description": "The license used by the contract, default is \"MIT\"",
"type": "string"
},
"securityContact": {
"description": "Email where people can contact you to report security issues. Will only be visible if contract source code is verified.",
"type": "string"
}
},
"type": "object"
},
"name": {
"description": "The name of the contract",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}