-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (34 loc) · 1.27 KB
/
Copy pathMakefile
File metadata and controls
44 lines (34 loc) · 1.27 KB
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
URL=https://api.cartridge.gg/x/starknet/sepolia
ACCOUNT_NAME=liars-proof-sepolia
ACCOUNT_CLASS_HASH=0x01484c93b9d6cf61614d698ed069b3c6992c32549194fc3465258c2194734189
FEE_TOKEN_ADDRESS=0x1ad102b4c4b3e40a51b6fb8a446275d600555bd63a95cdceed3e5cef8a6bc1d
account-create:
sncast account create \
--class-hash $(ACCOUNT_CLASS_HASH) \
--type oz \
--url $(URL) \
--name $(ACCOUNT_NAME)
account-deploy:
sncast account deploy \
--url $(URL) \
--name $(ACCOUNT_NAME)
account-balance:
sncast balance \
--token-address $(FEE_TOKEN_ADDRESS) \
--url $(URL)
## Install dependencies
install-noir:
curl -L https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install | bash
noirup --version 1.0.0-beta.5
install-barretenberg:
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
bbup --version 0.87.4-starknet.1
## Copy artifacts to app folder
artifacts:
cp ./circuit/target/circuit.json ./app/src/assets/circuit.json
cp ./circuit/target/vk ./app/src/assets/vk.bin
cp ./verifier/target/release/verifier_UltraStarknetZKHonkVerifier.contract_class.json ./app/src/assets/verifier.json
katana:
katana --dev --dev.no-fee --http.cors_origins "*"
setup:
cd contracts && ./scripts/setup.sh $(PROFILE)