Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@generalprotocols/price-oracle
Advanced tools
Library for creating, parsing, signing and verifying PriceOracle messages.
Library for creation, parsing, signing and verifying oracle price messages according to the PriceOracle Specification.
Install the library via NPM:
# npm install @generalprotocols/price-oracle
Include the library into your project:
// Load the PriceOracle library.
const PriceOracle = require('@generalprotocols/price-oracle');
Use the provided functions:
// Create an oracle price message from parts.
let message = PriceOracle.createMessage(price, blockHeight, blockHash, sequence, timestamp);
// Parse an oracle price message into parts.
let messageParts = PriceOracle.parseMessage(message);
// Sign an oracle price message.
let signature = PriceOracle.signMessage(message, privateKeyWIF);
// Verify an oracle price message signature.
let validity = PriceOracle.verifyMessageSignature(message, signature,publicKeyBuffer);
v1.1.0
Changelog:
FAQs
Library for creating, parsing, signing, verifying and transferring PriceOracle messages.
The npm package @generalprotocols/price-oracle receives a total of 54 weekly downloads. As such, @generalprotocols/price-oracle popularity was classified as not popular.
We found that @generalprotocols/price-oracle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.