stylus-erc1155
Generate ERC-1155 non-fungible token contract source code in Markdown format. Specify token name, burnability, supply tracking, and metadata. No file writes, direct code return for customization.
Instructions
Make a non-fungible token per the ERC-1155 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 | |
info | No | Metadata about the contract and author | |
name | Yes | The name of the contract | |
supply | No | Whether to keep track of total supply of tokens |
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"
},
"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"
},
"supply": {
"description": "Whether to keep track of total supply of tokens",
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
}