skynetcap / solanaj

Solana RPC client written in Java
MIT License
94 stars 50 forks source link

how do use proxy #31

Closed printhellow closed 2 months ago

printhellow commented 8 months ago

how do use proxy in RpcClient?

liuruibin1 commented 7 months ago

Override RpcClient Call like this: RpcClientProxy client = new RpcClientProxy(true, Cluster.MAINNET);

liuruibin1 commented 7 months ago

refer to:https://github.com/liuruibin1/solanaj/blob/main/src/main/java/org/p2p/solanaj/rpc/RpcClientProxy.java

skynetcap commented 2 months ago

SOCKS proxy support added in 1.18-staging