This DShop(decentralized shop) empower users to create their own shops with a highly secure cryptocurrency payment system. It supports major blockchains like Bitcoin, Ethereum, and ICP for accepting value, ensuring a seamless and versatile shopping experience.
- Provides a platform for users to easily create their own decentralized shops.
- Enables customization of shop details and product listings.
- Implements a robust cryptocurrency payment system for secure transactions.
- Supports major blockchains including Bitcoin, Ethereum, and ICP for accepting payments.
- Facilitates the management of shop inventory, orders, and transactions.
- Allows shop owners to add, update, and remove products.
- Integrates seamlessly with major blockchain networks to ensure interoperability.
- Enables users to transact with different cryptocurrencies without friction.
- Direct Interaction with the Ethereum Virtual Machine using IC_EVM_RPC.
- Fetches latest block information and transaction receipts from the Ethereum network.
- Facilitates interactions with the Canister ICRC Token (ckEth).
- Allows checking the balance, transferring, and approving ICRC tokens.
- Supports withdrawal of Ether (ETH) from the ICRC token minter.
- TODO: Implement integration with the Exchange Rate Canister for fetching token prices.
- Fetch exchange rates for Bitcoin, ICP, and other ICRC tokens to facilitate real-time pricing.
- Ensure accurate and up-to-date conversion rates for seamless cryptocurrency transactions.
- TODO: Provides an intuitive and user-friendly interface for both shop owners and customers.
- Ensures a smooth shopping experience with minimal technical barriers.
- Start the local Internet Computer environment using:
dfx start --clean
- Deploy the
Shop
actor on the local network using the provided Motoko code.
npm run setup
- Interact with the deployed actor using candid-ui.
- Add a new product to the shop using the
addProduct
method.
- Fetch the product details using the
getProducts
method.
- Users can add products to the cart and proceed to checkout.
- Users can intract with minter contract using thier wallet on the Ethereum network to this principal id.
- Confirmed Transaction and u can take your Reciept.
- The Minter will transfer ckETH tokens into the shop.
- Shop owner can transfer ckETH tokens to other users.
- Also, Shop owner can withdraw Ether dirctly from the minter contract into his wallet.