Giter VIP home page Giter VIP logo

solanarpcclient's Introduction

Hi there ๐Ÿ‘‹

C++ engineer currently working in medical devices

solanarpcclient's People

Contributors

bgreni avatar

Watchers

 avatar

solanarpcclient's Issues

Fix websocket connections to Solana rpc cluster

For some reason the Solana rpc cluster rejects my wss connection on port 443 (which works just fine with Helius rpc's), and I can't for the life of me figure it out.

Creating this ticket to reflect the existence of this problem, and for obvious reasons will need to be fixed for MVP.

Improve/Complete the api for TransactionBuilder

I have yet to finalize the api for versioned transactions in TransactionBuilder. I don't necessarily want to mirror the way it's done in web3.js, but I've yet to decide on preferable solution

Sporadic poor performance on websocket connections

Read throughput performance on websocket connections is sometimes extremely poor.

Using "onLogs" with the "all" option (which produces hundreds of notifications a second usually) sometimes only ~50 messages will be processed within a 5 second period. The nature and inconsistency of the issue points to a threading/resource contention issue most likely.

This will likely require a high amount of effort to resolve, and only affects high throughput subscriptions so I won't fix it immediately, but creating this ticket to reflect its existence, and to remind myself to fix it later if it persists after the feature is further stabilized.

Add "Confirm Transaction" functionality

Being able to wait on the result of a transaction is a critical piece of functionality. Based on my inspection of the web3.js code. They implement it roughly as follows.

  • Open a websocket connection to listen for changes in the signature status
  • Send a request to the rpc method in case the transaction has already reached the desired finality and cancel the subscription if so
  • Return the result of the operation

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.