Go to file
Godmode Galactus e40c7ec61e
websockets completion of broadcasting notification and rpc service
2022-11-27 15:23:08 +01:00
src websockets completion of broadcasting notification and rpc service 2022-11-27 15:23:08 +01:00
.gitignore Initial commit, moving the project from solana to an independent repository. 2022-11-12 14:32:01 +01:00
Cargo.lock use git instead of path to git submodule 2022-11-14 07:13:48 +05:30
Cargo.toml use git instead of path to git submodule 2022-11-14 07:13:48 +05:30
LICENSE
README.md Implementing initial stages for websocket connections 2022-11-27 09:33:56 +01:00

README.md

Solana Lite RPC

This project aims to create a lite rpc server which is responsible only for sending and confirming the transactions. The lite-rpc server will not have any ledger or banks. While sending transaction the lite rpc server will send the transaction to next few leader (FANOUT) and then use different strategies to confirm the transaction. The rpc server will also have a websocket port which is reponsible for just subscribing to slots and signatures. The lite rpc server will be optimized to confirm transactions which are forwarded to leader using the same server.

Confirmation strategies

  1. Subscribing to blocks changes and checking the confirmations. (Under development)
  2. Subscribing to signatures with pool of rpc servers. (Under development)
  3. Listining to gossip protocol. (Future roadmap)

Build

cargo build

Run

  • For RPC node : http://localhost:8899,
  • Websocket : http://localhost:8900 (Optional),
  • Port : 9000 Listening port for LiteRpc server,
  • Subscription Port : 9001 Listening port of websocket subscriptions for LiteRpc server,
cargo run --bin lite-rpc --url http://localhost:8899 --websocket_url http://localhost:8900 --port 9000 --subscription_port 9001