5.3 Submit DApp to InsuranceDAO.World
Now that your setup is complete, you’re ready to integrate InsuranceDAO.World into your DApp. This chapter guides you through submitting your DApp for insurance coverage, purchasing and verifying Verified Nodes, and ensuring your DApp is properly insured.
To integrate your DApp with InsuranceDAO.World, you need to register your DApp through the InsuranceDAO smart contracts. This process links your DApp to an appropriate Verified Node for coverage. Here’s how to submit your DApp for insurance:
Step 1: Register Your DApp
To start, you need to register your DApp with InsuranceDAO.World by interacting with the smart contract. This registration ensures that your DApp is linked to the correct insurance pool for coverage.
Code Example: Register DApp
Explanation:
• The submitDAppToInsuranceDAO
function submits your DApp for registration.
• dappId and insurancePoolId
are used to identify your DApp and the corresponding insurance pool.
• The submitDApp
function handles the registration within InsuranceDAO.World.
Last updated