2024-05-21 00:46:07 +00:00
{
"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"
} ,
2024-05-21 18:34:00 +00:00
"dependencies" : {
2024-06-27 08:29:24 +00:00
"@zk-kit/imt.sol" : "https://gitpkg.vercel.app/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500" ,
2024-05-21 18:34:00 +00:00
"poseidon-solidity" : "^0.0.5"
} ,
2024-05-21 00:46:07 +00:00
"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" ,
2024-05-28 12:26:10 +00:00
"adorno" : "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report" ,
2024-05-30 13:51:55 +00:00
"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" ,
2024-06-27 08:29:24 +00:00
"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" ,
2024-11-01 14:23:28 +00:00
"deploy:localhost:price_calculator" : "./envCheck.sh && forge script script/Deploy.s.sol:DeployPriceCalculator --rpc-url $RPC_URL --broadcast -vv --sender $ETH_FROM --account $ACCOUNT" ,
"deploy:localhost:wakurln_impl_v2" : "./envCheck.sh && forge script script/Deploy.s.sol:DeployWakuRlnV2 --rpc-url $RPC_URL --broadcast -vv --sender $ETH_FROM --account $ACCOUNT" ,
"deploy:localhost:proxy" : "./envCheck.sh && forge script script/Deploy.s.sol:DeployProxy --rpc-url $RPC_URL --broadcast -vv --sender $ETH_FROM --account $ACCOUNT" ,
"deploy:localhost" : "npm run deploy:localhost:price_calculator && npm run deploy:localhost:wakurln_impl_v2 && npm run deploy:localhost:proxy" ,
"deploy:linea_sepolia:price_calculator" : "export RPC_URL=https://rpc.sepolia.linea.build && ./envCheck.sh && FOUNDRY_PROFILE=linea_sepolia forge script --chain 59141 script/Deploy.s.sol:DeployPriceCalculator --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM" ,
"deploy:linea_sepolia:wakurln_impl_v2" : "export RPC_URL=https://rpc.sepolia.linea.build && ./envCheck.sh && FOUNDRY_PROFILE=linea_sepolia forge script --chain 59141 script/Deploy.s.sol:DeployWakuRlnV2 --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM" ,
"deploy:linea_sepolia:proxy" : "export RPC_URL=https://rpc.sepolia.linea.build && ./envCheck.sh && FOUNDRY_PROFILE=linea_sepolia forge script --chain 59141 script/Deploy.s.sol:DeployProxy --rpc-url $RPC_URL --broadcast --verify -vv --account $ACCOUNT --legacy --sender $ETH_FROM" ,
"deploy:linea_sepolia" : "npm run deploy:linea_sepolia:price_calculator && npm run deploy:linea_sepolia:wakurln_impl_v2 && npm run deploy:linea_sepolia:proxy"
2024-05-21 00:46:07 +00:00
}
}