Skip to content

mubarizkyc/vulacana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulacana

When you want to ensure that your transaction is processed, you can send the same request to multiple providers and let the validators determine which one arrives first. Keep in mind that some RPC methods work with certain providers while others do not, but you can pass this information along.

Since all RPC providers can experience issues, sol-shotty helps you get faster responses when a specific RPC provider is slow or completely down, without requiring any reconfiguration!

Running

cargo run

Example

curl -X POST http://localhost:3000/ \
    -H "Content-Type: application/json" \
    -d '{ "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": ["CiNrZRUGGMpMjGKcNZ1QmedTiQ5RUzkyz2V6mTPkzT3C"] }'

You can use free as well as paid RPC providers

Configure

put your rpc endpoints in config.yaml

endpoints:  
- https://api.mainnet-beta.solana.com  
use_cluster_nodes: false
client_timeout: 10 

Popular Providers Helius. HelloMoon. BlockDaemon.

About

Solana Response Aggregator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages