Is there a particular library/SDK you recommend for integration into a node js environment?

Created by Sourajyoti Gupta, Modified on Fri, 28 Jul 2023 at 07:28 PM by Sourajyoti Gupta

Using PoS Bridge to transfer your assets from Ethereum to Polygon and vice versa then we recommend you to use the maticjs sdk as it makes it easier for the developers to interact with various components of Matic Network. (link to doc).

Using fx-portal to transfer your assets from Ethereum to Polygon and vice versa then we recommend you to use the maticjs-fxportal sdk, it is basically a FxPortal bridge plugin for maticjs and it provides FxPortalClient to interact with fxportal bridge. (link to doc).

In other general use cases, when you want to interact with any smart contract deployed on any chain we'd recommend you to either use ethersjs or web3js.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article