We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eed0324 commit 7bb456dCopy full SHA for 7bb456d
templates/project-ts/src/Add.ts
@@ -5,8 +5,9 @@ import { AddProgramProof } from './AddZKprogram';
5
* Basic Example
6
* See https://docs.minaprotocol.com/zkapps for more info.
7
*
8
- * The Add contract initializes the state variable 'num' to be a Field(1) value by default when deployed.
9
- * When the 'update' method is called, the Add contract adds Field(2) to its 'num' contract state.
+ * The Add contract verifies a ZKprogram proof and updates a 'num' state variable.
+ * When the 'settleAddProgramState' method is called, the Add contract verifies a
10
+ * proof from the 'AddZKprogram' and saves the 'num' value to the contract state.
11
12
* This file is safe to delete and replace with your own contract.
13
*/
0 commit comments