Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A library for using HTTP and SOCKS5 proxies with solana
clients
The library provides Client
and AsyncClient
classes, which override the initialization of the original classes. Apart from these two classes, the library does not offer any additional features, and in all other cases, the original solana
library, included as part of the installation package, should be used.
pip install solana-proxy
Depencies: solana, httpx, httpx-socks, proxystr
from solana_proxy import Client
RPC_URL = 'https://api.mainnet-beta.solana.com'
client = Client(RPC_URL, proxy='login:password@ip:port') # or 'socks5://login:password@ip:port'
client.is_connected()
...
client.close()
Client
and AsyncClient
take proxy in any popular format because they use proxystr
lib. Also they take a Proxy
obj from that lib.
import asyncio
from solana_proxy import Client, AsyncClient
RPC_URL = 'https://api.mainnet-beta.solana.com'
PROXY = 'login:password@ip:port' # or 'socks5://login:password@ip:port'
with Client(RPC_URL, proxy=PROXY) as client:
client.is_connected()
async def is_connected():
async with AsyncClient(RPC_URL, proxy=PROXY) as client:
return await client.is_connected()
Developed by MrSmith06
: telegram | gtihub
If you find this project helpful, feel free to leave a tip!
0x6201d7364F01772F8FbDce67A9900d505950aB99
FAQs
A library for using HTTP and SOCKS5 proxies with solana clients
We found that solana-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.