Part of https://www.notion.so/Laconic-Mainnet-Plan-1eca6b22d47280569cd0d1e6d711d949 Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #2 Co-authored-by: shreerang <shreerang@noreply.git.vdb.to> Co-committed-by: shreerang <shreerang@noreply.git.vdb.to> |
||
|---|---|---|
| docs | ||
| stack | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| cache_policy.py | ||
| cache.py | ||
| Dockerfile | ||
| errors.py | ||
| http_proxy.py | ||
| main.py | ||
| normalizer.py | ||
| providers.py | ||
| pyproject.toml | ||
| README.md | ||
| router.py | ||
| test_e2e.py | ||
| ws_proxy.py | ||
Solana Proxy
Setup
-
Copy
.env.exampleto.env:cp .env.example .env -
The proxy will work without making any changes to the
.envfile but you can optionally set the API keys for different providers
Run
-
Start the proxy:
python3 main.py -
This will start the proxy with,
- RPC endpoint at: http://0.0.0.0:8545
- WS endpoint at: ws://0.0.0.0:8545/ws