Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cpass 1226 support for solana connection config #36

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kevinhcolgan
Copy link
Collaborator

This PR adds support for passing through additional solana connection config in the solana chain definition. This enables features such as using JWT-auth protected solana endpoints.

In this PR:

  • changes to the solana multichain RC to allow commitmentOrConfig to be passed in per-chain
  • an example dApp 'solana-jwt-react' that implements a dApp that uses a JWT-protected endpoint and overrides the 'fetch' function in commitmentOrConfig to pass in a Bearer Auth token retrieved from a JWT auth server
  • an example JWT auth server that can be used as a test endpoint to generate JWTs for testing (as long as the solana endpoint is configured to use the public_pem that it uses)
  • fixed the wallet-connect project Id references to accept an env var REACT_APP_WALLET_CONNECT_PROJECT_ID

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.

None yet

2 participants