ISC License

项目介绍

verida/verida-js 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 ISC License 许可证,目前获得 1.3k 个 Star、36 次 Fork。

仓库全名
verida/verida-js
开源许可证
ISC License
Star 数
1.3k
Fork 数
36
未关闭 Issue
92

README 摘要

Verida Typescript Library This monorepo contains Verida Client Library and a variety of utility packages that support that library. There is a React Native repository that maintains a slightly modified version of the Verida Client Library that is used to generate the @verida/client-rn package. Packages These are the main packages you are likely to use: client-ts: Verida client library. Install this library in your…

完整内容见 GitHub 原始 README 或本页 。

常见问题

verida-js 用什么语言开发?

主要使用 TypeScript 编写,采用 ISC License 许可证,目前有 1.3k 个 Star。

verida-js 可以免费商用吗?

仓库采用 ISC License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 verida-js 的源码?

可以直接克隆仓库:git clone https://github.com/verida/verida-js.git;安装与运行步骤见仓库 README。

verida-js 最近还在维护吗?

仓库最近一次更新为 2025年4月15日,当前有 92 个未关闭 Issue;Star 数为 1.3k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

The Verida SDK provides several SDKs to interact with the Verida Network

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2644
价值分
906
活跃状态
活跃

README

Verida Typescript Library

This monorepo contains Verida Client Library and a variety of utility packages that support that library.

There is a React Native repository that maintains a slightly modified version of the Verida Client Library that is used to generate the @verida/client-rn package.

Packages

These are the main packages you are likely to use:

  • client-ts: Verida client library. Install this library in your project to add support for the Verida protocol.
  • account-web-vault: Create a Verida network connection that uses a QR code and the Verida Vault to sign authentication requests. Use this for your web application.
  • account-node: Create an instance of a Verida account using a private key or seed phrase. Automatically signs all authentication requests. Use this for NodeJS server side applications or React Native applications.

These are helper packages that typically aren’t used directly:

  • account: Common code shared amongst the various account-xxx implementations
  • encryption-utils: Encryption utilities to make using tweetnacl a bit easier
  • keyring: Keyring for managing asym, sym and signing keys for a given account context
  • storage-link: Utilities to help linking storage endpoint information to a Verida account

Developer Notes

Node Version

This requires node v18 (lts/hydrogen) to build. We use nvm to manage this:

nvm install lts/hydrogen
nvm use # this uses the .nvmrc file

Linking dependencies

It’s not possible to add dependencies between monorepo packages using yarn (ie: yarn add @verida/encryption-utils) if that package hasn’t been published to npm.

Unpublished dependencies between monorepo packages can be linked by:

  • Manually adding the expected dependency to package.json (ie: @verida/encryption-utils)
  • Run yarn install in the root directory of this project

Building

Build all packages:

In the root directory:

yarn install
npx lerna run build

To build a specific package:

  • cd package/package-name
  • yarn
  • yarn build

Creating a release

Update all the CHANGELOG.md files in each package to include entries for all the changes made since the last release.

$ npx lerna run build
$ npx lerna publish --dist-tag next

Use tag next for an upcoming release or latest for the latest version.

评论

暂无评论