-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
88 lines (88 loc) · 5.07 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "benchmarking-cross-chain-bridges",
"version": "1.0.0",
"description": "benchmarking aggregators",
"main": "index.ts",
"directories": {
"test": "test"
},
"scripts": {
"result-gen:cowswap": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator cowswap --source_chain all --dest_chain all; done",
"result-gen:lifi": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator lifi --source_chain all --dest_chain all; done",
"result-gen:socket": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator socket --source_chain all --dest_chain all; done",
"result-gen:uniswap": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator uniswap --source_chain all --dest_chain all; done",
"result-gen:xy": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator xy --source_chain all --dest_chain all; done",
"result-gen:all": "for script in src/benchmark/result/result_runner.py; do python3 $script --aggregator all --source_chain all --dest_chain all; done",
"benchmark:auto": "./src/benchmark/runners/token-aggregators/auto_run.sh --time-interval 5 --time-scale m --run-count 3",
"benchmark:ccip": "mocha 'src/benchmark/runners/message-aggregators/runners/CCIP.benchmark.ts'",
"benchmark:hashi": "mocha 'src/benchmark/runners/message-aggregators/Hashi.benchmark.ts'",
"benchmark:hyperlane": "mocha 'src/benchmark/runners/message-aggregators/Hyperlane.benchmark.ts'",
"benchmark:cowswap": "mocha 'src/benchmark/runners/token-aggregators/cowswap.benchmark.ts'",
"benchmark:lifi": "mocha 'src/benchmark/runners/token-aggregators/lifi.benchmark.ts'",
"benchmark:socket": "mocha 'src/benchmark/runners/token-aggregators/socket.benchmark.ts'",
"benchmark:uniswap": "mocha 'src/benchmark/runners/token-aggregators/uniswap.benchmark.ts'",
"benchmark:xy": "mocha 'src/benchmark/runners/token-aggregators/xy.benchmark.ts'",
"benchmark:token-aggregators": "mocha 'src/benchmark/runners/token-aggregators/*.benchmark.ts'",
"benchmark:all": "mocha 'src/benchmark/runners/*/*.benchmark.ts'",
"test:ccip": "mocha 'test/message-aggregators/CCIP/*.test.ts'",
"test:hashi": "mocha 'test/message-aggregators/Hashi/*.test.ts'",
"test:hyperlane": "mocha 'test/message-aggregators/Hyperlane/*.test.ts'",
"test:cowswap": "mocha 'test/token-aggregators/cowswap/*.test.ts'",
"test:lifi": "mocha 'test/token-aggregators/lifi/*.test.ts'",
"test:socket": "mocha 'test/token-aggregators/socket/*.test.ts'",
"test:uniswap": "mocha 'test/token-aggregators/uniswap/*.test.ts'",
"test:xy": "mocha 'test/token-aggregators/xy/*.test.ts'",
"test:message-aggregators": "mocha 'test/message-aggregators/**/*.test.ts'",
"test:token-aggregators": "mocha 'test/token-aggregators/**/*.test.ts'",
"test:aggregators": "yarn test:token-aggregators && yarn test:message-aggregators",
"test:foundry-contracts": "RPC_SEPOLIA=ENTER_SEPOLIA_RPC && forge test --rpc-url $RPC_SEPOLIA",
"test:all": "mocha 'test/**/**/*.test.ts' && yarn test:foundry-contracts",
"test:helper": "mocha 'test/helper/*.test.ts'",
"clear:benchmark-data": "echo DISABLED # rm -rf benchmark-data/*",
"clear:benchmark-plots": "rm -rf benchmark-plots/*",
"clear:benchmark-tables": "rm -rf benchmark-tables/*",
"clear:run-data": "rm -rf run-data/*",
"clear:dry-run": "rm -rf broadcast/*/*/dry-run",
"clear:logs": "rm -rf benchmark-data/logs/*",
"clear:all": "yarn clear:benchmarks-data && yarn clear:benchmarks-tables && yarn clear:benchmarks-plots && yarn clear:dry-run && yarn clear:run-data",
"setup:yarn": "yarn",
"setup:contracts": "forge install",
"setup:conda": "conda install --yes --file py_packages.txt",
"setup:pip3": "pip3 install -r py_packages.txt",
"setup": "yarn setup:yarn && yarn setup:contracts && mkdir -p run-data/token-routes && echo 'Run `yarn setup:conda` or `yarn setup:pip3` to install python dependencies'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hyperledger-labs/benchmarking-cross-chain-bridges.git"
},
"author": "Shankar Subramanian",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/hyperledger-labs/benchmarking-cross-chain-bridges/issues"
},
"homepage": "https://github.com/hyperledger-labs/benchmarking-cross-chain-bridges#readme",
"dependencies": {
"@chainlink/contracts": "0.8.0",
"@chainlink/contracts-ccip": "0.7.6",
"@cowprotocol/cow-sdk": "4.0.3",
"@gnosis.pm/gp-v2-contracts": "1.1.2",
"@lifi/sdk": "2.5.0",
"@openzeppelin/contracts": "5.0.0",
"@socket.tech/socket-v2-sdk": "1.23.3",
"@types/node": "20.10.0",
"@uniswap/sdk-core": "4.0.9",
"@uniswap/smart-order-router": "3.19.0",
"cross-fetch": "4.0.0",
"dotenv": "16.3.1",
"ethers": "5.7.0",
"tsconfig-paths": "4.2.0",
"typescript": "5.3.2"
},
"devDependencies": {
"@types/chai": "4.3.11",
"@types/mocha": "10.0.6",
"chai": "4.3.10",
"mocha": "10.2.0",
"ts-node": "10.9.1"
}
}