berachain / offchain-sdk Goto Github PK
View Code? Open in Web Editor NEWA framework for building off-chain services for EVM chains
License: MIT License
A framework for building off-chain services for EVM chains
License: MIT License
Retry/re-create the subscription in the job_manager for subscribing jobs to the after some time of a stale subscription. Useful when for ex: eth subscription to certain filtered logs, but no logs for a long time, "slow subscribers" will get dropped by the RPC node.
Currently, in the case where a node’s mempool has queued txs for the account (on-startup) but no pending txs, the next tx is sent on top of the queued txs
Solution: Send the next tx with the pending nonce, rather than following the queued,
so we can plug in data dog but don't kill prometheus
On restart, should check mempool to see if any tx is stuck as pending, in which case the next tx should be sent on the same nonce with a gas bump.
Implement w3 for a BatchClient that supports easy batch calls. Will reduce network overhead for applications that make eth_calls, etc. often
If switching between, multiple RPC endpoints, will break invariants held by Transactor.
Add detailed comments to each function describing its purpose, parameters, return values, and potential side effects. This enhances readability and helps other developers understand how to interact with the interface.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.