hyperledger-firefly / hyperledger-firefly/signer
Adding support for batching JSON-RPC requests.
- Dominant language
- Go
- Stars
- 14
- Forks
- 19
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
Research direction
Start by reviewing the batching implementation in internal/persistence/postgres/transaction_writer.go and the linked JSON-RPC batching documentation. Determine the intended reusable library boundary in firefly-common, then define completion as signer supporting batched JSON-RPC requests without duplicating batching logic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100