BLOCKCHAIN E-COMMERCE TUTORIAL 4
|Welcome to tutorial 4. In this tutorial we will create block 10 powered microservices the goal is to create portable micro services that give our application a series of independently deployable features we create these with JavaScript files that will interact with our smart contracts on the blockchain using the linked JavaScript SDK.
Let’s begin by taking a look at what micro services. We e need first we need a payment service the payments micro service controls the transfer of funds from a purchaser to a seller.
When a product is bought looking into some of the details the payment micro service executes transfers of a custom token which we created in an earlier tutorial and held by a Treasury, when products are purchased tokens are transferred between the appropriate wallets….
Spread the love