What is Polywrap?
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.
Have questions or want to get involved? Join our Discord or open an issue on our GitHub repo.
#Web3 protocol integration
#What's inside a Polywrap Wasm wrapper?
A Polywrap Wasm "wrapper" consists of the following files:
- A Wasm module containing the protocol's business logic functions (e.g. Uniswap's swap functions)
- Wrap Manifest file that orchestrates the wrapper, and provides types and parameters for the module functions
#Where is it deployed?
We currently support deploying wrappers to decentralized endpoints, Ethereum Name Service (ENS), a decentralized Ethereum-based naming system and InterPlanetary File System (IPFS), a distributed P2P file system.
You can see a list of all deployed wrappers here:
#How can apps integrate this deployed wrapper?
- The URI specifying the ENS or IPFS resolving to content containing the wrapper
- Specifying the function and arguments provided by that wrapper
For detailed information on how to integrate in apps, take a look at our Create a JS App guide.
For a guide on how to build your own Polywrap and deploy it for other developers to integrate into their own app, see our Creating a Wasm wrapper guide.