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

Add support for URIs in the RPC spec #2

Open
linuskendall opened this issue Nov 23, 2024 · 1 comment
Open

Add support for URIs in the RPC spec #2

linuskendall opened this issue Nov 23, 2024 · 1 comment

Comments

@linuskendall
Copy link
Contributor

Helius' has proposed support for URLs in the RPC call.

A sample JSON payload would be:
https://helius-docs.s3.us-east-2.amazonaws.com/offchain_send_config_sfdp_rejects.json

@linuskendall linuskendall changed the title Add support for URIs in the Add support for URIs in the RPC spec Nov 23, 2024
@linuskendall
Copy link
Contributor Author

linuskendall commented Nov 23, 2024

I see a few benefits and drawbacks of this approach:

  • For more web2 oriented apps this is a more familiar approach than using an account on chain
  • Does not require the maintenance of a program on chain (multisig etc.)

Drawbacks:

  • No discoverability (i.e. no getProgramAccounts(...))
  • Needs caching via HTTP client rather than the Solana client that anyway all the transaction senders integrate with
  • Potential for lists to be down / inaccessible (similar to an account missing on chain) or rate limited if there's a lot of requests at the same time

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

No branches or pull requests

1 participant