# Polywrap + NEAR Web4 ## Overview Polywrap could leverage NEAR Web4 to host Polywrap WASM through IPFS. Then Polywrap developers can use it to deploy and resolve their Wrappers. * Polywrap Developer: * Upload Wrapper to IPFS * Point NEAR Web4 Smart Contract to IPFS hash * Polywrap Client: * resolves `wrap://near/calculator.near` * performs http get call to `https://calculator.near.page/polywrap/` endpoint of smart contract * gets IPFS hash * loads wrapper from IFPS ![](https://i.imgur.com/gJwiC8N.png) Wrapper Schema code example: > ./src/schema.graphql ``` graphql #import { Module } into Calculator from "wrap://near/calculator.near" type Module { ... ``` ## SOW * Extend [Web4 Smart Contract](https://github.com/vgrichina/web4/tree/main/contract) and build Polywrap Near Web4 Smart contract with support to set and get Wrapper IPFS CID * Extend Polywrap JS Client to support NEAR resolver to be able to resolve URI like `wrap://near/calculator.near` for mainnet or `wrap://near/calculator.testnet` for testnet. * Deploy [NEAR Wrapper](https://github.com/ConsiderItDone/near-wrapper) developed by CIDT to `polywrap.cidt.near` that allows wrapper developers to build a NEAR wrapper applications * Documentation for end-to-end deployment and execution of Polywrap Wrapper ###### tags: `polywrap`, `near`