Skip to content

Commit 812dfb5

Browse files
committed
feat(AddZKprogram.ts): add init method to the Add program
1 parent bbe9c75 commit 812dfb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/project-ts/src/AddZKprogram.ts

+7
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,11 @@ import { ZkProgram, Field } from 'o1js';
33
export const Add = ZkProgram({
44
name: 'add-program',
55
publicInput: Field,
6+
methods: {
7+
init: {
8+
privateInputs: [],
9+
10+
async method() {},
11+
},
12+
},
613
});

0 commit comments

Comments
 (0)