Decentralized finance (DeFi) is heating up. Amazon’s AWS Marketplace is offering Origin Protocol’s decentralized e-commerce platform Dshop to software-as-a-service customers (SaaS), as part of its partner network.
By Matthew Liu, cofounder of Origin Protocol and Kevin Goodspeed, a Senior Category Manager at AWS Marketplace
One of the emerging themes of the post-Web 2.0 world is decentralization, and more internet users are seeking greater control over their activities and data. Blockchain is a technology that enables the removal of traditional intermediaries from a vast array of applications. Blockchains provide a tamper-proof history of records and transactions in a series of blocks, or a ledger. Each block is cryptographically linked to a previous one, and any change to a block corrupts all subsequent blocks. Originally envisioned for peer-to-peer payments, some blockchains can also support business logic code, or smart contracts. Ethereum, created in 2015, is the largest blockchain that supports smart contracts, and it currently supports billions of dollars in economic activity and value.
Origin Protocol’s AWS Marketplace, is an open platform for ecommerce that uses the Ethereum blockchain. Origin Protocol is an AWS Partner Network (APN) Technology Partner. Dshop has no setup costs and is 100% open source and customizable. Cryptocurrency payments are irreversible, peer-to-peer, and fast. Dshop supports cryptocurrency payments including OUSD, OGN, ETH, DAI, and all ERC-20 tokens, which reduces chargeback risk, cross-border payment overhead and delays, and processing fees., available in
In this post, I show how to create ecommerce storefronts that support cryptocurrency payments.
How it works
The entire front-end application logic, product database, and supporting media (such as product images) are hosted on the Dshop backend, which is an Amazon EC2 instance. Customers go through the typical purchase flow and pay via their Ethereum wallet at checkout. The merchant can configure their store to accept ETH, Ethereum’s native cryptocurrency, any Ethereum token that they want, or both. Dshop has integrations with Stripe and PayPal for merchants who want to accept traditional forms of payment. Dshop also supports cash and manual payment methods.
Customer and order details are encrypted with Pretty Good Privacy (PGP). The resulting hash and Ethereum payment transaction hash is sent to the Origin Dshop backend for verification. For a credit card payment, only the order details and transaction information are sent. This data is then downloaded and decrypted, which enables the merchant to send notification emails and fulfill orders.
An AWS account
Here is a step-by-step guide to launching a Dshop store. For more information, see the full documentation with images and support on GitHub.
Step 1: Deploying Dshop
Here is how to deploy your Dshop storefront. The first step involves subscribing to Dshop in AWS Marketplace and deploying it on an EC2 instance. Follow these steps to start the process of setting up your own Dshop.
Step 1.1 Subscribing to Dshop
1. Go to the Origin Protocol Dshop solution in AWS Marketplace.
2. Choose Continue to Subscribe.
3. Accept the AWS terms of service if necessary. After a few minutes, you see the license effective date instead of Pending.
4. Choose Continue to Configuration.
5. Choose the version that you want to run and the Region that you want to deploy to. The latest version is generally preferred.
6. Choose Continue to Launch.
Step 1.2 Deploying Dshop on the EC2 instance
1. For Choose Action, choose Launch from Website.
2. Choose your instance type. A minimum of 1 GB of RAM and 10 GB disk is recommended, which is equivalent to at least a t2.micro. Make sure that your security group has ports 80 and 443 open so that you can access the admin.
3. Select the VPC and subnet for the deployment of the new instance. The default settings are recommended. To use SSH access with the EC2 instance, choose a security group with port 22 open.
4. Choose a key pair from the available list.
5. If you do not have a key pair, go to the EC2 console. In the navigation pane, under NETWORK & SECURITY, choose Key Pairs. Choose Create key pair.
6. Return to the solution page and choose Launch.
Step 2: Configuring the domain and the Dshop node
Next, you configure the domain settings to work with the Dshop node. This allows visitors to navigate to your storefront. For more information, follow the instructions in Working with records in the Amazon Route 53 Developer Guide.
Step 2.1 Configuring the domain
1. Get the IP address assigned to your new instance from the EC2 console.
2. In the Route 53 console, select the zone you want to add this record to. The zone is your domain name. Choose Create record. You will create a new A record pointing at this address.
3. Choose Simple Routing.
4. Define the record, for example
api.mydomain.com This is the backend administration URL and used as the shop’s backend. It is not the domain that your customers use to view the store.
5. Choose Create records.
6. In a few minutes, you can access the Dshop onboarding page by navigating to
api.mydomain.com (or your chosen record) in your browser.
Step 2.1 Configuring the Dshop node
1. In a browser window, navigate to
api.mydomain.com or your chosen record, and then enter your name and email address.
2. For the password, use the instance ID. For example,
3. In a new browser window, configure the server by following this. Use the EC2 instance ID as your initial password.
Stpe 3: Creating the Dshop store
After launching the Dshop node and configuring the domain, you can create and customize the Dshop storefront.
Step 3.1 Choosing the payment settings
1. In a new browser window, go to
api.mydomain.com and enter your credentials.
2. Choose Settings and then Payments.
3. To accept cryptocurrency payments, under Cryptocurrency Payments, choose Connect or enter an Ethereum wallet address manually. Skip this step if you do not want to accept cryptocurrency payments.
4. Optionally, you can connect your Stripe or PayPal account and accept credit card payments. An Ethereum wallet isn’t required.
5. To save the settings and return to the home page, choose Update.
Step 3.2 Customizing the store
1. To create item listings, choose Products.
2. To create public collections of certain product types to help customers navigate your listings, choose Collections. These collections appear on the storefront.
3. To customize the look and feel of the store, choose Themes.
4. To configure third-party integrations, manage shipping and tax settings, or access other advanced features, choose Settings.
5. When you are finished, choose Publish Changes.
After you have finished, delete the deployed resources to prevent incurring ongoing costs. To do this, follow these steps:
1. Delete the EC2 instance that you set up to launch the Dshop.
2. Delete the Route 53 records associated with your Dshop.
In this blog post, I show how to launch a custom storefront that enables decentralized payments. You can accept cryptocurrency payments for your listings and start doing business globally without setting up accounts at payment processors or merchant banks.
Founder Dinis Guarda
IntelligentHQ Your New Business Network.
IntelligentHQ is a Business network and an expert source for finance, capital markets and intelligence for thousands of global business professionals, startups, and companies.
We exist at the point of intersection between technology, social media, finance and innovation.
IntelligentHQ leverages innovation and scale of social digital technology, analytics, news and distribution to create an unparalleled, full digital medium and social business network spectrum.
IntelligentHQ is working hard, to become a trusted, and indispensable source of business news and analytics, within financial services and its associated supply chains and ecosystems.