Live demo: https://solana-ecom.web.app/ (use testnet)
-
Above are the anchor program file and its tests.
-
Smart contracts functionalities include:
- Initializing accounts
- Adding Products
- Purchase (transfer of SOL)
- Listing
- Delisting
- Editing Products
- After purchasing the product the $SOL goes to its owner
-
Smart contract: https://explorer.solana.com/address/9D31LUnoNS7th12sKKZ1M8sYrhUbXaRK5RYQZ9D6tads?cluster=testnet
-
Frontend code is private.