-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be85651
commit 4667bd8
Showing
6 changed files
with
121 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,4 @@ | ||
INDEXER_NETWORK_ID=teritori-testnet | ||
TERITORI_MINTER_CODE_IDS=10 | ||
TENDERMINT_WEBSOCKET_ENDPOINT=wss://rpc.testnet.teritori.com/websocket | ||
TERITORI_COLLECTION_WHITELIST=testeth-0x43cc70bf324d716782628bed38af97e4afe92f69,mumbai-0x916ad9d549907ccbbaf9ba65526826bfc3a9c0c4,testori-tori1r8raaqul4j05qtn0t05603mgquxfl8e9p7kcf7smwzcv2hc5rrlq0vket0,testori-tori1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgsjscd88 | ||
|
||
#Just for DB local instance | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=1234 | ||
DATABASE_NAME=postgres | ||
# indexer RW DB | ||
DB_INDEXER_HOST=127.0.0.1 | ||
DB_INDEXER_PORT=7654 | ||
# dapp RO DB | ||
DB_DAPP_HOST=127.0.0.1 | ||
DB_DAPP_PORT=7654 | ||
|
||
PRICES_DB_HOST=127.0.0.1 | ||
PRICES_DB_PORT=5433 | ||
PRICES_DB_NAME=postgres | ||
PRICES_DB_USER=postgres | ||
PRICES_DB_PASSWORD=1234 | ||
|
||
PRICES_SERVICE_URI=prices.mainnet.teritori.com:443 | ||
|
||
SUBSTREAMS_API_TOKEN=<get_from_substream_site> | ||
|
||
#app env | ||
EXPO_PUBLIC_IMG_PROXY_URL=https://imgproxy.tools.teritori.com/insecure/ | ||
EXPO_PUBLIC_PUBLIC_TENOR_KEY=AIzaSyA8TpVfoyoBaDdLww6wJ1Xe0OVN-Hi8qPE | ||
|
||
#map token | ||
EXPO_PUBLIC_LEAFLET_MAP_TOKEN=QkwJFLzzxPan25YCgnDExGpMFPxA3x4lnyKiUf8zmaqXLP5XyOR8n3yEM8jlKV3W | ||
|
||
# MULTISIG_BACKEND_URL=http://localhost:9091 # you can use this for local testing | ||
GNO_MNEMONIC=scissors razor beauty delay derive chronic toss burger gravity shallow couch slogan change tray connect frame token slight zone usage sad monkey pyramid change | ||
GNO_CHAIN_ID=dev | ||
GNO_RPC_ADDR=http://127.0.0.1:26657 | ||
GNO_REALM_PATH=gno.land/r/teritori/ghverify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
KEY = MyKey | ||
BASE = teritori | ||
REMOTE = http://127.0.0.1:26657 | ||
CHAIN_ID = dev | ||
|
||
.PHONY: add_social_feeds_realm add_utf16_pkg add_ujson_pkg add_flags_index_pkg add_dao_interfaces_pkg add_social_feed all | ||
|
||
add_gh_verify_realm: | ||
gnokey maketx addpkg \ | ||
-deposit="1ugnot" \ | ||
-gas-fee="1ugnot" \ | ||
-gas-wanted="50000000" \ | ||
-broadcast="true" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-remote="${REMOTE}" \ | ||
-pkgdir="./r/gnoland/ghverify" \ | ||
-pkgpath="gno.land/r/${BASE}/ghverify" \ | ||
${KEY} | ||
|
||
request_verification: | ||
gnokey maketx call \ | ||
-pkgpath "gno.land/r/${BASE}/ghverify" \ | ||
-func="RequestVerification" \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-broadcast \ | ||
-args "villaquiranm" \ | ||
MyKey | ||
|
||
check_current_feeds: | ||
gnokey query vm/qeval --data 'gno.land/r/${BASE}/ghverify.GnorkleEntrypoint("request")' | ||
-remote="${REMOTE}" \ | ||
${KEY} | ||
|
||
set_owner: | ||
gnokey maketx call \ | ||
-pkgpath "gno.land/r/${BASE}/ghverify" \ | ||
-func="SetOwner" \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-broadcast \ | ||
-args "g1yr5sts6w9k2arsuk858lh6phegcfvg0y4d0pgf" \ | ||
${KEY} | ||
|
||
verify: | ||
gnokey maketx call \ | ||
-pkgpath "gno.land/r/${BASE}/ghverify" \ | ||
-func="GnorkleEntrypoint" \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-broadcast \ | ||
-args "ingest,g1pwxuhltfqxcumjmuquuue6y3f2g3f2d0rcq52x,OK" \ | ||
${KEY} | ||
relay_verify: | ||
gnokey maketx call \ | ||
-pkgpath "gno.land/r/${BASE}/ghverify" \ | ||
-func="GnorkleEntrypoint" \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-broadcast \ | ||
-args "relay,gpub1pgfj7ard9eg82cjtv4u4xetrwqer2dntxyfzxz3pqgfakcapzvuux7vug9vagyjmvj6k2w2xu723qnue69z9r7wlt9c6zeyxvt8,dd4b4012daddb14fe7587f4bbb5bef5f16d123032e5c6dc718528907c8f71ee267c1a051328d42991fe6f82cdba424efd3866251cf9411c8f38ebb1e144f10ce,ingest,g14vxq5e5pt5sev7rkz2ej438scmxtylnzv5vnkw,OK" \ | ||
newkey | ||
|
||
check: | ||
gnokey maketx call \ | ||
-pkgpath "gno.land/r/${BASE}/ghverify" \ | ||
-func="GnorkleEntrypoint" \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-broadcast \ | ||
-args "request" \ | ||
${KEY} | ||
|
||
send: | ||
gnokey maketx send \ | ||
-gas-fee="1000000ugnot" \ | ||
-gas-wanted="3000000" \ | ||
-remote="${REMOTE}" \ | ||
-chainid="${CHAIN_ID}" \ | ||
-send="100000ugnot" \ | ||
-to "g1yr5sts6w9k2arsuk858lh6phegcfvg0y4d0pgf" \ | ||
-broadcast \ | ||
${KEY} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters