| Crates.io | singlerpc |
| lib.rs | singlerpc |
| version | 0.1.1 |
| created_at | 2025-09-17 20:55:34.929148+00 |
| updated_at | 2025-09-17 20:55:34.929148+00 |
| description | Robust, blazing-fast single RPC for multiple chains with smart load balancing, health checks, continuous retries, and per-request timeouts built in. |
| homepage | https://iamkunal9.github.io/singlerpc/ |
| repository | https://github.com/iamkunal9/singlerpc |
| max_upload_size | |
| id | 1843882 |
| size | 70,632 |
.__ .__ _____________________________
_____|__| ____ ____ | | ____\______ \______ \_ ___ \
/ ___/ |/ \ / ___\| | _/ __ \| _/| ___/ \ \/
\___ \| | | \/ /_/ > |_\ ___/| | \| | \ \____
/____ >__|___| /\___ /|____/\___ >____|_ /|____| \______ /
\/ \/_____/ \/ \/ \/
iamkunal9.in
Robust, blazing-fast single RPC for multiple chains with smart load balancing, health checks, continuous retries, and per-request timeouts built in.
-t)-v/-vvcargo install --path .
singlerpc -c path/to/config.json -p 3000
# with custom timeout (seconds)
singlerpc -c config.json -p 3000 -t 10
# verbose logs: endpoints and statuses
singlerpc -c config.json -v
# very verbose: also prints upstream response body
singlerpc -c config.json -vv
Example config.json:
{
"eth-mainnet": [
"https://rpc1.example.com",
"https://rpc2.example.com"
],
"polygon": [
"https://polygon-rpc.example.com"
]
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.