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 i
to install all dependencies.
Since we have both a back end and a front end, we need to run the following:
npm start
from./julzwidgetapp
.nodemon server.js
from./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.