How to create Mdapp
Last updated
Last updated
you can create documents that interact with smart contracts in Ragon.
On the write page, the left side features an input editor, while the right side displays a preview of the document.
The title and tags are required fields. You can add up to five tags, which are used to categorize the document.
The contract field allows you to input a verified contract to link a smart contract to the document.
If you enter a verified smart contract address and it doesn't link in the editor, please check if the network matches.
Ragon retrieves verified contract information from sourcify.eth. Therefore, to link a smart contract to a document, you can only register contracts that have been verified by sourcify.eth
To verify a smart contract, please use the following link.
sourcify.eth provides functionality to verify smart contracts. We would like to take this opportunity to thank sourcify.eth for providing this service as an open-source project.
Once you enter the verified contract address, you can create an ABI button in the editor as shown below.
In the editor, you can click the ABI button to select a smart contract function. The smart contract functions come from the ABI data of the linked smart contract.
During the ABI registration process, you first select a function and, if there are parameters, you can set default values for them.
After the registration process is complete, you can see the generated ABI button in the preview screen.
Once the document is finally registered, users can interact with the registered smart contract through the ABI button.