Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8aa8fa5
wip
efstajas Feb 12, 2026
6d202ba
update local env contract image
efstajas Feb 13, 2026
3524ac8
Generalize Lit owner-signature endpoint for multiple source kinds
efstajas Feb 15, 2026
96ce16d
Add Lit Protocol support to ORCID claiming flow
efstajas Feb 15, 2026
922ad54
Update docker images and e2e tests for Lit ORCID claiming
efstajas Feb 15, 2026
22f3213
use lit in local env
efstajas Feb 15, 2026
cae7470
Fix oracle-code.txt not found in production build
efstajas Feb 15, 2026
52d512e
use dev lit network in headless tests
efstajas Feb 15, 2026
1639f8a
Merge branch 'main' into jason/lit
efstajas Mar 4, 2026
2b85ab8
Merge branch 'main' into jason/lit
efstajas Mar 23, 2026
ff53b7d
update sepolia addresses
efstajas Mar 23, 2026
46e0eb0
fix "sig timestamp in the future" error on owner update TX
efstajas Mar 23, 2026
7fa9b79
fix gitignore, add oracle code
efstajas Mar 23, 2026
f4699b6
externalize massive lit packages
efstajas Mar 26, 2026
6fa3bed
externalize them even harder
efstajas Mar 26, 2026
714a981
try to fix the build
efstajas Mar 26, 2026
4ba1f66
actually do not externalize Lit
efstajas Mar 26, 2026
942ab78
do not externalize ethers to prevent runtime import error from lit
efstajas Mar 26, 2026
0e4dc91
try to fix the build harder
efstajas Mar 26, 2026
1ff15c8
try sth else
efstajas Mar 26, 2026
cabe0fa
externalize project claim URL
efstajas Mar 26, 2026
9a534bd
expose PROJECT_CLAIM_API_URL to railway build
efstajas Mar 26, 2026
6eaf5d5
Merge branch 'main' into jason/lit
efstajas Mar 30, 2026
b5e099c
update testnet img
efstajas Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,16 @@ E2E_HEADLESS=0

# Allow indexing of the site. Set to true to allow indexing.
PUBLIC_ALLOW_INDEXING=false

# ------------------------------------------
# Lit Protocol (for repo ownership verification)
# ------------------------------------------

# Toggle Lit-based owner update globally. false = old Gelato/oracle flow.
PUBLIC_USE_LIT_OWNER_UPDATE=boolean

# Lit network to use. dev, test, or naga. Defaults to dev in dev, naga in prod.
LIT_NETWORK=string

# Private key for Lit authentication & payments.
LIT_ETHEREUM_PRIVATE_KEY=string
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ schema.graphql
!/test-data/.gitkeep

/stats.html

# lit account storage
/src/routes/api/lit/owner-signature/.lit-auth-storage/*
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ ARG INTERCOM_ACCESS_TOKEN

ARG PUBLIC_TURNSTILE_SITE_KEY

ARG PROJECT_CLAIM_API_URL

ARG PUBLIC_PRELUDE_SDK_KEY

RUN apt-get update \
Expand Down
28 changes: 25 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ services:
- PUBLIC_DRIPS_RPGF_URL=http://localhost:5293
- PUBLIC_INTERNAL_DRIPS_RPGF_URL=http://rpgf:5000
- PUBLIC_ORCID_API_URL=https://pub.sandbox.orcid.org
- PUBLIC_USE_LIT_OWNER_UPDATE=true
- PROJECT_CLAIM_API_URL=http://project-claim-api:3100
- PUBLIC_WAVE_API_URL=${PUBLIC_WAVE_API_URL-http://localhost:8000}
- PUBLIC_INTERNAL_WAVE_API_URL=${PUBLIC_INTERNAL_WAVE_API_URL-http://wave:8000}
- PUBLIC_WAVE_GITHUB_APP_NAME=${PUBLIC_WAVE_GITHUB_APP_NAME}
Expand All @@ -41,6 +43,26 @@ services:
- redis
- graphql-api
- fake-pinata
- project-claim-api

project-claim-api:
image: 'j537/project-claim-api:${PROJECT_CLAIM_API_TAG-main}'
pull_policy: always
environment:
- LIT_NETWORK=dev
- CACHE_REDIS_CONNECTION_STRING=redis://redis:6379
- GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}
- PORT=3100
ports:
- 3100:3100
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:3100/health']
interval: 1s
timeout: 30s
retries: 5

redis:
image: redis:latest
Expand All @@ -54,7 +76,7 @@ services:
- 6379:6379

dripfeed:
image: 'j537/dripfeed:${DRIPFEED_TAG-main}-localtestnet'
image: 'j537/dripfeed:${DRIPFEED_TAG-jason-support-lit}-localtestnet'
pull_policy: always
entrypoint: bash -c "npm run db:migrate && npm run start"
environment:
Expand Down Expand Up @@ -89,7 +111,7 @@ services:
condition: service_healthy

graphql-api:
image: 'j537/graphql-api:${GRAPHQL_API_TAG-main}'
image: 'j537/graphql-api:${GRAPHQL_API_TAG-jason-support-lit-orcid}'
pull_policy: always
environment:
- 'RPC_CONFIG={"LOCALTESTNET": { "url": "http://testnet:8545" }}'
Expand Down Expand Up @@ -119,7 +141,7 @@ services:
retries: 5

testnet:
image: 'j537/contracts:${CONTRACTS_TAG-igor-orcid}-${ARCH}'
image: 'j537/contracts:${CONTRACTS_TAG-igor-lit}-${ARCH}'
pull_policy: always
ports:
- '8545:8545'
Expand Down
Loading
Loading