This example is to be able to visualize how to connect to metamask and execute a method of a smartcontract, using etherjs library.
First you need to install all dependencies
npm i
Lastly run the project
npm run dev
Open http://localhost:3000 with your browser to see the result.