43 lines
2.3 KiB
JSON
43 lines
2.3 KiB
JSON
{
|
|
"name": "@waku-org/waku-rlnv2-contract",
|
|
"description": "rln-v2 Contracts for Waku",
|
|
"version": "1.0.0",
|
|
"author": {
|
|
"name": "waku-org",
|
|
"url": "https://github.com/waku-org"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.0.0",
|
|
"solhint-community": "^3.6.0",
|
|
"commit-and-tag-version": "^12.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@zk-kit/imt.sol": "https://gitpkg.vercel.app/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500",
|
|
"poseidon-solidity": "^0.0.5"
|
|
},
|
|
"keywords": [
|
|
"blockchain",
|
|
"ethereum",
|
|
"forge",
|
|
"foundry",
|
|
"smart-contracts",
|
|
"solidity",
|
|
"template"
|
|
],
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rm -rf cache out",
|
|
"lint": "pnpm lint:sol && pnpm prettier:check",
|
|
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test,certora}/**/*.sol",
|
|
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
|
|
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
|
|
"gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)",
|
|
"release": "commit-and-tag-version",
|
|
"adorno": "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report",
|
|
"deploy:sepolia": "./envCheck.sh && FOUNDRY_PROFILE=sepolia forge script --chain sepolia script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
|
|
"deploy:cardona": "export RPC_URL=https://rpc.cardona.zkevm-rpc.com && ./envCheck.sh && FOUNDRY_PROFILE=cardona forge script --chain 2442 script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
|
|
"deploy:linea_sepolia": "export RPC_URL=https://rpc.sepolia.linea.build && ./envCheck.sh && FOUNDRY_PROFILE=linea_sepolia forge script --chain 59141 script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM",
|
|
"deploy:localhost": "./envCheck.sh && forge script script/Deploy.s.sol:Deploy --rpc-url $RPC_URL --broadcast -vv --account $ACCOUNT --sender $ETH_FROM"
|
|
}
|
|
}
|