Closed TateB closed 7 months ago
adds ccipRequest func which is exported from /utils
ccipRequest
/utils
ccipRequest removes the universal-offchain-unwrapper requirement from the universal resolver contract, and replaces it with local logic that unwraps ccip-read requests.
can be used like so:
const chain = addEnsContracts(mainnet) const publicClient = createPublicClient({ chain, transport: http(), ccipRead: { request: ccipRequest(chain), }, })
Issues 1 New issue 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 8.2% Duplication on New Code
See analysis details on SonarCloud
adds
ccipRequest
func which is exported from/utils
ccipRequest
removes the universal-offchain-unwrapper requirement from the universal resolver contract, and replaces it with local logic that unwraps ccip-read requests.can be used like so: