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

Integrate Nitro node to make payments for RPC requests #4

Merged
merged 4 commits into from
Oct 3, 2023

Conversation

nikugogoi
Copy link
Collaborator

@nikugogoi nikugogoi commented Sep 27, 2023

Part of cerc-io/watcher-ts#416

  • Use custom transport in network config for updating RPC endpoint URL
  • Add PaymentService which uses Nitro node
  • Make payments only for eth_getLogs RPC requests
  • Following TODOs will be addressed in follow on PRs:
    • Implement a custom transport to change query params when making requests
    • Get Nitro channel amounts from config
    • Debug utils.createPeerAndInit method not working

@nikugogoi nikugogoi self-assigned this Sep 27, 2023
@nikugogoi nikugogoi changed the base branch from main to laconic October 3, 2023 04:48
@nikugogoi nikugogoi changed the title [WIP] Integrate Nitro node to make payments for RPC requests Integrate Nitro node to make payments for RPC requests Oct 3, 2023
@ashwinphatak ashwinphatak merged commit 6fa5d3a into laconic Oct 3, 2023
@ashwinphatak ashwinphatak deleted the paid-eth-rpc branch October 3, 2023 06:40
nikugogoi added a commit that referenced this pull request Oct 9, 2023
* Use custom transport to update URL with payment voucher

* Integrate nitro-node to make payments

* Make payments only for eth_getLogs RPC requests

* Add comments
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