You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,24 +292,26 @@ After the dstack-vmm is ready, you can deploy an app on it following the steps b
292
292
293
293
### 1. On-chain Registration
294
294
295
-
In order to deploy an app on the dstack-vmm, you need to deploy an App's control contract AppAuth. Developers can develop their own or choose the reference contract from the Dstack repository. Custom contracts need to implement the IAppAuth interface.
295
+
The on-chain registration process includes two steps:
296
296
297
-
The Dstack repository provides scripts to complete the deployment:
297
+
1. Deploy an App's control contract AppAuth. Developers can develop their own or choose the reference contract from the Dstack repository. Custom contracts need to implement the IAppAuth interface.
298
+
2. Call KmsAuth.registerApp(appAuthAddress) to register the contract.
298
299
299
-
**Option 1: Traditional deployment**
300
+
The Dstack repository provides scripts to complete these two steps:
301
+
302
+
**Option 1: Traditional deployment (2 transactions)**
0 commit comments