-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
43 lines (43 loc) · 3.31 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
{
"name": "@generationsoftware/pt-v5-testnet",
"version": "1.0.0",
"description": "PoolTogether V5 Testnet Scripts",
"author": {
"name": "G9 Software Inc.",
"url": "https://github.com/GenerationSoftware"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GenerationSoftware/pt-v5-testnet.git"
},
"scripts": {
"clean": "forge clean",
"compile": "forge compile",
"----------DEPLOYMENT-SCRIPTS----------": "",
"deploy:full": "forge script -vvv --broadcast script/DeployTestnet.s.sol:DeployTestnet --rpc-url $SCRIPT_RPC_URL --private-key $SCRIPT_PRIVATE_KEY --sender $SCRIPT_SENDER $SCRIPT_VERIFY $SCRIPT_ETHERSCAN --priority-gas-price $SCRIPT_PRIORITY_GAS_PRICE && npm run test:deployment",
"----------CHAIN-COMMANDS----------": "",
"deploy:local": "CONFIG=config/localhost.json SCRIPT_RPC_URL=http://localhost:8545 SCRIPT_PRIVATE_KEY=$LOCAL_PRIVATE_KEY SCRIPT_SENDER=$LOCAL_SENDER SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:localfork": "CONFIG=config/optimismSepolia.json SCRIPT_RPC_URL=http://localhost:8545 SCRIPT_PRIVATE_KEY=$LOCAL_PRIVATE_KEY SCRIPT_SENDER=$LOCAL_SENDER SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:arbitrumSepolia": "CONFIG=config/arbitrumSepolia.json SCRIPT_RPC_URL=$ARBITRUM_SEPOLIA_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_VERIFY=--verify SCRIPT_ETHERSCAN=\"--etherscan-api-key $ARBITRUM_ETHERSCAN_API_KEY\" SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:optimismSepolia": "CONFIG=config/optimismSepolia.json SCRIPT_RPC_URL=$OPTIMISM_SEPOLIA_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_VERIFY=--verify SCRIPT_ETHERSCAN=\"--etherscan-api-key $OPTIMISM_ETHERSCAN_API_KEY\" SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:baseSepolia": "CONFIG=config/baseSepolia.json SCRIPT_RPC_URL=$BASE_SEPOLIA_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_VERIFY=--verify SCRIPT_ETHERSCAN=\"--etherscan-api-key $BASE_ETHERSCAN_API_KEY\" SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:scrollSepolia": "CONFIG=config/scrollSepolia.json SCRIPT_RPC_URL=$SCROLL_SEPOLIA_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_VERIFY=--verify SCRIPT_ETHERSCAN=\"--etherscan-api-key $SCROLL_ETHERSCAN_API_KEY\" SCRIPT_PRIORITY_GAS_PRICE=100000 npm run deploy:full",
"deploy:gnosisChiado": "CONFIG=config/gnosisChiado.json SCRIPT_RPC_URL=$GNOSIS_CHIADO_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_PRIORITY_GAS_PRICE=100 npm run deploy:full",
"deploy:worldSepolia": "CONFIG=config/worldSepolia.json SCRIPT_RPC_URL=$WORLD_SEPOLIA_RPC_URL SCRIPT_PRIVATE_KEY=$PRIVATE_KEY SCRIPT_SENDER=$SENDER SCRIPT_VERIFY=--verify SCRIPT_ETHERSCAN=\"--verifier blockscout --verifier-url https://worldchain-sepolia.explorer.alchemy.com/api?\" SCRIPT_PRIORITY_GAS_PRICE=100 npm run deploy:full",
"----------ARTIFACT-COMMANDS----------": "",
"gen:deployments": "ts-node ./script/utils/generateTestnetList.ts",
"----------TESTING-SCRIPTS-(runs after deployment)----------": "",
"test:deployment": "forge test -vvv"
},
"devDependencies": {
"ts-node": "10.9.1"
},
"files": [
"src/**",
"out/**"
],
"dependencies": {
"@types/node": "^20.8.8",
"typescript": "^5.2.2"
}
}