Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A library built for azira application to make it easier for users to subscribe to crypto tokens and continuously receive data in near real-time
AziraClient is a compreshensive libraru built on top of Azira a service grants users the ability to subscribe and receive crypto tokens data in near real-time. A possible use case for this is when you need to build bots that sends you real-time updates or applications that continuously needs real-time updates about a particular crypto token.
To install AziraClient, run the following command:
``pip install aziraclient``
Here's a quick example to get you started:
from aziraclient.auth.auth_client import AuthClient
from aziraclient.subscription.subscription import SubscribeToToken
# User authentication
"""
base_url: url where your server application is running.
"""
auth_client = AuthClient(base_url="http://localhost:8000")
auth_client.register_user("username", "password")
auth_client.login_user("username", "password")
# WebSocket subscription
"""
username: name of what you registered with
jwt_token: would be returned upon successful login.
action: "subscribe" or "unsubscribe"
token_name: name of token to subscribe to.
url: ipaddress / url address of the server
"""
tester = SubscribeToToken("username", "jwt_token", "action", "token_name", "localhost:8000")
tester.test_connection()
Handles user registration and login, managing JWT tokens for secure access.
Manages WebSocket subscriptions, allowing users to subscribe or unsubscribe from specific tokens.
Provides tools for testing and interacting with ZeroMQ message bus streams.
Refer to example_usage.py
for detailed examples on how to use each module.
Contributions to aziraclient are welcome! Please read our contributing guidelines for details on how to submit pull requests, report issues, or request features.
Here are things I need to do to improve this. At the moment this package only works with this project. Azira
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A library built for azira application to make it easier for users to subscribe to crypto tokens and continuously receive data in near real-time
We found that aziraclient demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.