generated from WiseMrMusa/kakashi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (42 loc) · 1.17 KB
/
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
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
include .env.goerli
use-env:
echo ${STARKNET_ACCOUNT}
start katana:
katana --accounts 3 --seed 0 --gas-price 250
build:
cd ./packages/snfoundry/ && \
scarb build
start-frontend:
cd ./packages/strkfrnt/ && \
bun dev
declare:
cd ./packages/snfoundry/ && \
starkli declare \
$(TARGET_SIERA) \
--compiler-version 2.1.0 --rpc ${STARKNET_RPC} \
--account ${STARKNET_ACCOUNT} \
--keystore ${STARKNET_KEYSTORE}
deploy:
cd ./packages/snfoundry/ && \
starkli deploy $(CLASS_HASH) \
--rpc ${STARKNET_RPC} \
--account ${STARKNET_ACCOUNT} \
--keystore ${STARKNET_KEYSTORE}
# starkli deploy $(CLASS_HASH) $(CTOR_ARGS) \
test:
cd ./packages/snfoundry/ && \
snfoundry
install bun:
curl -fsSL https://bun.sh/install | bash
install katana:
mkdir ~/.dojo && cd ~/.dojo
git clone https://github.com/dojoengine/dojo
cd dojo
cargo install --path ./crates/katana --locked --force
install snfoundry:
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
install starkli:
curl https://get.starkli.sh | sh
create signer:
cd ./packages/snfoundry/ && \
starkli signer keystore from-key ./starkli-katana/katana_account$(ACC_NO).json