-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 965 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 965 Bytes
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
declare:
sncast \
declare \
--fee-token eth \
--url https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_7/CGmQDezuhKApBVtytny0Hh7MvAHwTh8- \
--name ${name} \
--contract-name ${name}
deploy:
sncast deploy --fee-token eth --class-hash ${classhash} --constructor-calldata ${arg}
t:
export SNFORGE_BACKTRACE=1 && snforge test
upgrade:
sncast \
invoke \
--fee-token eth \
--contract-address ${address} \
--function "upgrade" \
--calldata ${calldata}
set_env:
export STARKNET_ACCOUNT=
export STARKNET_KEYSTORE= ../../keystore/keystore.json
export STARKNET_RPC= https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_7/CGmQDezuhKApBVtytny0Hh7MvAHwTh8-
sncast \
account create \
--url 'https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_7/CGmQDezuhKApBVtytny0Hh7MvAHwTh8- \'
--name weaver_deploy