generate_sip010_template
Create production-ready SIP-010 fungible token contracts with security features and best practices for Stacks blockchain development.
Instructions
Generate a complete, production-ready SIP-010 fungible token contract template with all security features and best practices.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
decimals | Yes | Number of decimal places (typically 6 for Stacks tokens) | |
includeMinting | Yes | Whether to include admin minting/burning functions | |
initialSupply | Yes | Initial token supply (in whole tokens, not base units) | |
tokenName | Yes | The human-readable name of the token (e.g., 'My Token') | |
tokenSymbol | Yes | The ticker symbol (e.g., 'MTK') |
Input Schema (JSON Schema)
{
"properties": {
"decimals": {
"description": "Number of decimal places (typically 6 for Stacks tokens)",
"maximum": 18,
"minimum": 0,
"type": "number"
},
"includeMinting": {
"description": "Whether to include admin minting/burning functions",
"type": "boolean"
},
"initialSupply": {
"description": "Initial token supply (in whole tokens, not base units)",
"minimum": 0,
"type": "number"
},
"tokenName": {
"description": "The human-readable name of the token (e.g., 'My Token')",
"type": "string"
},
"tokenSymbol": {
"description": "The ticker symbol (e.g., 'MTK')",
"type": "string"
}
},
"required": [
"tokenName",
"tokenSymbol",
"decimals",
"initialSupply",
"includeMinting"
],
"type": "object"
}