-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@orochi-network/smart-contracts",
"version": "1.0.0",
"description": "Orochi smart contracts for on-chain verification",
"main": "index.js",
"type": "commonjs",
"files": [
"/contracts/**/*.sol",
"/contracts/build/contracts/*.json",
"!/contracts/test/**/*"
],
"scripts": {
"compile": "rm -rf ./cache ./artifacts ./typechain-types ./flatten && hardhat compile",
"build": "yarn run compile && hardhat typechain && yarn flatten",
"compile:zk": "rm -rf ./cache-zk ./artifacts-zk ./typechain-types ./flatten ./deployments-zk ./.upgradable && USE_ZKSOLC=true hardhat compile",
"build:zk": "yarn run compile:zk && hardhat typechain",
"build:all": "yarn run build:zk && yarn run build",
"prepack": "bash ./scripts/prepack.sh",
"clean": "hardhat clean && rimraf build contracts/build",
"release": "yarn build && yarn flatten",
"coverage": "hardhat compile && hardhat coverage",
"node:local": "hardhat node",
"deploy:orochi": "hardhat deploy:orochi",
"test": "hardhat test",
"flatten": "mkdir -p flatten/ && npx hardhat flatten ./contracts/orand-v3/OrandProviderV3.sol > ./flatten/OrandProviderV3.sol && npx hardhat flatten ./contracts/orocle-v1/OrocleV1.sol > ./flatten/OrocleV1.sol && npx hardhat flatten ./contracts/orand-v2/OrandProviderV2.sol > ./flatten/OrandProviderV2.sol && npx hardhat flatten ./contracts/orosign/OrosignV1.sol > ./flatten/OrosignV1.sol && npx hardhat flatten ./contracts/orosign/OrosignMasterV1.sol > ./flatten/OrosignMasterV1.sol && npx hardhat flatten ./contracts/examples/DiceGame.sol > ./flatten/DiceGame.sol && npx hardhat flatten ./contracts/orocle-v2/OrocleV2.sol > ./flatten/OrocleV2.sol"
},
"keywords": [
"vrf",
"verifiable",
"computation"
],
"author": "chiro@orochi.network",
"license": "MIT",
"devDependencies": {
"@matterlabs/hardhat-zksync": "^1.0.0",
"@matterlabs/hardhat-zksync-deploy": "^1.3.0",
"@matterlabs/hardhat-zksync-solc": "^1.1.4",
"@matterlabs/hardhat-zksync-upgradable": "^1.4.1",
"@matterlabs/zksync-contracts": "^0.6.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@openzeppelin/hardhat-upgrades": "^3.1.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.0.0",
"@types/chai": "^4.2.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.2",
"chai": "^4.2.0",
"ethers": "6.13.2",
"hardhat": "^2.19.4",
"hardhat-gas-reporter": "^1.0.8",
"solidity-coverage": "^0.8.0",
"ts-node": "^10.9.2",
"typechain": "^8.3.0",
"typescript": "^5.3.3",
"zksync-ethers": "^6.7.1"
},
"dependencies": {
"@openzeppelin/contracts": "4.9.6",
"@openzeppelin/contracts-upgradeable": "4.9.6",
"@orochi-network/contracts": "^1.3.1",
"@orochi-network/utilities": "^0.2.11",
"axios": "^1.6.5",
"dotenv": "^16.3.1",
"noqueue": "^4.0.7"
}
}