
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.