-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (18 loc) · 896 Bytes
/
Makefile
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
-include .env
.PHONY: all test clean deploy fund help install snapshot format anvil zktest
DEFAULT_ANVIL_KEY := 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
DEFAULT_ZKSYNC_LOCAL_KEY := 0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110
all: clean remove install update build
# Clean the repo
clean :; forge clean
# Update Dependencies
update:; forge update
build:; forge build
zkbuild :; forge build --zksync
test :; forge test
zktest :; foundryup-zksync && forge test --zksync && foundryup
snapshot :; forge snapshot
format :; forge fmt
anvil :; anvil -m 'test test test test test test test test test test test junk' --steps-tracing --block-time 1
deploy-sepolia:
@forge script script/DeployFundMe.s.sol:DeployFundMe --rpc-url $(SEPOLIA_RPC_URL) --private-key $(PRIVATE_KEY) --broadcast --verify --etherscan-api-key $(ETHERSCAN_API_KEY) -vvvv