@delphi-labs/shuttle

中文文档
4.3.0发布于 2025/06/03MITTypeScriptESM + CJS近 30 天下载 1.2万

Shuttle is open-source npm package designed to turn wallet connections into a plug-and-play Lego brick for Cosmos Dapps.

原始使用文档
文档目录11 节
  1. Docs
  2. How to get started
  3. Install
  4. Use
  5. How to develop
  6. Install
  7. Test
  8. Prettier
  9. Lint
  10. Build
  11. Publish

Shuttle (Core)

NPM version Build npm-typescript License

Shuttle is an open-source npm package designed to turn wallet connections into a plug-and-play Lego brick for Cosmos dApps.

Docs

You can check out the documentation for more information.

How to get started

Install

npm install @delphi-labs/shuttle

Use

This is the core package of Shuttle, contains all the raw logic for connecting to wallets. If you want to use Shuttle in your dApp, you should use one of the framework-specific packages:

  • @delphi-labs/shuttle-react
  • @delphi-labs/shuttle-vue

How to develop

Install

pnpm install

Test

pnpm run test

Prettier

pnpm run prettier

Lint

pnpm run lint

Build

pnpm run build

Publish

pnpm publish

版本与发布记录

@delphi-labs/shuttle 共发布 133 个版本,首次发布于 2022/11/18;过去 12 个月发布了 0 个版本。

版本发布日期距今
4.3.0latest2025/06/031.4 年前
4.2.02025/03/141.7 年前
4.1.02025/01/251.8 年前
4.0.12025/01/241.8 年前
4.0.02025/01/241.8 年前
3.30.02025/01/241.8 年前

关于 @delphi-labs/shuttle 的常见问题

@delphi-labs/shuttle 是什么?

Shuttle is open-source npm package designed to turn wallet connections into a plug-and-play Lego brick for Cosmos Dapps.

如何安装 @delphi-labs/shuttle?

在项目目录运行 npm install @delphi-labs/shuttle,或使用 pnpm add / yarn add / bun add。

@delphi-labs/shuttle 支持 TypeScript 吗?

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

@delphi-labs/shuttle 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@delphi-labs/shuttle 可以商用吗?

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

@delphi-labs/shuttle 的下载量有多少?

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

@delphi-labs/shuttle 还在维护吗?

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