weeaa / jito-go Goto Github PK
View Code? Open in Web Editor NEW๐ช Jito Go SDK [unnoficial]
Home Page: https://www.jito.wtf
License: Apache License 2.0
๐ช Jito Go SDK [unnoficial]
Home Page: https://www.jito.wtf
License: Apache License 2.0
in searcher.go
if err = c.handleBundleResult(bundleResult); err != nil {
return nil, err
}
var statuses *rpc.GetSignatureStatusesResult
statuses, err = c.RpcConn.GetSignatureStatuses(ctx, false, bundleSignatures...)
if err != nil {
return nil, err
}
for _, status := range statuses.Value {
if status.ConfirmationStatus != rpc.ConfirmationStatusProcessed {
return nil, errors.New("searcher service did not provide bundle status in time")
}
}
I tested the transfer operation using the Send Bundle
method in the example, but returned an error
Panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc000000 5 code=0x0 addr=0x0 pc=0x172496e]
After inspection, it was found that the status.Value
may be nil
or rpc.ConfirmationStatusConfirmed
an error in my call. resulting in the returned resp being nil
๏ผHow can I obtain the tx_hash for this transaction
Could you add an example to subscribe to geyser? Thanks
// max per bundle is 5 transactions
txns := make([]*solana.Transaction, 0, 5)
Hey, is it possible to subscribe to program updates? If not, when is this feature going to be added?
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.