Unlike in Web2, where the application logic is handled by centralized servers and through API requests, the Web3 DApps carry out the complex logic themselves.
Whereas a Web2 application only has to send an API request to a server, a Web3 DApp needs to serialize inputs, upload to IPFS, and transact with multiple smart contracts.
Web3 DApps majorly use JavaScript wrappers to handle the DApp logic. JavaScript wrappers, in turn, steeply increase the integration complexities as they lack standardization, make the DApps heavy, and are not language agnostic.
Polywrap brings in the integration standard that makes it as easy as Web2. Polywrap makes any DApp capable of executing complex logic in runtime.
Instead of using JavaScript wrappers, DApps only need the Polywrap client. A Polywrap client, integrated in a DApp, downloads lightweight WebAssembly modules from IPFS. The downloaded modules then execute requests directly inside the DApp. The modules are maintained on IPFS by the project teams behind them.
The full benefits of Polywrap are numerous and many of them are yet to be explored.
The following benefits are immediate and the most obvious:
Get in touch to start using Polywrap on Chainstack.