|
| 1 | +--- |
| 2 | +title: iApp Building Guides |
| 3 | +description: |
| 4 | + Step-by-step guides for building, deploying, and managing your privacy-first |
| 5 | + iApps |
| 6 | +--- |
| 7 | + |
| 8 | +# 📖 iApp Building Guides |
| 9 | + |
| 10 | +**Master iApp development from code to production** with these comprehensive |
| 11 | +step-by-step guides. Each guide focuses on a specific aspect of building |
| 12 | +privacy-preserving applications with iExec. |
| 13 | + |
| 14 | +## Essential Guides |
| 15 | + |
| 16 | +### 💰 [App Access Control and Pricing](/build_iapp/guides/orders) |
| 17 | + |
| 18 | +**Control who can use your iApp and monetize it.** Learn how to create app |
| 19 | +orders to make your iApp accessible while defining pricing and access |
| 20 | +restrictions. |
| 21 | + |
| 22 | +- Create and manage app orders with iExec SDK |
| 23 | +- Configure pricing, volume limits, and restrictions |
| 24 | +- Understand TEE requirements and workerpool restrictions |
| 25 | +- Common monetization patterns and use cases |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +### 📥📤 [Inputs and Outputs](/build_iapp/guides/inputs-and-outputs) |
| 30 | + |
| 31 | +**Handle data flow in your iApp's TEE environment.** Master the different input |
| 32 | +types and learn how to generate proper outputs that users can retrieve. |
| 33 | + |
| 34 | +- 4 input types: Args, Input Files, Requester Secrets, Protected Data |
| 35 | +- Access methods via environment variables and file system |
| 36 | +- TEE memory constraints and best practices |
| 37 | +- Output structure with mandatory `computed.json` |
| 38 | + |
| 39 | +--- |
| 40 | + |
| 41 | +### 🐛 [Debugging Your iApp](/build_iapp/guides/debugging-your-iapp) |
| 42 | + |
| 43 | +**Troubleshoot and optimize your iApp execution in the TEE environment.** Master |
| 44 | +debugging techniques and best practices for reliable iApp development. |
| 45 | + |
| 46 | +- Task execution lifecycle and monitoring |
| 47 | +- iExec Explorer and CLI debugging tools |
| 48 | +- Common issues: timeouts, memory limits, input/output problems |
| 49 | +- Best practices: input validation, error handling, performance optimization |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +### 📦 [How to Get and Decrypt Results](/build_iapp/guides/how-to-get-and-decrypt-results) |
| 54 | + |
| 55 | +**Download and decrypt iApp execution results from completed tasks.** Learn the |
| 56 | +complete workflow for retrieving and using iApp outputs. |
| 57 | + |
| 58 | +- Deal → Task → Result structure and accessibility |
| 59 | +- Download methods: iExec CLI and DataProtector SDK |
| 60 | +- Automatic vs manual decryption workflows |
| 61 | +- Integration patterns for React and Node.js applications |
| 62 | + |
| 63 | +--- |
| 64 | + |
| 65 | +### 🛡️ [Using TDX (Experimental)](/build_iapp/guides/using-tdx-experimental) |
| 66 | + |
| 67 | +**Enable Intel TDX for enhanced TEE security - experimental feature only.** |
| 68 | +Understand how to activate TDX and when to use it. |
| 69 | + |
| 70 | +- How to enable TDX in iApp Generator deployment and execution |
| 71 | +- SGX vs TDX differences and compatibility requirements |
| 72 | +- Protected data compatibility considerations |
| 73 | +- Production warnings and experimental limitations |
| 74 | + |
| 75 | +## Quick Navigation |
| 76 | + |
| 77 | +::: tip What You'll Learn These guides cover the complete journey from iApp |
| 78 | +development to production deployment, user access management, and result |
| 79 | +handling. ::: |
| 80 | + |
| 81 | +### By Development Stage |
| 82 | + |
| 83 | +- **🚀 Just built your iApp?** → |
| 84 | + [App Access Control and Pricing](/build_iapp/guides/orders) |
| 85 | +- **🔧 Handling data flow?** → |
| 86 | + [Inputs and Outputs](/build_iapp/guides/inputs-and-outputs) |
| 87 | +- **🐛 Having issues?** → |
| 88 | + [Debugging Your iApp](/build_iapp/guides/debugging-your-iapp) |
| 89 | +- **📦 Need results?** → |
| 90 | + [How to Get and Decrypt Results](/build_iapp/guides/how-to-get-and-decrypt-results) |
| 91 | + |
| 92 | +### By User Type |
| 93 | + |
| 94 | +**iApp Developer**: You build the privacy-preserving application |
| 95 | +→ [Inputs and Outputs](/build_iapp/guides/inputs-and-outputs) + |
| 96 | +[Debugging](/build_iapp/guides/debugging-your-iapp) |
| 97 | + |
| 98 | +**App Owner**: You deploy and monetize the iApp |
| 99 | +→ [App Access Control and Pricing](/build_iapp/guides/orders) |
| 100 | + |
| 101 | +**End User Guide**: Your users need to retrieve results |
| 102 | +→ [How to Get and Decrypt Results](/build_iapp/guides/how-to-get-and-decrypt-results) |
| 103 | + |
| 104 | +## Development Workflow |
| 105 | + |
| 106 | +### 1. **Build Your iApp** |
| 107 | + |
| 108 | +Start with [iApp Generator](/build_iapp/iapp-generator) to create your |
| 109 | +privacy-preserving application. |
| 110 | + |
| 111 | +### 2. **Handle Data Flow** |
| 112 | + |
| 113 | +Use the [Inputs and Outputs](/build_iapp/guides/inputs-and-outputs) guide to |
| 114 | +properly access different input types and generate results. |
| 115 | + |
| 116 | +### 3. **Debug and Test** |
| 117 | + |
| 118 | +Follow the [Debugging](/build_iapp/guides/debugging-your-iapp) guide to |
| 119 | +troubleshoot issues and optimize performance. |
| 120 | + |
| 121 | +### 4. **Control Access** |
| 122 | + |
| 123 | +Implement [App Access Control and Pricing](/build_iapp/guides/orders) to make |
| 124 | +your iApp accessible with proper monetization. |
| 125 | + |
| 126 | +### 5. **User Experience** |
| 127 | + |
| 128 | +Implement [Result Retrieval](/build_iapp/guides/how-to-get-and-decrypt-results) |
| 129 | +to provide users with seamless access to iApp outputs. |
| 130 | + |
| 131 | +## Additional Resources |
| 132 | + |
| 133 | +### 📚 **iApp Generator** |
| 134 | + |
| 135 | +- [What Is an iApp?](/build_iapp/iapp-generator/what-is-iapp) - Core concepts |
| 136 | + and overview |
| 137 | +- [Getting Started](/build_iapp/iapp-generator/getting-started) - Your first |
| 138 | + iApp in 15 minutes |
| 139 | +- [Building Your iApp](/build_iapp/iapp-generator/building-your-iexec-app) - |
| 140 | + Complete development guide |
| 141 | + |
| 142 | +### 🎯 **Real Examples** |
| 143 | + |
| 144 | +- [Hello World Tutorial](/overview/helloWorld) - End-to-end iApp development |
| 145 | +- [AI Use Cases](/overview/use-cases/ai) - AI-powered privacy applications |
| 146 | + |
| 147 | +### 🔧 **Advanced Topics** |
| 148 | + |
| 149 | +- [SDK Deep Dive](/deep_dive/sdk) - Advanced SDK concepts and usage |
| 150 | +- [Workers & Workerpools](/deep_dive/workers) - Understanding the execution |
| 151 | + infrastructure |
| 152 | + |
| 153 | +--- |
| 154 | + |
| 155 | +**Ready to build privacy-first applications?** Pick the guide that matches your |
| 156 | +current development stage and start building! 🚀 |
0 commit comments