Hi Dani-
Ok, I have modified the files in my repository, and made the following changes. Can you take a look and let me know how it looks?:
-
I added a function to fund the contract (so the contract has enough to payout winners at first) and I also attempted to fund the contract during migration in the coinflip migration .js file. Can you take a look and let me know if that is correct?
-
I changed the guess variable from string to uint.
-
I changed the bet input to ether and converted to wei in main.js before sending the parameter to the flipAndPay function.
-
Also, I am still getting the 404 page not found error when clicking the âflipâ button. If you can take a look at that and let me know why that may be happening, I would appreciate it.
Thanks!
Randy