@anchor-protocol/crossanchor-sdk
v0.1.3-40
Published
TypeScript SDK for working with cross-chain Anchor.
Downloads
500
Keywords
Readme
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 fromanchor-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
'sreadable-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.