Replies: 3 comments 2 replies
-
Are you sure you are on ETH Mainnet or Polygon Mainnet when you are trying the send flow? Based on your manifest, your Snap will only be called on those two networks. Also, it's possible that your Snap has a bug that is causing the resolution to fail. Can you share the contents of the handler?
|
Beta Was this translation helpful? Give feedback.
-
Hi @Montoya, Yes, I'm certain that this runs on Mainnet or Polygon when trying. Here is the handler:
None of the debug prints is presented in the console |
Beta Was this translation helpful? Give feedback.
-
Greetings @Montoya Do you see anything wrong in my handler? I feel like I'm missing something fundamental but I have no idea what it might be. I'm using the snap template and everything seems to be on par with the documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I'm building a snap that is intended to resolve domain names.
After reading documentation and looking at some templates and examples, I have a manifest that contains:
And a method with signature:
However, when I access the extension UI => Send => To, and typing a domain, the method is never being invoked.
I do see in the console an indication that another snap (
@metamask/ens-resolver-snap
) is attempting to resolve the domain(below is output while me typing in the input field)
I haven't installed the ens-resolver-snap, so I assume it is shipped out of the box with the extension.
Am I missing something? Can it be that this snap hijacks the event I'm trying to capture? Any idea how to fix it and get my method triggered?
I'm running Metamask flask version 12.6.0-flask.0
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions