@fibswap2021/nxtp-sdk
v0.0.1
Published
Client-side package for interacting with the NXTP protocol for crosschain packages
Readme
SDK
TLDR
Video Walkthrough
If even this looks like too much reading, video walkthrough of the code can be found here.
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
prepareevent by bob - router prepares on chainB
- bob receives and validate the
prepareevent by router - bob broadcast the signature
- router
fulfillon chainA - router
fulfillon chainB
FAQ
- Messaging Server: Used to communicate run Auction & communicate with Router.
