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
Don't press `y` yet. We need to add the compose hash to the AppAuth contract first. Go back to the `kms/auth-eth` directory and run the following command:
267
+
Don't press `y` yet. We need to add the compose hash to the DstackApp contract first. Go back to the `kms/auth-eth` directory and run the following command:
@@ -294,8 +296,8 @@ After the dstack-vmm is ready, you can deploy an app on it following the steps b
294
296
295
297
The on-chain registration process includes two steps:
296
298
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.
299
+
1. Deploy an App's control contract DstackApp. Developers can develop their own or choose the reference contract from the Dstack repository. Custom contracts need to implement the IAppAuth interface.
300
+
2. Call DstackKms.registerApp(appContractAddress) to register the contract.
299
301
300
302
The Dstack repository provides scripts to complete these two steps:
301
303
@@ -320,10 +322,10 @@ Command output:
320
322
Deploying with account: 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199
@@ -348,7 +350,7 @@ If you need to upgrade the contract in the future, please backup the `.openzeppe
348
350
349
351
Build app-compose.json and calculate its sha256 to get compose-hash. The compose hash can also be previewed in the dstack-vmm UI.
350
352
351
-
Call the hardhat command to add it to the whitelist (using AppAuth as an example here; custom AppAuth follows its own custom permission control logic).
353
+
Call the hardhat command to add it to the whitelist (using DstackApp as an example here; custom DstackApp follows its own custom permission control logic).
0 commit comments