XP Network JS API
Work In Progress / Alpha Stage Library
The JS API library is used by the Bridge UI in the background ensuring that every line of its code is working properly.
The library was designed to help dApps seamlessly integrate the bridge functionality and use it from the frontends of the existing marketplaces or NFT based games turning them into cross-chain scalable applications.
To transfer NFTs accross networks developers have to take the following steps:
Bridging steps
- 1. Installing the library
- 2. Importing the dependencies
- 3. Getting the signer objects
- 4. Getting the Chain inner objects
- 5.1 Listing NFTs
- 6. Approving
- 7. Transferring NFTs between chains
- Minting NFTs(optional)
- Estimating the TX fee on the target chain (optional)
- ... and there's much more to come