cairo-multisig
Generate multi-signature smart contracts using OpenZeppelin libraries. Define quorum and contract details to create secure, collective transaction approval systems. Returns contract source code in Markdown format.
Instructions
Make a multi-signature smart contract, requiring a quorum of registered signers to approve and collectively execute transactions.
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 |
---|---|---|---|
info | No | Metadata about the contract and author | |
name | Yes | The name of the contract | |
quorum | Yes | The minimal number of confirmations required by the Multisig to approve a transaction. | |
upgradeable | No | Whether the smart contract is upgradeable. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"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"
},
"quorum": {
"description": "The minimal number of confirmations required by the Multisig to approve a transaction.",
"type": "string"
},
"upgradeable": {
"description": "Whether the smart contract is upgradeable.",
"type": "boolean"
}
},
"required": [
"name",
"quorum"
],
"type": "object"
}