0.0.1 • Published 3 years ago

@fibswap2021/nxtp-sdk v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

SDK

TLDR

Video Walkthrough

If even this looks like too much reading, video walkthrough of the code can be found here.

High level Overview

  1. Setup
  • connects to Messaging server
  • run check active transfer
  • if active transfer, then returns the data for the respective digest
  1. Auction
  • get best quote offered by router
  1. 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

  1. Messaging Server: Used to communicate run Auction & communicate with Router.