
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@hashflow/market-maker
Advanced tools
Javascript library to facilitate interactions with Hashflow backend and smart contracts for market makers
Typescript library which exposes the hashflow market maker APIs
All necessary functions are exposed through the HashflowMaker
object. This API object takes the following arguments to its constructor:
MakerEngine
which defines the configuration, pricing strategy, and callback to handle trade confirmation. See next section.'staging'
for connecting to the non-production API. By default, this is set to 'production'
.WinstonLogger
for log messages.Once the HashflowMaker
has been constructed, it will connect to the API, publish price levels, and
respond to RFQs.
You must provide a MakerEngine
instance operate the maker. See the jsDoc in the MakerEngine
interface definition and the tests in HashflowMaker.test.ts
for details on how to build your MakerEngine
.
We also expose quote hashing functionality directly, so you can use that within your own API client. The function
getQuoteHash
, given an RFQ and an unsigned Quote, will return the hash which must be signed with SECP256K1 to
create the quote signature.
FAQs
Javascript library to facilitate interactions with Hashflow backend and smart contracts for market makers
The npm package @hashflow/market-maker receives a total of 17 weekly downloads. As such, @hashflow/market-maker popularity was classified as not popular.
We found that @hashflow/market-maker demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.