@0xkilo/axe-sdk 中文文档教程

发布于 3年前 浏览 36 更新于 3年前

AxelarJS SDK

Coming soon

axelarjs-sdk nodejs 存储库目前是私有的,只能使用 NPM 令牌访问。 回购将很快公开。

Overview

AxelarJS SDK 使开发人员能够从其前端使用 Axelar 网络进行跨链传输。

Example use case: asset transfer

AxelarJS 支持跨 Axelar 支持的任何区块链传输加密资产。

目前支持的资产和链:

Supported AssetsSupported Blockchain Networks
  • AXL (Axelar native token)
  • LUNA (Terra native token)
  • UST (Terra stablecoin)
  • Avalanche
  • Axelar
  • Ethereum
  • Fantom
  • Moonbeam
  • Polygon
  • Terra

Axelar未来会不断增加对新资产和链的支持。

Technical overview

AxelarJS SDK 是一个 npm 依赖项,其中包括向 Axelar 网络发出请求的库。

Architecture diagram

来自 JS SDK 的任何请求都通过节点 REST 服务器路由,该服务器通过 Axelar 控制的协调微服务集合重定向请求。

这些微服务促进了在 Axelar 网络之上运行的跨链交易的中继。

Demo

查看 AxelarJS 的实际应用:deposit-address-demo

AxelarJS is under active development

AxelarJS 正在积极开发中。 API 可能会更改。 请确保您从这个 repo post issues 中提取最新的到 Github。

Security mesures

AxelarJS 采用安全措施来保护我们的服务免遭滥用。 目前,每次调用 getDepositAddress 都需要前端用户连接到 Web3 钱包并使用一次性代码签署一条消息。 对 API 的调用也有速率限制。

Contribute

欢迎使用 Github 问题和请求请求!

TODO clarify the following

在本地运行这个 repo:

git clone git@github.com:axelarnetwork/axelarjs-sdk.git
cd axelarjs-sdk
npm install
npm run build
npm link # link your local repo to your global packages
npm run dev # build the files and watch for changes

AxelarJS SDK

Coming soon

The axelarjs-sdk nodejs repo is currently private and can be accessed only with a NPM token. The repo will be made public shortly.

Overview

The AxelarJS SDK empowers developers to make cross-chain transfers using the Axelar network from their frontend.

Example use case: asset transfer

AxelarJS enables the transfer of crypto assets across any blockchain supported by Axelar.

Currently supported assets and chains:

Supported AssetsSupported Blockchain Networks
  • AXL (Axelar native token)
  • LUNA (Terra native token)
  • UST (Terra stablecoin)
  • Avalanche
  • Axelar
  • Ethereum
  • Fantom
  • Moonbeam
  • Polygon
  • Terra

Axelar will continue to add support for new assets and chains in the future.

Technical overview

The AxelarJS SDK is a npm dependency that includes libraries that make requests into the Axelar network.

Architecture diagram

Any request from the JS SDK is routed through a node REST server that redirects requests through a coordinated collection of microservices controlled by Axelar.

These microservices facilitate the relay of cross-chain transactions that run on top of the Axelar network.

Demo

See AxelarJS in action: deposit-address-demo

AxelarJS is under active development

AxelarJS is under active development. The API might change. Please ensure you pull the latest from this repo post issues to Github.

Security mesures

AxelarJS employs security measures to protect our services from abuse. Currently every invocation of getDepositAddress requires frontend users to connect to a Web3 wallet and sign a message with a one-time code. Invocations to the API are also rate limited.

Contribute

Github issues and pull requests are welcome!

TODO clarify the following

Run this repo locally:

git clone git@github.com:axelarnetwork/axelarjs-sdk.git
cd axelarjs-sdk
npm install
npm run build
npm link # link your local repo to your global packages
npm run dev # build the files and watch for changes
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文