hi i have been trying to make a connect with metamask button but the velo isn’t supporting any method like
export function vectorImage7_click ( event ) {
try {
// Will open the MetaMask UI
// You should disable this button while the request is pending!
ethereum . request ({ method : ‘eth_requestAccounts’ });
} catch ( error ) {
console . error ( error );
}
}
Hello! You won’t be able to accomplish this from your page code. I would suggest looking into creating a custom element. Check out the documentation and examples.