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

Adding support for batching JSON-RPC requests. #66

Open
Chengxuan opened this issue Jun 26, 2024 · 0 comments
Open

Adding support for batching JSON-RPC requests. #66

Chengxuan opened this issue Jun 26, 2024 · 0 comments

Comments

@Chengxuan
Copy link
Contributor

Batching JSON-RPC request is an efficient way to reduce the overhead of HTTP communication.

The batching syntax are documented in https://www.quicknode.com/guides/ethereum-development/transactions/how-to-make-batch-requests-on-ethereum

An example batching implementation can be found https://github.com/hyperledger/firefly-transaction-manager/blob/1ac00b5eb37664d73abebd8822ae8439cef3f4bc/internal/persistence/postgres/transaction_writer.go#L79

I think we should use this chance to pull out the batching logic as a library in firefly-common as well.

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