Skip to content

iamit-singh/test-stackblitz-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce portal with crypto pay

It's a simple E-commerce web portal, built with angular and web3.js. It provides a list of available products to select, selected products are added to the cart and on the checkout page, payment can be done with crypto-currencies.

All the transactions are done with the MetaMask wallet.

Click here to launch the live application.

  • At the very first page, the list of products is shown.

1

  • Products added to cart are displyed on the top bar.

2

  • Clicking on checkout will take you to the payment page. Here, all the list of products in the cart can be seen.

3

  • Click on the Select Account button to connect with an account using Metamask.

  • The selected account will then be displayed on the screen.

5

  • On the top left corner of the screen, the crypto currency can be selected from the dropdown.

Two options are available, one is Ether (ETH) and another is custom ERC20 Token named as Ecommerce Token (ETK), made for POC purpose.

On selecting currency, respective amount will be shown on the screen.

Click on Confirm & Pay to initiate the transaction. It will take you to the MetaMask wallet, where transaction can be confirmed.

  • After confirmation, transaction status will be displayed on the screen.

7

Releases

No releases published

Packages

No packages published