Polywrap is a developer tool that enables easy integration of Web3 protocols into any application. It makes it possible for applications on any platform, written in any language, to read and write data to Web3 protocols.
Polywrap is in pre-alpha, meaning our code and documentation are rapidly changing.
Polywrap is a recent rebrand of Web3API. While using the toolchain, you'll notice that
w3 is still used - we will be updating these soon!
|Compatibility & maintainability||Wrappers can run in any type of environment, meaning you only have to program your SDK once. This will save developers an immense amount of time.||JS-based SDKs can only run in JS-based apps. This is huge problem for developers building apps in other languages. Supporting new types of apps requires writing and maintaining an entirely new SDK.|
|Easy of use||Developers interact with Polywrap through simple GraphQL, making them as easy to use as Web2 APIs like Twitter's.||Developers must learn how to instantiate classes, and call into the various methods and functions the JS SDK provides.|
|Upgrades & patches||Since wrappers are resolved at runtime, this allows for optional automatic updates if the dapp is querying an updatable URI (such as an "ENS" domain).||Since JS SDKs are bundled into applications, when new patches or features are released, the application must be rebuilt with the latest version. If breaking backend (smart contract) upgrades are performed, this would render the application broken until you rebuild with the latest SDK.|
If you're looking to learn in detail what makes integrating with Polywrap special: Getting started.
If you're a looking to integrate wrappers into your dapp: Create JS dapp guide.
If you're a protocol team or individual who wants to build your own wrapper: Create a wrapper guide.