@1inch/limit-order-protocol-utils

中文文档
4.0.1发布于 2024/03/25MITTypeScriptCommonJS近 30 天下载 4.3万

Utility for limit order protocol

原始使用文档
文档目录6 节
  1. Docs
  2. Smart contract addresses
  3. Installation
  4. Test coverage
  5. Contributing
  6. Changelog

Utils library for 1inch Limit Orders Protocol V4

example branch parameter NPM Downloads NPM License

This is the package of utilities for working with the 1inch Limit Orders Protocol

You can find general overview and docs on 1inch limit orders protocol here.

Docs


Smart contract addresses


Installation

npm install @1inch/limit-order-protocol-utils
# or
yarn add @1inch/limit-order-protocol-utils

Note

@1inch/limit-order-protocol package is now used for smart contract distribution and no linger contains this library.



Test coverage

StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

Contributing

See CONTRIBUTING.md

Changelog

See CHANGELOG.md

版本与发布记录

@1inch/limit-order-protocol-utils 共发布 48 个版本,首次发布于 2022/10/11;过去 12 个月发布了 0 个版本。

版本发布日期距今
4.0.1latest2024/03/252 年前
4.0.38-alpha2024/03/222 年前
4.0.36-alpha2024/03/212 年前
4.0.37-alpha2024/03/212 年前
4.0.35-alpha2024/03/182 年前
4.0.34-alpha2024/03/182 年前

其他发布通道:beta → 0.0.1。

关于 @1inch/limit-order-protocol-utils 的常见问题

@1inch/limit-order-protocol-utils 是什么?

Utility for limit order protocol

如何安装 @1inch/limit-order-protocol-utils?

在项目目录运行 npm install @1inch/limit-order-protocol-utils,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 limit-order-rfq-utils,可以用 npx limit-order-rfq-utils 直接运行。

@1inch/limit-order-protocol-utils 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@1inch/limit-order-protocol-utils 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@1inch/limit-order-protocol-utils 可以商用吗?

@1inch/limit-order-protocol-utils 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@1inch/limit-order-protocol-utils 的下载量有多少?

根据 npm 官方下载统计,@1inch/limit-order-protocol-utils 在 2026/10/05 – 2026/11/03 这 30 天内被下载 42,769 次,日均约 1,426 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@1inch/limit-order-protocol-utils 还在维护吗?

最新版本 4.0.1 发布于 2024/03/25(2 年前);至今共发布 48 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/10/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。