This repository was archived by the owner on Dec 3, 2025. It is now read-only.
forked from ZTX-Foundation/tuxedo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 5.41 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 5.41 KB
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
89
90
91
92
93
94
95
96
97
98
99
{
"name": "tuxedo",
"version": "1.0.0",
"type": "module",
"description": "Solidity smart contracts for ZTX.",
"main": "''",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"coverage": "forge coverage",
"coverage:lcov:unit": "forge coverage --report lcov --match-contract UnitTest",
"coverage:lcov:integration": "forge coverage --report lcov --match-contract IntegrationTest",
"coverage:report:unit": "forge coverage --match-contract UnitTest",
"coverage:report:integration": "forge coverage --match-contract IntegrationTest",
"update:foundry": "foundryup",
"install:foundry": "foundryup || curl -L https://foundry.paradigm.xyz | bash",
"install:slither": "pip3 install slither-analyzer",
"install:slither:utx0": "pip3 install git+https://github.com/utx0/slither.git",
"clean": "forge clean",
"build": "forge build --extra-output-files abi",
"test": "forge test -vvv",
"test:unit": "forge test -vvv --match-contract UnitTest",
"test:integration": "forge test --match-contract IntegrationTest",
"test:watch": "git ls-files | entr -c -s 'forge test -vv'",
"test:watch:debug": "git ls-files | entr -c -s 'forge test -vvv'",
"test:proposals:mainnet": "forge t --fork-url $RPC_URL --match-contract TestProposals -vvv",
"prettier": "prettier --write **.sol",
"prettier:list": "prettier --list-different **.sol",
"prettier:check": "prettier --check **.sol",
"solhint": "solhint --config ./.solhint.json 'src/**/*.sol' 'script/**/*.sol' --fix",
"solhint:check": "solhint --config ./.solhint.json 'src/**/*.sol'",
"slither": "slither .",
"slither:triage": "slither . --triage",
"lint:check": "eslint . && npm run solhint:check",
"start:localnet": "anvil -m 'test test test test test test test test test test test junk'",
"prepare": "husky install",
"deploy:localnet": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url http://127.0.0.1:8545 --slow",
"deploy:testnet": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --rpc-url $RPC_URL --slow",
"deploy:testnet:broadcast": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow",
"deploy:testnet:broadcast:verified": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow --verify --etherscan-api-key $ARBISCAN_API_KEY --verifier-url https://api-goerli.arbiscan.io/api",
"deploy:sepolia:broadcast:verified": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow --verify --etherscan-api-key $ARBISCAN_API_KEY --verifier blockscout --verifier-url https://sepolia-explorer.arbitrum.io/api",
"deploy:testnet:resume": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow --resume",
"deploy:mainnet": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --rpc-url $RPC_URL --slow",
"deploy:mainnet:broadcast": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow",
"deploy:mainnet:broadcast:verified": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow --verify --etherscan-api-key $ARBISCAN_API_KEY --verifier-url https://api.arbiscan.io/api",
"deploy:mainnet:resume": "forge script ./script/deploy/DeployProposal.s.sol -vvvv --broadcast --rpc-url $RPC_URL --slow --resume",
"valid:mainnet": "forge script ./script/deploy/DeployProposal.s.sol --rpc-url $RPC_URL --slow -vvvv",
"bootstrap:testnet": "forge script ./script/deploy/BootstrapTestnet.s.sol:BootstrapTestnet --rpc-url $RPC_URL -vvvv",
"bootstrap:testnet:broadcast": "forge script ./script/deploy/BootstrapTestnet.s.sol:BootstrapTestnet -vvvv --rpc-url $RPC_URL --broadcast --private-key ${DEPLOYER_PRIVATE_KEY} --slow --verify --etherscan-api-key $ARBISCAN_API_KEY --verifier-url https://api-sepolia.arbiscan.io/api"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZTX-Foundation/tuxedo.git"
},
"keywords": [
"smart",
"contracts",
"evm",
"ztx"
],
"author": "",
"license": "",
"bugs": {
"url": "https://github.com/ZTX-Foundation/tuxedo/issues"
},
"homepage": "https://github.com/ZTX-Foundation/tuxedo#README.md",
"devDependencies": {
"@types/node": "^20.12.10",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "3.3.3",
"prettier-plugin-solidity": "^1.3.1",
"solhint": "^4.5.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@ethersproject/keccak256": "^5.7.0",
"@moralisweb3/common-evm-utils": "^2.27.0",
"@openzeppelin/merkle-tree": "^1.0.6",
"axios": "^1.7.2",
"commander": "^12.1.0",
"ethers": "^5.7.0",
"husky": "^9.0.11",
"jose": "^5.6.3",
"keccak256": "^1.0.6",
"lint-staged": "^15.2.7",
"merkletreejs": "^0.3.11",
"moralis": "^2.26.2",
"soltypes": "^2.0.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}