Deploy dApp

Deploy a new dApp

post

Deploys a new dApp with configuration details including target industry and network layer. The response includes metrics like gas used, deployment time, and a security score.

Body
idstringRequiredExample: dapp_001
namestringRequiredExample: Decentralized Marketplace
versionstringRequiredExample: v1.0.0
industrystringRequired

Target industry for the dApp deployment

Example: Finance
useCasestringRequired

Specific use case the dApp addresses

Example: Decentralized Finance Yield Optimization
deployedBystringRequiredExample: user123
deploymentStatusstring · enumRequiredExample: in_progressPossible values:
deploymentDatestring · date-timeOptionalExample: 2025-03-01T12:00:00Z
Responses
201
dApp deployed successfully
application/json
post
POST /api/deployments/dapp/deploy HTTP/1.1
Host: infa.idefi.ai
Content-Type: application/json
Accept: */*
Content-Length: 505

{
  "id": "dapp_001",
  "name": "Decentralized Marketplace",
  "version": "v1.0.0",
  "configuration": {
    "network": "Ethereum",
    "networkLayer": "Layer 1",
    "contractAddress": "0xABC123DEF456..."
  },
  "industry": "Finance",
  "useCase": "Decentralized Finance Yield Optimization",
  "deployedBy": "user123",
  "deploymentStatus": "in_progress",
  "deploymentDate": "2025-03-01T12:00:00Z",
  "deploymentMetrics": {
    "deploymentTime": 120,
    "gasUsed": 500000,
    "securityScore": 8.7
  },
  "metadata": {
    "notes": "Deployment initiated via API on Layer 1 targeting finance."
  }
}
201

dApp deployed successfully

{
  "id": "dapp_001",
  "name": "Decentralized Marketplace",
  "version": "v1.0.0",
  "configuration": {
    "network": "Ethereum",
    "networkLayer": "Layer 1",
    "contractAddress": "0xABC123DEF456..."
  },
  "industry": "Finance",
  "useCase": "Decentralized Finance Yield Optimization",
  "deployedBy": "user123",
  "deploymentStatus": "in_progress",
  "deploymentDate": "2025-03-01T12:00:00Z",
  "deploymentMetrics": {
    "deploymentTime": 120,
    "gasUsed": 500000,
    "securityScore": 8.7
  },
  "metadata": {
    "notes": "Initial deployment on Layer 1 targeting high-security financial applications."
  }
}