Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian committed Oct 26, 2023
1 parent 4d88f73 commit c24e117
Show file tree
Hide file tree
Showing 403 changed files with 1,636 additions and 1,960 deletions.
16 changes: 8 additions & 8 deletions .env
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
INDEXER_NETWORK_ID=teritori-testnet
TERITORI_MINTER_CODE_IDS=27,40,43
TENDERMINT_WEBSOCKET_ENDPOINT=wss://rpc.testnet.teritori.com/websocket
TERITORI_COLLECTION_WHITELIST=tori162skshe30f43kv2q2rw6we2mu3pvz43lm2zrg4hq50jdd2fjjdjsvm8mc7,tori1zxzv4j9dxarfhxhkxm5cfnv06vy6g4l80adjwaq3dxdzmh5jm8rsrkzz65,tori18etjzrma5604af50jjklk3wlkqcsxdrvmy6jzw5naw2t7kyv4rys3kpwky,tori10z8um7u47e24rv68ghd43tspeztmqy3cc283gvc3pj48zxs5ljdqn84deq,tori1afwrcs58afaka6ltynevwcvq8zhejr3ssn703c0hky5emh890vzsry5wp5
INDEXER_NETWORK_ID=furya-testnet
FURYA_MINTER_CODE_IDS=27,40,43
TENDERMINT_WEBSOCKET_ENDPOINT=wss://rpc.testnet.furya.xyz/websocket
FURYA_COLLECTION_WHITELIST=furya162skshe30f43kv2q2rw6we2mu3pvz43lm2zrg4hq50jdd2fjjdjs284yd8,furya1zxzv4j9dxarfhxhkxm5cfnv06vy6g4l80adjwaq3dxdzmh5jm8rs92sa0d,furya18etjzrma5604af50jjklk3wlkqcsxdrvmy6jzw5naw2t7kyv4rysh2n3ra,furya10z8um7u47e24rv68ghd43tspeztmqy3cc283gvc3pj48zxs5ljdq4m8jve,furya1afwrcs58afaka6ltynevwcvq8zhejr3ssn703c0hky5emh890vzs9cx35d

PUBLIC_OPENGRAPH_APP_ID=c7778990-d495-49f1-b242-1519ba787e34
PUBLIC_TENOR_KEY=AIzaSyA8TpVfoyoBaDdLww6wJ1Xe0OVN-Hi8qPE

P2E_NETWORK_ID=teritori-testnet
P2E_RPC_ENDPOINT=https://rpc.testnet.teritori.com:443
P2E_NETWORK_ID=furya-testnet
P2E_RPC_ENDPOINT=https://rpc.testnet.furya.xyz:443

#Just for DB local instance
POSTGRES_USER=postgres
Expand All @@ -26,8 +26,8 @@ PRICES_DB_NAME=postgres
PRICES_DB_USER=postgres
PRICES_DB_PASSWORD=magic

PRICES_SERVICE_URI=prices.mainnet.teritori.com:443
PRICES_SERVICE_URI=prices.mainnet.furya.xyz:443

IMG_PROXY_URL=https://imgproxy.tools.teritori.com/insecure/
IMG_PROXY_URL=https://imgproxy.tools.furya.xyz/insecure/

# MULTISIG_BACKEND_URL=http://localhost:9091 # you can use this for local testing
11 changes: 0 additions & 11 deletions .expo-shared/README.md

This file was deleted.

135 changes: 0 additions & 135 deletions .expo-shared/assets.json

This file was deleted.

52 changes: 26 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
CANDYMACHINE_REPO=teritori-nfts
BUNKER_MINTER_PACKAGE=teritori-bunker-minter
CANDYMACHINE_REPO=furya-nfts
BUNKER_MINTER_PACKAGE=furya-bunker-minter

TOKEN_REPO=teritori-nfts
TOKEN_PACKAGE=teritori-nft
SQUAD_STAKING_PACKAGE=teritori-squad-staking
BREEDING_PACKAGE=teritori-breeding
DISTRIBUTOR_PACKAGE=teritori-distributor
TOKEN_REPO=furya-nfts
TOKEN_PACKAGE=furya-nft
SQUAD_STAKING_PACKAGE=furya-squad-staking
BREEDING_PACKAGE=furya-breeding
DISTRIBUTOR_PACKAGE=furya-distributor

NAME_SERVICE_REPO=teritori-name-service
NAME_SERVICE_PACKAGE=teritori-name-service
NAME_SERVICE_REPO=furya-name-service
NAME_SERVICE_PACKAGE=furya-name-service

RIOTER_FOOTER_REPO=rioters-footer-nft
RIOTER_FOOTER_PACKAGE=rioter-footer-nft

VAULT_REPO=teritori-vault
VAULT_PACKAGE=teritori-nft-vault
VAULT_REPO=furya-vault
VAULT_PACKAGE=furya-nft-vault

CONTRACTS_CLIENTS_DIR=packages/contracts-clients

DOCKER_REGISTRY=rg.nl-ams.scw.cloud/teritori
INDEXER_DOCKER_IMAGE=$(DOCKER_REGISTRY)/teritori-indexer:$(shell git rev-parse --short HEAD)
BACKEND_DOCKER_IMAGE=$(DOCKER_REGISTRY)/teritori-dapp-backend:$(shell git rev-parse --short HEAD)
DOCKER_REGISTRY=rg.nl-ams.scw.cloud/furya
INDEXER_DOCKER_IMAGE=$(DOCKER_REGISTRY)/furya-indexer:$(shell git rev-parse --short HEAD)
BACKEND_DOCKER_IMAGE=$(DOCKER_REGISTRY)/furya-dapp-backend:$(shell git rev-parse --short HEAD)
PRICES_SERVICE_DOCKER_IMAGE=$(DOCKER_REGISTRY)/prices-service:$(shell git rev-parse --short HEAD)
PRICES_OHLC_REFRESH_DOCKER_IMAGE=$(DOCKER_REGISTRY)/prices-ohlc-refresh:$(shell git rev-parse --short HEAD)
P2E_DOCKER_IMAGE=$(DOCKER_REGISTRY)/p2e-update-leaderboard:$(shell git rev-parse --short HEAD)
Expand Down Expand Up @@ -55,7 +55,7 @@ lint: lint.buf lint.js
.PHONY: lint.buf
lint.buf:
buf lint api
buf breaking --against 'https://github.com/TERITORI/teritori-dapp.git#branch=main' --path api
buf breaking --against 'https://github.com/furysport/furya-dapp.git#branch=main' --path api

.PHONY: lint.js
lint.js: node_modules
Expand All @@ -67,7 +67,7 @@ go/pkg/holagql/holaplex-schema.graphql:

.PHONY: docker.backend
docker.backend:
docker build . -f go/cmd/teritori-dapp-backend/Dockerfile -t teritori/teritori-dapp-backend:$(shell git rev-parse --short HEAD)
docker build . -f go/cmd/furya-dapp-backend/Dockerfile -t furya/furya-dapp-backend:$(shell git rev-parse --short HEAD)

.PHONY: generate.contracts-clients
generate.contracts-clients: $(CONTRACTS_CLIENTS_DIR)/$(BUNKER_MINTER_PACKAGE) $(CONTRACTS_CLIENTS_DIR)/$(NAME_SERVICE_PACKAGE) $(CONTRACTS_CLIENTS_DIR)/$(RIOTER_FOOTER_PACKAGE) $(CONTRACTS_CLIENTS_DIR)/$(TOKEN_PACKAGE) $(CONTRACTS_CLIENTS_DIR)/$(VAULT_PACKAGE)
Expand All @@ -79,7 +79,7 @@ generate.go-networks: node_modules validate-networks
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(BUNKER_MINTER_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(BUNKER_MINTER_PACKAGE): node_modules
rm -fr $(CANDYMACHINE_REPO)
git clone git@github.com:TERITORI/$(CANDYMACHINE_REPO).git
git clone git@github.com:FURYA/$(CANDYMACHINE_REPO).git
cd $(CANDYMACHINE_REPO) && git checkout 61028f26c8ca2662bab39eff23f28c322d1aa60e
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -96,7 +96,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(BUNKER_MINTER_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(NAME_SERVICE_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(NAME_SERVICE_PACKAGE): node_modules
rm -fr $(NAME_SERVICE_REPO)
git clone git@github.com:TERITORI/$(NAME_SERVICE_REPO).git
git clone git@github.com:FURYA/$(NAME_SERVICE_REPO).git
cd $(NAME_SERVICE_REPO) && git checkout 1a03f93e9d7b96712a7a2585a079cbe97e384724
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -113,7 +113,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(NAME_SERVICE_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(RIOTER_FOOTER_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(RIOTER_FOOTER_PACKAGE): node_modules
rm -fr $(RIOTER_FOOTER_REPO)
git clone git@github.com:TERITORI/$(RIOTER_FOOTER_REPO).git
git clone git@github.com:FURYA/$(RIOTER_FOOTER_REPO).git
cd $(RIOTER_FOOTER_REPO) && git checkout e5a5b22cc3e72e09df6b4642d62dc21d99ca34c3
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -127,7 +127,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(RIOTER_FOOTER_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(TOKEN_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(TOKEN_PACKAGE): node_modules
rm -fr $(TOKEN_REPO)
git clone git@github.com:TERITORI/$(TOKEN_REPO).git
git clone git@github.com:FURYA/$(TOKEN_REPO).git
cd $(TOKEN_REPO) && git checkout c368eba82348c0f9cc538cee7401bcf673847dcc
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -141,7 +141,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(TOKEN_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(DISTRIBUTOR_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(DISTRIBUTOR_PACKAGE): node_modules
rm -fr $(TOKEN_REPO)
git clone git@github.com:TERITORI/$(TOKEN_REPO).git
git clone git@github.com:FURYA/$(TOKEN_REPO).git
cd $(TOKEN_REPO) && git checkout 61028f26c8ca2662bab39eff23f28c322d1aa60e
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -155,7 +155,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(DISTRIBUTOR_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(SQUAD_STAKING_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(SQUAD_STAKING_PACKAGE): node_modules
rm -fr $(TOKEN_REPO)
git clone git@github.com:TERITORI/$(TOKEN_REPO).git
git clone git@github.com:FURYA/$(TOKEN_REPO).git
cd $(TOKEN_REPO) && git checkout afacbd6e9ad9561f98fd7e0eaa5580c916fda276
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -169,7 +169,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(SQUAD_STAKING_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(BREEDING_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(BREEDING_PACKAGE): node_modules
rm -fr $(CANDYMACHINE_REPO)
git clone git@github.com:TERITORI/$(CANDYMACHINE_REPO).git
git clone git@github.com:FURYA/$(CANDYMACHINE_REPO).git
cd $(CANDYMACHINE_REPO) && git checkout 26e37212a24d8e9e4b52af3c8f0ec3837633732c
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -186,7 +186,7 @@ $(CONTRACTS_CLIENTS_DIR)/$(BREEDING_PACKAGE): node_modules
.PHONY: $(CONTRACTS_CLIENTS_DIR)/$(VAULT_PACKAGE)
$(CONTRACTS_CLIENTS_DIR)/$(VAULT_PACKAGE): node_modules
rm -fr $(VAULT_REPO)
git clone git@github.com:TERITORI/$(VAULT_REPO).git
git clone git@github.com:FURYA/$(VAULT_REPO).git
cd $(VAULT_REPO) && git checkout 75a692533b9188587ebfa909c5576376b8d65999
rm -fr $@
npx cosmwasm-ts-codegen generate \
Expand All @@ -202,12 +202,12 @@ $(CONTRACTS_CLIENTS_DIR)/$(VAULT_PACKAGE): node_modules

.PHONY: publish.backend
publish.backend:
docker build -f go/cmd/teritori-dapp-backend/Dockerfile . --platform linux/amd64 -t $(BACKEND_DOCKER_IMAGE)
docker build -f go/cmd/furya-dapp-backend/Dockerfile . --platform linux/amd64 -t $(BACKEND_DOCKER_IMAGE)
docker push $(BACKEND_DOCKER_IMAGE)

.PHONY: publish.indexer
publish.indexer:
docker build -f go/cmd/teritori-indexer/Dockerfile . --platform linux/amd64 -t $(INDEXER_DOCKER_IMAGE)
docker build -f go/cmd/furya-indexer/Dockerfile . --platform linux/amd64 -t $(INDEXER_DOCKER_IMAGE)
docker push $(INDEXER_DOCKER_IMAGE)

.PHONY: publish.prices-service
Expand Down
Loading

0 comments on commit c24e117

Please sign in to comment.