-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Customizable Universal Resolver (#45)
* Introduce Customizable Universal Resolver Co-authored-by: Luc van Kampen <luc@lucemans.nl> --------- Co-authored-by: Antonio F. Trstenjak <antoniostignjedec@gmail.com>
- Loading branch information
1 parent
3cb79a4
commit 0b6f266
Showing
17 changed files
with
290 additions
and
24 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
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,112 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: redis-goerli | ||
namespace: enstate | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: redis-goerli | ||
template: | ||
metadata: | ||
labels: | ||
app: redis-goerli | ||
spec: | ||
containers: | ||
- name: redis-goerli | ||
image: redis:6.0.9-alpine | ||
ports: | ||
- containerPort: 6379 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: redis-goerli | ||
namespace: enstate | ||
spec: | ||
selector: | ||
app: redis-goerli | ||
ports: | ||
- protocol: TCP | ||
port: 6379 | ||
targetPort: 6379 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: enstate-goerli | ||
namespace: enstate | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: enstate-goerli | ||
template: | ||
metadata: | ||
labels: | ||
app: enstate-goerli | ||
spec: | ||
containers: | ||
- name: enstate-goerli | ||
image: ghcr.io/v3xlabs/enstate:sha-749e1d2 | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 3000 | ||
env: | ||
- name: OPENSEA_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: opensea-api-key | ||
key: api-key | ||
- name: REDIS_URL | ||
value: redis://redis-goerli.enstate.svc.cluster.local:6379 | ||
- name: RPC_URL | ||
value: https://rpc.ankr.com/eth_goerli,https://ethereum-goerli.publicnode.com,https://goerli.gateway.tenderly.co | ||
- name: UNIVERSAL_RESOLVER | ||
value: 0x3952Be0b2186f8B113193a84b69bD71ad3fc1ae3 | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: enstate-goerli | ||
namespace: enstate | ||
spec: | ||
selector: | ||
app: enstate-goerli | ||
ports: | ||
- protocol: TCP | ||
port: 3000 | ||
targetPort: 3000 | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: enstate-goerli | ||
namespace: enstate | ||
annotations: | ||
cert-manager.io/issuer: le-http | ||
spec: | ||
ingressClassName: traefik | ||
rules: | ||
- host: goerli.enstate.rs | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: enstate-goerli | ||
port: | ||
number: 3000 | ||
tls: | ||
- hosts: | ||
- goerli.enstate.rs | ||
secretName: tls-goerli-enstate-ingress-http |
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,112 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: redis-sepolia | ||
namespace: enstate | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: redis-sepolia | ||
template: | ||
metadata: | ||
labels: | ||
app: redis-sepolia | ||
spec: | ||
containers: | ||
- name: redis-sepolia | ||
image: redis:6.0.9-alpine | ||
ports: | ||
- containerPort: 6379 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: redis-sepolia | ||
namespace: enstate | ||
spec: | ||
selector: | ||
app: redis-sepolia | ||
ports: | ||
- protocol: TCP | ||
port: 6379 | ||
targetPort: 6379 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: enstate-sepolia | ||
namespace: enstate | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: enstate-sepolia | ||
template: | ||
metadata: | ||
labels: | ||
app: enstate-sepolia | ||
spec: | ||
containers: | ||
- name: enstate-sepolia | ||
image: ghcr.io/v3xlabs/enstate:sha-749e1d2 | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 3000 | ||
env: | ||
- name: OPENSEA_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: opensea-api-key | ||
key: api-key | ||
- name: REDIS_URL | ||
value: redis://redis-sepolia.enstate.svc.cluster.local:6379 | ||
- name: RPC_URL | ||
value: https://rpc.ankr.com/eth_sepolia,https://ethereum-sepolia.publicnode.com,https://sepolia.gateway.tenderly.co | ||
- name: UNIVERSAL_RESOLVER | ||
value: 0x21B000Fd62a880b2125A61e36a284BB757b76025 | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: enstate-sepolia | ||
namespace: enstate | ||
spec: | ||
selector: | ||
app: enstate-sepolia | ||
ports: | ||
- protocol: TCP | ||
port: 3000 | ||
targetPort: 3000 | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: enstate-sepolia | ||
namespace: enstate | ||
annotations: | ||
cert-manager.io/issuer: le-http | ||
spec: | ||
ingressClassName: traefik | ||
rules: | ||
- host: sepolia.enstate.rs | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: enstate-sepolia | ||
port: | ||
number: 3000 | ||
tls: | ||
- hosts: | ||
- sepolia.enstate.rs | ||
secretName: tls-sepolia-enstate-ingress-http |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
REDIS_URL=redis://localhost:6379 | ||
RPC_URL=https://rpc.ankr.com/eth | ||
OPENSEA_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
UNIVERSAL_RESOLVER=0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62 | ||
|
||
# Optionally you can specify a comma-seperated list PROFILE_RECORDS, however if not provided there are sensible defaults | ||
# PROFILE_RECORDS=com.discord,com.twitter |
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
Oops, something went wrong.