-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
49 lines (36 loc) · 1.29 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
addresses-list:
sui client addresses
new-address:
sui client new-address ed25519
objects-list:
sui client objects
faucet:
sui client faucet
build-contract:
cd ./dpp && sui move build
upgrade-contract:
cd ./dpp && sui client upgrade
test-contract:
cd ./dpp && sui move test
publish-contract:
cd ./dpp && sui client publish --gas-budget 1000000000 --skip-dependency-verification
get-objects:
sui client objects
grant-admin-cap:
sui client call --package <<PACKAGE ID>> --module dpp --function grant_admin_capability --args <<ADMIN_CAP_ID>> <RECIPIENT_ADDR> --gas-budget 10000000
grant-vc-issuer-cap:
sui client call --package <<PACKAGE ID>> --module dpp --function grant_vc_issuer_capability --args <<ADMIN_CAP_ID>> <RECIPIENT_ADDR> --gas-budget 10000000
grant-trace-cap:
sui client call --package <<PACKAGE ID>> --module dpp --function grant_trace_capability --args <<VC_ISSUER_CAP_ID>> <RECIPIENT_ADDR> manufacturer --gas-budget 10000000
trace_event:
sui client call --package <<PACKAGE ID>> \
--module dpp \
--function trace_event \
--args <<TRACE_CAP_ID>> \
'[ "https://example.com/uri1", "https://example.com/uri2" ]' \
'[ "proof1", "proof2" ]' \
"" \
"previous transaction digest" \
--gas-budget 100000000
convert-key:
sui keytool convert <<keystore key>>