
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
https://www.bitstamp.net
using the pusher apinpm i -g yarn
yarn
yarn bitcoin
, yarn ethereum
, yarn litecoin
http://localhost:3333/
in your browserhttp://localhost:3333/
for an overviewhttp://localhost:3333/graph
(note: the front-end will always connect to any instance that is available
even if you start 3 processes you will only need to open the front-end on one of them)http://localhost:3333/graph/performance.html
http://localhost:3333/coinstreams
alt :3334 and :3335http://localhost:3333/stats
alt :3334 and :3335curl http://localhost:3333/nn/train/btceur
curl http://localhost:3334/nn/train/etheur
curl http://localhost:3335/nn/train/ltceur
./streams/${currency}.fs
, which is why you can stop
and start the process whenever you want, it will always reload data that is already stored
and continue writing to the stream file./nets/${currency}.nn
, networks are also reloaded on process start./lib/Coinpusher.js
./lib/NeuronalNetworkFactory.js
./lib/NeuronalNetwork.js
helper classinput-
and output-vectors
of the network take a look at the ETLS
object of ./lib/Coinpusher.js
./lib/SocketServer.js
./lib/Coinpusher.js
Its actually quite easy to get started:
const {Bitstamp, CURRENCY} = require("node-bitstamp");
//you can also install via npm i coinpusher or yarn add coinpusher
const {Coinpusher} = require("coinpusher"); //alt. require("./lib/Coinpusher.js");
const bitstamp = new Bitstamp({
key,
secret,
clientId
});
const cp = new Coinpusher();
cp.start(CURRENCY.BTC_EUR, 3333).then(() => {
//subscribe to the drift event (apprx. emmits every ~ 12 minutes)
//the prediction will be placed in the future apprx. ~ 9,6 minutes
//the timing are apprx. because they depend on the output vector size which is configurable
//we currently set the size to 278 and assume n seconds distance between trades e.g. 278 * 5 seconds
//the futureValue is a median value taken from the last 20% of outputs
cp.on("drift", data => {
const {
id, //uuid.v4
drift, // e.g. -12.5
timestamp, // unix seconds
currentValue, // current course value -> 3440.0
futureValue, // predicted course value -> 3452.5
timestampFormatted, //YYYY-MM-DD HH:mm:ss
currency //btceur
} = data;
//depening on the last action buy or sell you can now plan
//the next action you might make
//buy
bitstamp.buyLimitOrder(amount, price, currency, limit_price, daily_order);
//or sell
bitstamp.sellLimitOrder(amount, price, currency, limit_price, daily_order);
//obviously this requires some additional tracking of account capacity
//limit tresholds, as well as taking care of fee calculations.. etc..
});
});
More infos about the Bitstamp API client can be found here
FAQs
real-time cryptocurrency course prediction with charts front-end
The npm package coinpusher receives a total of 4 weekly downloads. As such, coinpusher popularity was classified as not popular.
We found that coinpusher demonstrated a not healthy version release cadence and project activity because the last version was released 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.