Giter VIP home page Giter VIP logo

offchain-sdk's Introduction

offchain-sdk

A framework for building off-chain services for EVM chains.

🚧 WARNING: UNDER CONSTRUCTION 🚧

This project is work in progress and subject to frequent changes as we are still working on wiring up the final system. It has not been audited for security purposes and should not be used in production yet.

  graph TD;
      PROC1-->POOL;
      PROC2-->POOL;
      PROC3-->POOL;
      POOL-->EXEC1;
      POOL-->EXEC2;
      POOL-->EXEC3;
Loading

offchain-sdk's People

Contributors

brickbera avatar calbera avatar dependabot[bot] avatar gordonbear avatar hunter-bera avatar itsdevbear avatar ocnc avatar transmissions12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

offchain-sdk's Issues

feat: Improve connection pool robustness

  • add how far behind (latest block height) syncing check amongst healthy clients
  • use priority queue to store most up-to-date client as the highest priority
  • also allow optionally choosing a sticky connection to a configured client

Transactor restart edge case

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.

Document Functions Thoroughly:

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.

Transactor needs to better handle queued txs

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,

artio.bex.berachain.

artio.bex.berachain. t
Снимок экрана от 2024-06-06 15-00-43
ransactions freeze during exchange from Rabbit wallet/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.