A widget containing a crypto payment button that interacts with the previosly deployed contract of the user that owns the webpage where the widget runs.
- Clone the project.
cd julzwidgetapp- Run
npm ito install all dependencies.
Since we have both a back end and a front end, we need to run the following:
npm startfrom./julzwidgetapp.nodemon server.jsfrom./julzwidgetapp/src/server.- You can run it on its own adding
{url}/{id of target contract}/{USD price amount}, or you can see the working Demo here - Make sure to be connected to the same network where the deployed contract is located.