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.
Standardized common API for several cryptocurrency exchanges. Cryptotik is python3 compatible collection of cryptocurrency exchange wrappers. Main goal of cryptotik is to deliver unified common interface to some of the most popular cryptocurrency exchanges, cryptotik accomplishes that by standardizing names of the methods and expected inputs and outputs.
pip install cryptotik
or latest development version:
pip install git+git://github.com/indiciumfund/cryptotik.git
Exchange | API | Public Methods | Private Methods | Normalized Private | Normalized Public | Tests |
---|---|---|---|---|---|---|
www.binance.com | Done | Done | Done | TODO | Done | Done |
bitkonan.com | Done | Done | TODO | TODO | TODO | TODO |
www.bitstamp.net | Done | Done | Done | TODO | Done | Done |
bittrex.com | Done | Done | Done | TODO | Done | Done |
www.cryptopia.co.nz | Done | Done | Done | TODO | Done | Done |
hitbtc.com | Done | Done | Done | TODO | Done | Done |
www.kraken.com | Done | Done | Done | TODO | Done | Done |
poloniex.com | Done | Done | Done | TODO | Done | Done |
therocktrading.com | Done | Done | Done | TODO | Done | Done |
Right now library supports: Poloniex.com, Bitstamp.com, Kraken.com Bittrex.com, Binance, TheRockTrading, HitBtc, Bitkonan with elementary support for Livecoin. Library supports other useful features like wrapper around Coinmarketcap.com's public API.
from cryptotik import Wex, Bittrex, Poloniex
You only need to learn commands once, for example get_markets
will work anywhere:
Bittrex().get_markets()
Poloniex().get_markets()
Binance().get_markets()
and will yield similar results. However parsing and interpreting them is left to user.
Poloniex().get_market_order_book("btc-nxt")
Bittrex().get_market_depth("btc-maid")
Binance().get_market_ticker('etc-eth')
Library also supports private API methods for Poloniex, Binance, Bitstamp, Kraken, TheRockExchange, Bittrex, Wex and some others. To use them you need to make class instance though with your API credentials.
polo = Poloniex(yourkey, yoursecret)
polo.get_balances()
polo.withdraw(<coin>, <amount>, <address>)
Same goes for Bittrex:
btrx = Bittrex(yourkey, yoursecret)
btrx.get_balances()
btrx.withdraw(<coin>, <amount>, <address>)
cd test
pytest bittrex_test.py --apikey=<APIKEY> --secret=<APISECRET>
pytest poloniex_test.py --apikey=<APIKEY> --secret=<APISECRET>
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Standardized common API for several cryptocurrency exchanges.
We found that cryptotik 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.