Skip to content

RPC authentication examples#16

Open
mikedotexe wants to merge 4 commits intonear-examples:mainfrom
fastnear:rpc-auth-example
Open

RPC authentication examples#16
mikedotexe wants to merge 4 commits intonear-examples:mainfrom
fastnear:rpc-auth-example

Conversation

@mikedotexe
Copy link
Copy Markdown

Various RPC/API services are available for NEAR now, like Lava and FastNear.

I cannot speak for Lava, but it's likely similar in nature to FastNear. There are two ways to authenticate:

  • URL param (?apiKey=<api_key>)
  • Header for auth Bearer token

This pull request shows how to use this authentication and will likely help people understand how to build dApps and backend services that can connect for high throughput queries and transactions through NEAR RPCs.

@mikedotexe
Copy link
Copy Markdown
Author

Happy to answer any questions or concerns

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.

2 participants