File tree 9 files changed +1119
-20
lines changed
9 files changed +1119
-20
lines changed Original file line number Diff line number Diff line change
1
+ L2_NODE_WEB3_URL= <rpc>
2
+ POLLING_INTERVAL= <interval of service refreshing>
3
+ ZK_RAND_ADDRESS= <contract address>
4
+ ADMIN_PRIVATE_KEY= <pk of admin account>
5
+ NODE_ONE_ADDRESS= <first node account address>
6
+ NODE_TWO_ADDRESS= <second node account address>
7
+ NODE_THREE_ADDRESS= <third node account address>
8
+ NODE_FOUR_ADDRESS= <fourth node account address>
9
+ NODE_FIVE_ADDRESS= <fifth node account address>
Original file line number Diff line number Diff line change
1
+ L2_NODE_WEB3_URL= <rpc>
2
+ POLLING_INTERVAL= <interval of service refreshing>
3
+ ZK_RAND_ADDRESS= <contract address>
4
+ NODE_PRIVATE_KEY= <pk of node account>
5
+ NODE_ONE_ADDRESS= <first node account address>
6
+ NODE_TWO_ADDRESS= <second node account address>
7
+ NODE_THREE_ADDRESS= <third node account address>
8
+ NODE_FOUR_ADDRESS= <fourth node account address>
9
+ NODE_FIVE_ADDRESS= <fifth node account address>
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ contract zkdvrf is Ownable {
43
43
uint32 public threshold;
44
44
uint32 public ppLength;
45
45
// current count of members added
46
- uint32 internal currentIndex;
46
+ uint32 public currentIndex;
47
47
// current count of members deposited and registered
48
48
uint32 internal registeredCount;
49
49
uint32 internal ppSubmissionCount;
Original file line number Diff line number Diff line change 8
8
"test" : " test"
9
9
},
10
10
"dependencies" : {
11
+ "@eth-optimism/common-ts" : " 0.2.2" ,
12
+ "@eth-optimism/core-utils" : " 0.8.1" ,
11
13
"@nomiclabs/hardhat-waffle" : " ^2.0.6" ,
12
14
"@openzeppelin/contracts" : " ^5.0.1" ,
15
+ "bcfg" : " ^0.2.2" ,
13
16
"dotenv" : " ^16.4.5" ,
14
17
"hardhat" : " ^2.22.1" ,
15
18
"hardhat-deploy" : " ^0.11.45"
37
40
"random" : " npx hardhat run scripts/random.ts" ,
38
41
"lottery:deploy" : " npx hardhat run scripts/lottery/deploy.ts" ,
39
42
"lottery:admin" : " npx hardhat run scripts/lottery/admin.ts" ,
40
- "lottery:play" : " npx hardhat run scripts/lottery/play.ts"
43
+ "lottery:play" : " npx hardhat run scripts/lottery/play.ts" ,
44
+ "services:admin" : " ts-node ./services/exec/run.ts" ,
45
+ "services:node" : " ts-node ./services/exec/runNode.ts"
41
46
},
42
47
"repository" : {
43
48
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments