The Hop Protocol v1 TypeScript SDK
https://sdk-demo.hop.exchange/
pnpm --filter @hop-protocol/sdk... install
<script src="https://cdn.jsdelivr.net/npm/@hop-protocol/sdk@latest/hop.js"></script>
<script src="https://unpkg.com/@hop-protocol/sdk@latest/hop.js"></script>
For getting started and examples, see docs.hop.exchange/v/developer-docs/js-sdk/js-sdk
For sdk API reference, see sdk-docs.hop.exchange
Install dependencies
pnpm install
Run build watcher
pnpm run dev
Build sdk
pnpm run build
Generate documentation
pnpm run docs
The markdown API reference docs are generated in docs/
. There's is also a generated website for API reference the docs at docs-ui/
.
pnpm test