Skip to content

PR to celo101 chapter 2 to #5

Open
Aishat-Akinyemi wants to merge 5 commits intodacadeorg:mainfrom
Aishat-Akinyemi:buy-product-requirement-fix
Open

PR to celo101 chapter 2 to #5
Aishat-Akinyemi wants to merge 5 commits intodacadeorg:mainfrom
Aishat-Akinyemi:buy-product-requirement-fix

Conversation

@Aishat-Akinyemi
Copy link

The PR adds instructions on steps a learner has to follow to be able to successfully call the buyProduct function of the marketplace contract on Remix.

With IERC20Token contracts, for security purposes, an account originalTokenOwner has to call on the token-contract's approve function passing in the accountToBeApproved and tokenAmountInDecimals before accountToBeApproved can call transferFrom as it was called in the buyProduct function.

@netlify
Copy link

netlify bot commented Apr 22, 2022

Deploy Preview for cdn-celo-101-dacade ready!

Name Link
🔨 Latest commit 197d6ac
🔍 Latest deploy log https://app.netlify.com/sites/cdn-celo-101-dacade/deploys/626333bf3c03e20009efd2a6
😎 Deploy Preview https://deploy-preview-5--cdn-celo-101-dacade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant