stellar-stablecoin
Generate a customizable stablecoin contract using the Fungible Token Standard, compatible with SEP-41. Specify parameters like access control, premint, and upgradeability. Returns formatted source code in a Markdown block.
Instructions
Make a stablecoin that uses Fungible Token Standard, compatible with SEP-41.
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 |
---|---|---|---|
access | No | The type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileged action. A role can have many authorized accounts. | |
burnable | No | Whether token holders will be able to destroy their tokens | |
info | No | Metadata about the contract and author | |
limitations | No | Whether to restrict certain users from transferring tokens, either via allowing or blocking them. | |
mintable | No | Whether privileged accounts will be able to create more supply or emit more tokens | |
name | Yes | The name of the contract | |
pausable | No | Whether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response. | |
premint | No | The number of tokens to premint for the deployer. | |
symbol | Yes | The short symbol for the token | |
upgradeable | No | Whether the contract can be upgraded. |