Skip to content

Add Lit Protocol support#1856

Draft
efstajas wants to merge 8 commits intomainfrom
jason/lit
Draft

Add Lit Protocol support#1856
efstajas wants to merge 8 commits intomainfrom
jason/lit

Conversation

@efstajas
Copy link
Contributor

@efstajas efstajas commented Feb 15, 2026

Get ready for the new version of the Drips protocol based on Lit MCP proofs of GitHub Repo + ORCID ownership replacing the current Gelato Web3Functions-based approach.

Replace the GitHub-specific payload with a discriminated union on
sourceKind (gitHub, orcid, orcidSandbox). Add ORCID profile
pre-validation, retry logic with timeout, and rate limiting.

Update the project claim flow to use the new payload format.
When PUBLIC_USE_LIT_OWNER_UPDATE is enabled, the ORCID claim flow now:
- Shows the Lit-compatible DRIPS_OWNERSHIP_CLAIM URL format
- Calls the generalized Lit endpoint with orcid/orcidSandbox sourceKind
- Builds updateOwnerByLit and setSplits transactions using the correct
  Lit account ID (sourceId=4 for sandbox, plain ORCID name)

The legacy Gelato-based flow remains unchanged when the flag is off.
Point docker-compose at updated dripfeed, graphql-api and contracts
images that support Lit-claimed ORCID accounts.

Update test ORCID ID to 0009-0003-3033-0123 and test comments to
reflect the new DRIPS_OWNERSHIP_CLAIM URL format.
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1856 February 15, 2026 13:25 Destroyed
@railway-app
Copy link

railway-app bot commented Feb 15, 2026

🚅 Deployed to the app-pr-1856 environment in Drips App

Service Status Web Updated (UTC)
App ◻️ Removed (View Logs) Web Feb 16, 2026 at 10:09 am

Use Vite's ?raw import to inline the Lit action code at build time
instead of readFileSync at runtime. SvelteKit doesn't copy .txt files
to the build output directory.
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1856 February 15, 2026 13:29 Destroyed
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1856 February 15, 2026 13:37 Destroyed
@efstajas efstajas changed the title Add Lit Protocol support for ORCID claiming Add Lit Protocol support Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant