You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having issues adding the contract ABI to the code. When I add it, the custom code is over the 10000 character limit for webflow. Is there any way to call the abi from an external source like a CDN? something like this?
I tried to just add this code with the correct user/rep@version/file and the mint button is not connecting to the contract and just sends me to the metamask website to download metamask.
The text was updated successfully, but these errors were encountered:
caffeinum
changed the title
Adding ABI
Error adding CONTRACT_ABI: Custom code is over 10000 character limit
Feb 17, 2022
remove unused parts in ABI (ABI is just an array of { ... }, you can safely remove events and onlyOwner methods, basically you only need mint, getPrice and totalSupply)
use DEFAULTS.abiCacheURL to return JSON in a format { [address]: [...abi...] }:
I am having issues adding the contract ABI to the code. When I add it, the custom code is over the 10000 character limit for webflow. Is there any way to call the abi from an external source like a CDN? something like this?
<script src="https://cdn.jsdelivr.net/gh/user/repo@version/file"></script>I tried to just add this code with the correct user/rep@version/file and the mint button is not connecting to the contract and just sends me to the metamask website to download metamask.
The text was updated successfully, but these errors were encountered: