Creating Custom Modules
Denota protocol allows developers to create custom modules to address specific use cases or implement unique business logic. By following the
ICheqModule
Solidity interface, you can create a custom module smart contract that adheres to the Denota protocol.The custom module should implement the following methods:
- 1.
processWrite
- 2.
processTransfer
- 3.
processFund
- 4.
processCash
- 5.
processApproval
- 6.
processTokenURI
These methods define how your custom module interacts with the core Denota protocol, providing the necessary rules for writing, transferring, funding, and cashing out notas.
- 1.Develop a smart contract that implements the
ICheqModule
interface, ensuring your custom module adheres to the Denota protocol. - 2.Thoroughly test your custom module to ensure it operates as expected and meets your business requirements.
- 3.Deploy your custom module on the supported networks.
- 4.Contact the Denota team to request inclusion of your custom module in the SDK and to have it whitelisted for production use.
Last modified 1d ago