Symbiosis JS SDK

Symbiosis JS SDK intro, and the repository location.
Given the frequent updates to the Symbiosis JS SDK – some of which may not maintain backward compatibility – we recommend our integrators and partners prioritize using the Symbiosis API.

What is Symbiosis JS SDK

Symbiosis JS SDK is designed to provide access to the functionalities of the Symbiosis protocol.
Checklist to do before deploying to production (Mainnet)
If any of these checks fail, you put the assets of your users at risk. Therefore, you must not go to Mainnet with real assets and real users. This could result in the loss of your users' assets.
  1. 1.
    You approve users’ ERC20 tokens only for one contract, and this contract is metaRouterGateway on each blockchain. You can check the addresses of the contracts for all blockchains supported by Symbiosis protocol V2 in this configuration.
  2. 2.
    All contracts you use in your software exist on the corresponding blockchains, and their addresses on each blockchain correspond to the addresses in this configuration.
  3. 3.
    You do not modify, reuse, or cash the calldata you get by calling methods of the Symbiosis SDKs and API.
  4. 4.
    After deployment to Mainnet, run at least one transaction.
Please do these checks for the initial deployment AND each software update.

Understanding the Symbiosis Protocol

The most crucial parts for understanding the Symbiosis protocol are: