1- KEY = MyKey
2- BASE = teritori
3- REMOTE = http://127.0.0.1:26657
4- CHAIN_ID = dev
1+ DOCKER_REGISTRY =rg.nl-ams.scw.cloud/teritori
2+ AGENT_DOCKER_IMAGE =$(DOCKER_REGISTRY ) /gno-gh-verify-agent:$(shell git rev-parse --short HEAD)
53
6- .PHONY : add_social_feeds_realm add_utf16_pkg add_ujson_pkg add_flags_index_pkg add_dao_interfaces_pkg add_social_feed all
7-
8- add_gh_verify_realm :
9- gnokey maketx addpkg \
10- -deposit=" 1ugnot" \
11- -gas-fee=" 1ugnot" \
12- -gas-wanted=" 50000000" \
13- -broadcast=" true" \
14- -chainid=" ${CHAIN_ID} " \
15- -remote=" ${REMOTE} " \
16- -pkgdir=" ./r/gnoland/ghverify" \
17- -pkgpath=" gno.land/r/${BASE} /ghverify" \
18- ${KEY}
19-
20- request_verification :
21- gnokey maketx call \
22- -pkgpath " gno.land/r/${BASE} /ghverify" \
23- -func=" RequestVerification" \
24- -gas-fee=" 1000000ugnot" \
25- -gas-wanted=" 3000000" \
26- -remote=" ${REMOTE} " \
27- -chainid=" ${CHAIN_ID} " \
28- -broadcast \
29- -args " villaquiranm" \
30- MyKey
31-
32- check_current_feeds :
33- gnokey query vm/qeval --data ' gno.land/r/${BASE}/ghverify.GnorkleEntrypoint("request")'
34- -remote=" ${REMOTE} " \
35- ${KEY}
36-
37- set_owner :
38- gnokey maketx call \
39- -pkgpath " gno.land/r/${BASE} /ghverify" \
40- -func=" SetOwner" \
41- -gas-fee=" 1000000ugnot" \
42- -gas-wanted=" 3000000" \
43- -remote=" ${REMOTE} " \
44- -chainid=" ${CHAIN_ID} " \
45- -broadcast \
46- -args " g1yr5sts6w9k2arsuk858lh6phegcfvg0y4d0pgf" \
47- ${KEY}
48-
49- verify :
50- gnokey maketx call \
51- -pkgpath " gno.land/r/${BASE} /ghverify" \
52- -func=" GnorkleEntrypoint" \
53- -gas-fee=" 1000000ugnot" \
54- -gas-wanted=" 3000000" \
55- -remote=" ${REMOTE} " \
56- -chainid=" ${CHAIN_ID} " \
57- -broadcast \
58- -args " ingest,g1pwxuhltfqxcumjmuquuue6y3f2g3f2d0rcq52x,OK" \
59- ${KEY}
60- relay_verify :
61- gnokey maketx call \
62- -pkgpath " gno.land/r/${BASE} /ghverify" \
63- -func=" GnorkleEntrypoint" \
64- -gas-fee=" 1000000ugnot" \
65- -gas-wanted=" 3000000" \
66- -remote=" ${REMOTE} " \
67- -chainid=" ${CHAIN_ID} " \
68- -broadcast \
69- -args " relay,gpub1pgfj7ard9eg82cjtv4u4xetrwqer2dntxyfzxz3pqgfakcapzvuux7vug9vagyjmvj6k2w2xu723qnue69z9r7wlt9c6zeyxvt8,dd4b4012daddb14fe7587f4bbb5bef5f16d123032e5c6dc718528907c8f71ee267c1a051328d42991fe6f82cdba424efd3866251cf9411c8f38ebb1e144f10ce,ingest,g14vxq5e5pt5sev7rkz2ej438scmxtylnzv5vnkw,OK" \
70- newkey
71-
72- check :
73- gnokey maketx call \
74- -pkgpath " gno.land/r/${BASE} /ghverify" \
75- -func=" GnorkleEntrypoint" \
76- -gas-fee=" 1000000ugnot" \
77- -gas-wanted=" 3000000" \
78- -remote=" ${REMOTE} " \
79- -chainid=" ${CHAIN_ID} " \
80- -broadcast \
81- -args " request" \
82- ${KEY}
83-
84- send :
85- gnokey maketx send \
86- -gas-fee=" 1000000ugnot" \
87- -gas-wanted=" 3000000" \
88- -remote=" ${REMOTE} " \
89- -chainid=" ${CHAIN_ID} " \
90- -send=" 100000ugnot" \
91- -to " g1yr5sts6w9k2arsuk858lh6phegcfvg0y4d0pgf" \
92- -broadcast \
93- ${KEY}
94-
95-
4+ .PHONY : publish
5+ publish :
6+ docker build . --platform linux/amd64 -t $(AGENT_DOCKER_IMAGE )
7+ docker push $(AGENT_DOCKER_IMAGE )
0 commit comments