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:
265
+
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 +294,8 @@ After the dstack-vmm is ready, you can deploy an app on it following the steps b
294
294
295
295
The on-chain registration process includes two steps:
296
296
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.
297
+
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.
298
+
2. Call DstackKms.registerApp(appContractAddress) to register the contract.
299
299
300
300
The Dstack repository provides scripts to complete these two steps:
301
301
@@ -320,10 +320,10 @@ Command output:
320
320
Deploying with account: 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199
@@ -348,7 +348,7 @@ If you need to upgrade the contract in the future, please backup the `.openzeppe
348
348
349
349
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
350
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).
351
+
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