0.0.1 • Published 3 years ago
@fibswap2021/nxtp-sdk v0.0.1
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
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.
0.0.1
3 years ago