@fibswap-dex/fibswap-sdk
v0.1.8
Published
Client-side package for interacting with the NXTP protocol for crosschain packages
Downloads
15
Readme
SDK
TLDR
High level Overview
- Setup
- connects to Messaging server
- run check active transfer
- if
active transfer
, then returns the data for the respective digest
- Auction
- get best quote offered by router
- Cross Chain Transfer
- Bob prepares on chainA
- router receives the
prepare
event by bob - router prepares on chainB
- bob receives and validate the
prepare
event by router - bob broadcast the signature
- router
fulfill
on chainA - router
fulfill
on chainB
FAQ
- Messaging Server: Used to communicate run Auction & communicate with Router.