@anchor-protocol/crossanchor-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.3-40 • Public • Published

Crossanchor-sdk

TypeScript SDK for accessing Cross-chain Anchor APIs.

Development setup

As the library is hosted in a private github repo, and hence not published to npm, development and setup has to be done locally.

Perform the setup using the below steps:

  • Clone the repo on the same level as anchor-web-app project.
  • Link crossanchor-sdk as local dependency from anchor-web-app project.
    • ~/anchor-web-app/npm link ../crosssanchor-sdk should do it.
    • Your package.json should show a newly added dependency similar to "@crossanchor/sdk": "portal:${user}/crossanchor-sdk".
  • ~/anchor-web-app/yarn install
  • If configured, remove vite's readable-stream override. @certus-one/wormhole-sdk doesn't fit well with browser stream pollyfills.
      'readable-stream': 'vite-compatible-readable-stream/readable-browser.js',

TODO:

  • Complete readme.

Readme

Keywords

none

Package Sidebar

Install

npm i @anchor-protocol/crossanchor-sdk

Weekly Downloads

3

Version

0.1.3-40

License

Apache-2.0

Unpacked Size

709 kB

Total Files

287

Last publish

Collaborators

  • terra-devops
  • radzionchachura
  • amitpr
  • mandrean
  • simke9445
  • cosullivan
  • hanjukim
  • kjessec