<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zlong on Medium]]></title>
        <description><![CDATA[Stories by Zlong on Medium]]></description>
        <link>https://medium.com/@stiartsly?source=rss-c95a7cb754d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kkkgcsDzfyVkOvpQOQmxog.png</url>
            <title>Stories by Zlong on Medium</title>
            <link>https://medium.com/@stiartsly?source=rss-c95a7cb754d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:15:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stiartsly/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The brief introduction to Feeds-v2.0]]></title>
            <link>https://stiartsly.medium.com/the-brief-introduction-to-feeds-7d6ccc2e3911?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d6ccc2e3911</guid>
            <category><![CDATA[elastos]]></category>
            <category><![CDATA[feeds]]></category>
            <category><![CDATA[nft-marketplace]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[decentralized-social]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Tue, 07 Sep 2021 13:20:59 GMT</pubDate>
            <atom:updated>2021-09-07T14:28:05.027Z</atom:updated>
            <content:encoded><![CDATA[<h4>A new, decentralized social platform</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*JCeorpxKNTm9fK2rgivFOw.jpeg" /><figcaption>Feeds Channels</figcaption></figure><p>Feeds is a new, decentralized social platform where users remain in full control of the data they generate, and may also profit from it.</p><h4><strong>The </strong>characteristics</h4><p>Feeds stands apart from the pack of conventional, centralized social applications. Here’s how:</p><ul><li>A fully functional DID-based, back-end sign-in service that does not create any risk of credential leakage or single-point failures;</li><li>Native decentralized services that allow users to access a breadth of different back-end services, thereby contributing to rich, diverse content on the platform;</li><li>Anyone can run Feeds services, which empowers all users to fully own and control their data.</li></ul><h4>Feeds channels and Feeds Pasar</h4><p>On Feeds channels, publishers create dedicated channels and post to them. Readers subscribe to channels according to their interests and read posts. On Feeds Pasar, users can create NFTs (Non-fungible Tokens) with their own images and trade them in an open marketplace. The Feeds team is hard at work exploring new and innovative use cases for NFTs on Feeds channels.</p><h4>Deeply integrate Elastos core technologies</h4><p>Feeds is an essential Elastos application that deeply integrates Elastos core technologies of the following details:</p><ul><li>Feeds dApp and Feeds service both act as Carrier nodes and communicate each other via Carrier messages;</li><li>Elastos DID integration for sign-in, user identity, and interaction with remote Feeds service;</li><li>Integration with Essentials to authenticate user identity and authorize user approval;</li><li>Support for connecting to the Essentials wallet as a delegator to perform transactions on the ESC (Elastos Smart Contract) side-chain;</li><li>Interaction with the NFT contract (ERC1155) and marketplace on ESC side-chain to mint and trade NFTs;</li><li>Supporting storing application data on a Hive node is under the way.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*y7ucrFAx23ciMtTLl4j22w.jpeg" /><figcaption>Feeds Pasar</figcaption></figure><h4>Publishers must deploy Feeds service</h4><p>Publishers must deploy the Feeds service as a standalone desktop application on macOS/Windows, or install the Linux packages on Linux VPS or a Raspberry Pi device in order to run Feeds as a system service. The Feeds team strongly recommends remaining up to date with the latest version of Feeds service at all times.</p><h4><strong>Enjoy your personal Feeds experience!</strong></h4><p>We at the Feeds team continue to remain open, and welcome users and enthusiasts alike to reach out to us with any questions and comments in our dedicated Telegram group.</p><p><em>Notice: This article will be the description to Feeds application on google play.</em></p><h4><a href="https://t.me/feedscapsule"><strong>Telegram</strong></a><strong> * </strong><a href="https://twitter.com/elastOSFeeds"><strong>Twitter</strong></a><strong> * </strong><a href="https://github.com/elastos-trinity/feeds-capsule"><strong>Github</strong></a><strong> * </strong><a href="https://trinity-feeds.app/"><strong>Website</strong></a></h4><h3>Resources:</h3><ul><li><strong><em>Google Play:</em></strong> <a href="https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds"><em>Trinity Feeds.apk</em></a></li></ul><p><em>For more information on Feeds:</em></p><ul><li><a href="https://stiartsly.medium.com/meet-feeds2-0-enjoy-nfts-on-elastos-87b22c134fe9"><em>Meet Feeds, Enjoy NFTs on Elastos</em></a></li><li><a href="https://stiartsly.medium.com/the-announcement-of-feeds-capsule-living-on-apple-app-store-38501457d61c"><em>Feeds Capsule Goes live on the Apple App Store</em></a></li><li><a href="https://stiartsly.medium.com/the-rise-of-new-did-authorization-mechanism-in-client-server-model-2d48f1fca4db"><em>The rise of new DID Authorization mechanism in client-server model</em></a></li><li><a href="https://stiartsly.medium.com/what-is-the-big-surprise-of-new-feeds-v1-5-0-2600aeacc8c6"><em>What will be the big surprise for new Feeds v1.5.0</em></a></li><li><a href="https://stiartsly.medium.com/understanding-elastos-dids-used-in-feeds-capsule-5856de54ea57"><em>Understanding Elastos DIDs in Feeds Capsule</em></a></li><li><a href="https://stiartsly.medium.com/deploy-feeds-service-from-the-scratch-39b20b8766f"><em>Deploy Feeds service from the scratch</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d6ccc2e3911" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet Feeds2.0, Enjoy NFTs on Elastos]]></title>
            <link>https://stiartsly.medium.com/meet-feeds2-0-enjoy-nfts-on-elastos-87b22c134fe9?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/87b22c134fe9</guid>
            <category><![CDATA[nft-marketplace]]></category>
            <category><![CDATA[social-platforms]]></category>
            <category><![CDATA[feeds]]></category>
            <category><![CDATA[nft-collectibles]]></category>
            <category><![CDATA[elastos]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Wed, 18 Aug 2021 09:04:45 GMT</pubDate>
            <atom:updated>2021-08-19T08:00:59.768Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*qQD6tJxkDOyaxGPaY9nvmw.png" /><figcaption>Users can mint NFT collectibles on Feeds now.</figcaption></figure><h3>NFT become a hot topic</h3><p>These days, <strong>NFT, </strong>aka Non-Fungible Token, is trending to be a hot topic in the crypto realm followed by <strong>DeFi</strong>. There are more and more engaging stories to attract attention. Indeed, NFT can play to connect reality and cyberspace. Users can claim ownership of the virtual assets via NFT contract and other technologies. Here I assume that you have a basic understanding of NFT and its ERC-721/ERC-1155 contract standards. Otherwise, you might need to recharge your knowledge of that before moving next.</p><h3>Why does the Feeds need NFTs?</h3><p>As we know before, Feeds is a decentralized social platform that disrupts the traditional client-server-based model and essentially takes back control of users’ data. Besides, Feeds will drive to become the decentralized platform of content distribution and marketing in our upcoming plan.</p><p>Nowadays, we realize that data is a virtual asset that could turn into wealth for us. With NFT involved, we can quickly identify the specific data with the ownership claimed and essential value when marketing. Data in Feeds can be images, videos, podcasts, or even memorial<strong> </strong>posts. We can mint them as NFTs and sell them on the marketplace or even benefit from renting or utilizing them by others. In brief, any valuable content or data in Feeds can be minted into NFTs and traded on Feeds, which can be a good practice of traffic circulation that further attracts more users boarding.</p><h3>Why store NFT data on IPFS network?</h3><p>The IPFS network, aka InterPlanetary File System, is a public distributed file storage system that uses content-addressing to identify the stored data uniquely. The mission of NFT is to claim ownership of the data instead of keeping the data privacy. Thus, we choose to put NFT data on the IPFS network instead of storing them on the Feeds service. With IPFS, users can efficiently retrieve NFTs data after purchasing them while transferring ownership on blockchain. Later, the IPFS node will be integrated into the Feeds service to guarantee the copy of that NFT data. Therefore, we manage the authenticity of NFTs on blockchain while keeping accessibility of NFTs data on the IPFS network.</p><p>Here is the example of token ID and token URL to the NFT image:</p><p><strong>The token ID: </strong><em>103021371738945165429663449597012638923221982016871009380604638164579190895701</em></p><p><strong>The token URI:</strong> <em>feeds:json:QmeNUnucEQa7anRWarUycvaXYLtetZ49Jx5ADCSJoQdZht</em></p><p>And the <strong>JSON document</strong> to the metadata of NFT image would be like below:</p><pre><em>{     <br>    &quot;version&quot;: &quot;1&quot;,<br>    &quot;type&quot;: &quot;image&quot;,<br>    &quot;name&quot;: &quot;Red Fall&quot;,<br>    &quot;description&quot;: &quot;Fall in Japan&quot;,<br>    &quot;image&quot;: &quot;feeds:imgage:QmfHzjAFJ1q6uwTf3CHwYAu15FdNDcE4dUWcn8gX1Ybqki&quot;,<br>    &quot;kind&quot;: &quot;jpg&quot;,<br>    &quot;size&quot;: &quot;6315082&quot;,<br>    &quot;thumbnail&quot;: &quot;feeds:imgage:QmPxME6gNb2ctCsMM9Fa64iBG48rXqSXEZVch9RPczA7Y9&quot; <br>}</em></pre><h3>Why We Choose ERC-1155</h3><p>There are two types of contract standards to be employed for users to create NFTs. The first one is named “golden standard,” aka ERC-721, while the other is labeled “lazy minting,” aka ERC-1155. Though ERC-721 is the first standardized interface for creating NFTs, we still decided to use the ERC-1155 because it’s faster and more efficient, especially in batch transfers in which more users would be involved in this game. With ERC-1155, users can spend less transaction fees to mint and transfer multiple NFTs at one time. Besides, it is also possible that the NFT feature can become a standalone application if there are more users to experience.</p><h3>What’s in the NFT contract</h3><p>On Feeds, we deployed two different contracts on Elastos Smart Contract Sidechain. One is the NFT contract with ERC-1155 standard for users to create NFT collectibles. The other is Pasar contract focusing on trading NFT collectibles in the marketplace. Briefly, users mint their collectibles by the NFT contract and trade them by the Pasar contract.</p><h4>Features</h4><p>Currently, the initial version of NFT contract supports the following features listed below:</p><ul><li>Mint NFT collectible with a single edition. Thus the NFT created keeps the uniqueness all the time on Elastos Smart Chain.</li><li>Mint NFT collectibles with limited editions but sharing the same token ID. Usually, we can use this way to issue the anniversary collectibles with limited editions.</li><li>The creator can claim the royalty on the NFT collectible when he/she mints it to keep benefits from each secondary sale as the rewards for creativeness.</li><li>Each NFT data on the IPFS network would be indexed with a unique ID, aka content ID, and this CID would be utilized as the token ID of NFT collectibles. Hence, it’s impossible to mint different NFT collectibles with the same content data.</li><li>With the ERC-1155 standard, the contract supports minting NFT collectibles in the batch method, which means users can mint various NFT collectibles either with a single or multiple editions in one transaction on the ESC (Elastos Smart Contract) Sidechain.</li></ul><p>Generally, each NFT collectible has its unique token ID and token URL separately. The token ID is the CID to the actual data on the IPFS network, while the token URL points to a JSON doc that describes the essential metadata of NFT collectible, which also is a CID value to that JSON doc on the IPFS network. Once the NFT was minted, the token ID and URL burned into the NFT contract, and there will be no way to interpolate the collectible metadata. Hence the NFT collectible can be permanently valid on the ESC Sidechain.</p><p>With the ERC-1155 contract standard, if there were a wallet, for example, Elastos Essentials, to be compatible with ERC-1155, it would easily display the balance of NFT collectibles on that wallet.</p><p>We note that Feeds currently employs part of the full features for the initial version. In Feeds, currently you are only allowed to mint a single NFT at one time, but with royalties supported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*inAOU0y3Z4z4OdTMEnfhqw.png" /><figcaption>The NFT collectibles minted by the user</figcaption></figure><h3>What’s in the Pasar contract</h3><p>Besides the NFT contract, we also deployed the Pasar contract as the marketplace to trade NFT collectibles. With the contract, users can trade the NFTs from virtual assets to be expendable ELAs, which encourages them to forge more NFTs from their creativity.</p><h4>Features</h4><p>The first initial version of the Pasar contract supports the following features listed below:</p><ul><li>Support to sell the NFT collectibles at a fixed price. When a seller puts an NFT collectible onto Pasar with the fixed price, a new sale order will be created and shown on Pasar. Once a buyer purchases it, the order becomes fulfilled, and the buyer gets the NFT to the order while the seller receives the price of ELAs. The seller has the chance to update the selling price or even cancel the sale when no one has purchased it yet.</li><li>Support to sell the NFT collectibles at a bid price. When a seller puts an NFT collectible onto Pasar with the biding method, it will create a new sale order with the rock-bottom price, and the auction begins with it. Anyone can join in at a higher price to compete for the game. When the auction timeout arrives, the one who offers the highest price will win the game and win that NFT collectible. The seller also has the chance to adjust the bid price or cancel it when no one has offered the price yet.</li><li>With the royalties support, the creator will receive specific royalty fees as the rewards to his creativity on each round of transactions to the NFT collectible.</li><li>Support to sell the NFT collectibles with a batch package. A seller can trade a group of NFT collectibles in a single order while the buyer purchases it in one transaction. It will save the transaction fees a lot compared to selling them one by one.</li></ul><p>Though the Pasar contract has strong potential to provide various support in the marketplace, currently in Feeds, it only supports trading the NFT collectible in a single quantity with a fixed price. Later, we will support another way to trade the NFT collectible — <strong>Auction</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*jUBSihXsEllMlGwnxqWSOw.png" /><figcaption>The NFT collectibles on Pasar market.</figcaption></figure><h3>Outlook of NFT features in Feeds</h3><p>The new Feeds V2.0 with NFT support has just been released. Feeds users can now mint NFT collectibles with their designs and trade them on the Pasar market. In addition, there is a practical use-case in which you can apply one of your favorite NFT images as the avatar either for your profile or channels.</p><p>We notice that the Pasar market is the basic but essential use case where users can trade NFT collectibles. In the next, Feeds will explore more and more application scenarios to take advantage of NFT features. It is possible that we will develop a new contract for users to rent their NFTs, and others can learn and benefit from them. You also can post a video as the NFT on your channel, and the followers can watch it after paying with ELAs.</p><p>More ideas about the application scenarios on NFT features are being brewed, and we are trying to make them come out to meet the reality.</p><h3>To Our Community, Thank You</h3><p>Now, Feeds v2.0 for the android version (<strong>only android</strong>), along with Feeds service v2.0, are available to meet our community. We would love to see the community have fun with NFTs collectible on our Elastos ecosystem. We also feel like seeing more developers to help improve Feeds or join the Feeds project. We appreciate the support from the community and welcome any feedback to improve our Feeds via the telegram channel <a href="https://t.me/feedscapsule"><em>here</em></a>.</p><p><em>Notice: </em><a href="https://medium.com/@asralf/q-what-is-feeds-757ca2fbc59b"><strong><em>Here</em></strong></a><em> is a guide article from @asralf: </em><a href="https://medium.com/@asralf/q-what-is-feeds-757ca2fbc59b"><strong><em>What is Feeds?</em></strong></a><strong><em> </em></strong><em>that would help you experience the new Feeds v2.0 with NFT features.</em></p><h3>The two contract addresses on ESC main-net:</h3><ul><li><strong><em>NFT contract: </em></strong>0x020c7303664bc88ae92cE3D380BF361E03B78B81</li><li><strong><em>Pasar contract: </em></strong>0x02E8AD0687D583e2F6A7e5b82144025f30e26aA0</li><li><strong><em>Explorer URL:</em></strong> https://eth.elastos.io</li></ul><h3>Channel and Resources:</h3><ul><li><strong><em>Telegram: </em></strong><a href="https://t.me/feedscapsule"><em>Feeds Capsule</em></a></li><li><strong><em>Twitter</em></strong>: <a href="https://twitter.com/elastOSFeeds">@elastOSFeeds</a></li><li><strong><em>Github:</em></strong><a href="https://github.com/elastos-trinity/feeds-capsule"><strong><em> </em></strong><em>feeds-capsule</em></a></li><li><strong><em>Website: </em></strong><a href="https://trinity-feeds.app/">https://trinity-feeds.app</a></li><li><strong><em>Google Play:</em></strong> <a href="https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds">Trinity Feeds.apk</a></li></ul><p><em>For more information on Feeds:</em></p><ul><li><a href="https://stiartsly.medium.com/the-announcement-of-feeds-capsule-living-on-apple-app-store-38501457d61c"><em>Feeds Capsule Goes live on the Apple App Store</em></a></li><li><a href="https://stiartsly.medium.com/the-rise-of-new-did-authorization-mechanism-in-client-server-model-2d48f1fca4db"><em>The rise of new DID Authorization mechanism in client-server model</em></a></li><li><a href="https://stiartsly.medium.com/what-is-the-big-surprise-of-new-feeds-v1-5-0-2600aeacc8c6"><em>What will be the big surprise for new Feeds v1.5.0</em></a></li><li><a href="https://stiartsly.medium.com/understanding-elastos-dids-used-in-feeds-capsule-5856de54ea57"><em>Understanding Elastos DIDs in Feeds Capsule</em></a></li><li><a href="https://stiartsly.medium.com/deploy-feeds-service-from-the-scratch-39b20b8766f"><em>Deploy Feeds service from the scratch</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87b22c134fe9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Announcement of Feeds Capsule living on Apple App Store]]></title>
            <link>https://stiartsly.medium.com/the-announcement-of-feeds-capsule-living-on-apple-app-store-38501457d61c?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/38501457d61c</guid>
            <category><![CDATA[ios-application]]></category>
            <category><![CDATA[elastos]]></category>
            <category><![CDATA[feeds]]></category>
            <category><![CDATA[decentralized-social]]></category>
            <category><![CDATA[trinity-feeds]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Mon, 01 Feb 2021 04:09:41 GMT</pubDate>
            <atom:updated>2021-03-02T15:17:41.018Z</atom:updated>
            <content:encoded><![CDATA[<h3>Feeds Capsule Goes Live on the Apple App Store</h3><p>The Feeds and Trinity Teams are thrilled to announce that the Feeds Capsule is now live on the Apple App Store. At a time when decentralized social media is at the forefront of online debate, we are proud to welcome anyone who wants to be part of the rising alternative to traditional social media, where privacy and data ownership are the new standard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*063VksWz52yk-CMlcu2UoA.png" /></figure><h4>The Feeds Value Proposition</h4><p>Feeds is a decentralized social platform that disrupts the traditional client-server model. On Feeds, users have sole control and access to their IDs and to all data they generate. By using a decentralized client-server architecture, users cannot be censored by the arbitrary will of a single authority for their accounts or publication contents.</p><h4><strong>Upgrades In The Newest Version</strong></h4><p>Since its first release, the Feeds capsule has seen the following upgrades:</p><ul><li>Users can post media content with images or instant short videos.</li><li>Users can publish the newly created Feeds channel onto the “Discovery Square” for others to follow.</li><li>Elastos decentralized ID (DID) authorization and authentication was integrated.</li><li>The Feeds Source function has been removed. Now readers only need to find an interesting feed and follow it directly. For publishers, they are required to create a publisher account instead of the less user friendly Feeds source.</li><li>With elastOS native tool-chains, we can build native Feeds applications that run on both Android and iOS platforms.</li></ul><h4><strong>What’s Next?</strong></h4><p>We know that privacy, censorship resistance and data ownership are amazing features, but not enough to stop there. For Feeds to gain mass adoption, users need to populate the platform with amazing content.</p><p>We will be adding the following features on the client-side of Feeds Capsule:</p><ul><li>Introduce an economic incentive model into Feeds by integrating an ERC20 token (Feeds token) on ETH Sidechain. This will attract engagement from our community by creating rewards while also promoting quality content and the increase of traffic to the app.</li><li>Support with Private and Paid Feeds to enhance the apps features. We hope to see new businesses arise out of these features that bring new users with them.</li></ul><p>We will also implement a new Feeds service with a simple UI/UX design that can run on desktop Linux or macOS systems to reduce the complexity of the installation process.</p><h4><strong>To Our Community, Thank You</strong></h4><p>With Feeds native applications now on Android and iOS platforms, we have a chance to take back the control of our privacy and data. We appreciate the support of our community users and welcome any feedback for improvements via the telegram Feeds channel<a href="https://t.me/feedscapsule"> <strong><em>here</em></strong></a>.</p><h3><em>Channel and Resources:</em></h3><ul><li><strong><em>Telegram: </em></strong><a href="https://t.me/feedscapsule"><em>Feeds Capsule</em></a></li><li><strong><em>Twitter</em></strong>: <a href="https://twitter.com/elastOSFeeds">@elastOSFeeds</a></li><li><strong><em>Github:</em></strong><a href="https://github.com/elastos-trinity/feeds-capsule"><strong><em> </em></strong><em>feeds-capsule</em></a></li><li><strong><em>Website: </em></strong><a href="https://trinity-feeds.app/">https://trinity-feeds.app</a></li><li><strong><em>Google Play:</em></strong> <a href="https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds">Trinity Feeds.apk</a></li><li><strong><em>App Store:</em></strong> <a href="https://apps.apple.com/app/id1546436333">Trinity Feeds</a></li></ul><p><em>For more information on Feeds:</em></p><ul><li><a href="https://stiartsly.medium.com/the-rise-of-new-did-authorization-mechanism-in-client-server-model-2d48f1fca4db"><em>The rise of new DID Authorization mechanism in client-server model</em></a></li><li><a href="https://stiartsly.medium.com/what-is-the-big-surprise-of-new-feeds-v1-5-0-2600aeacc8c6"><em>What will be the big surprise for new Feeds v1.5.0</em></a></li><li><a href="https://stiartsly.medium.com/understanding-elastos-dids-used-in-feeds-capsule-5856de54ea57"><em>Understanding Elastos DIDs in Feeds Capsule</em></a></li><li><a href="https://stiartsly.medium.com/deploy-feeds-service-from-the-scratch-39b20b8766f"><em>Deploy Feeds service from the scratch</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38501457d61c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Rise of new DID Authorization Mechanism in Client-Server model]]></title>
            <link>https://stiartsly.medium.com/the-rise-of-new-did-authorization-mechanism-in-client-server-model-2d48f1fca4db?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d48f1fca4db</guid>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[feeds]]></category>
            <category><![CDATA[authorization]]></category>
            <category><![CDATA[elastos]]></category>
            <category><![CDATA[decentralized-identity]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Mon, 25 Jan 2021 05:42:51 GMT</pubDate>
            <atom:updated>2021-02-07T08:55:22.300Z</atom:updated>
            <content:encoded><![CDATA[<p>Nowadays, as users surf the internet, they have no choice but to adhere to the traditional means of authorization offered by tech giants such as Google, Apple, Tencent, and Alibaba. Users are forced to sacrifice their privacy and ownership rights to access the business services provided therein.</p><p>Even most small companies provide similar standalone authorization systems backed by similar exploitative models. It is simply a matter of doing business in the landscape of the present day internet. But as decentralized identity solutions emerge, users now have an alternative — namely, DID authorization mechanisms.</p><h4><strong>The roles of traditional authorization flow</strong></h4><p>Before addressing DID authorization flow, we will walk you through the traditional authorization flow used in the client-server model, where the authorization flow has the following roles:</p><ul><li><strong>Resource Owner</strong>: End-user who can grant access to a protected resource.</li><li><strong>Resource Server</strong>: Server hosting the protected resources.</li><li><strong>Client: </strong>Application requesting access to a protected resource on behalf of the resource owner.</li><li><strong>Authorization Server</strong>: The server authenticates the resource owner and issues access tokens after getting proper authorization.</li></ul><h4><strong>First-generation authorization system</strong></h4><p>In the primitive authorization system, a user must sign up for an account with a username and password before signing into the remote server. A username is generally either an email address or phone number that can be used to recover that account. The server takes responsibility for authenticating the user’s identity and granting the requesting application an access token for reaching protected resources on the same server. Therefore, the server practically manages both the user’s credentials and resources, combining the roles of authorization server and resources server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WY4e-MzyT2i_6y5tRzUnZg.png" /><figcaption>The first-generation authorization and authentication flow</figcaption></figure><p>As a resource owner, a user essentially has no control of his credentials and resources because all data is kept on the remote server owned by third-parties — not by the user.</p><h4><strong>The OAuth2.0 authorization framework</strong></h4><p><em>The OAuth 2.0 authorization framework is a protocol that allows a user to grant a third-party web site or application access to the user’s protected resources, without necessarily revealing their long-term credentials or even their identity</em>. [Quoted from<a href="https://auth0.com/docs/protocols/protocol-oauth2"> OAuth2 protocol</a>]</p><p>OAuth2.0’s significant achievement is decoupling the authorization process from the resources server and becoming a standard service. Such examples include Google authentication, WeChat authentication, and others. The standalone authentication server maintains users’ credentials and authenticates the requesting clients based on those credentials. Once the authentication challenge is accepted, the authentication server will issue access tokens to authorize the client access to protected data on the resource servers owned by other companies from the authentication server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*86l06PWKxDY19ET6f5vlEg.png" /><figcaption>The OAuth 2.0 authorization and authentication flow</figcaption></figure><p>Nowadays, companies and organizations trend to integrate the well known OAuth2.0 services like Google, Twitter, WeChat into their authorization system to attract more users. As the primitive one, users still have no essential control of either the credentials or resources, which are still exclusively controlled by third-parties either for the authorization server or resources servers.</p><h4><strong>The new DID authorization mechanism</strong>.</h4><p><em>“Decentralized identifiers (DIDs) are a new type of identifier that enables verifiable, decentralized digital identity</em>”, [Quoted from<a href="https://www.w3.org/TR/did-core/#dfn-decentralized-identifiers"> W3C DIDs specification v1.0</a>]. For more information, refer to <a href="https://stiartsly.medium.com/understanding-elastos-dids-used-in-feeds-capsule-5856de54ea57">this article</a>, which pertains to using Elastos DIDs in the Feeds application.</p><p>It is important to understand the entire DID authorization flow in the context of the Feeds application. When using Feeds, users will observe three different roles:</p><ul><li><strong>Resource</strong> <strong>Owner:</strong> The user now totally controls the credentials and the resources published on the resource server.</li><li><strong>Client:</strong> A runtime instantiation of the Feeds Capsule running on a user’s device.</li><li><strong>Server:</strong> A running instantiation of the Feeds service deployed by the end-user, who publishes resources on the server.</li></ul><p>Three different Elastos DIDs are required to identify each above entity respectively. In addition, there is the <strong>elastOS</strong> application, which manages the resource owner’s DID.</p><p>There are two different cases of authorization and authentication that relate to Feeds: the first takes place between the end user and the Feeds Capsule without any connection to the services provided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*1xA5CJW_zGYopr_YCcu4RA.png" /><figcaption>The confirmation popup that greets user requests to sign in to the Feeds Capsule</figcaption></figure><p>When the user attempts to sign in to the Feeds Capsule, Feeds will request authorization on elastOS, and a confirmation pops up asking for the user’s approval as a resource owner. Internally, as the user approves the request, the capsule will be issued with a verifiable credential as an authorization. After verification of the credential’s authentication, the capsule becomes an agent of the user to manipulate data on the device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P-ahjvOvYuXIVBUCthQRzQ.png" /><figcaption>The authorization and authentication flow between Feeds Capsule and resource owner</figcaption></figure><p>After signing in to the Feeds Capsule, the user can browse the content that exists in the capsule. But when the user wants to make a publication or browse the content on the remote server, it will require another authorization and authentication measure.</p><p>When the Feeds Capsule implicitly attempts to sign in to the Feeds service as a client, it will request authorization to grant the capsule instant access to the resources on the target Feeds server. The confirmation pops up on elastOS with an accurate description to let the user better understand related risks, and to make a decision whether to authorize access. Should the user approve the request, elastOS will internally issue a verifiable credential to the capsule with the user’s DID as the issuer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*8weBOh6J8GOG6hSIQ0Dp8Q.png" /><figcaption>The confirmation popup when the Feeds Capsule implicitly signs in to the remote Feeds service.</figcaption></figure><p>The capsule determines the issued credential to be a verifiable presentation and sends it to the target Feeds server. Once the target server receives the presentation, it will verify its authentication. Then, once the verification is complete, the service returns an access token to the capsule, which uses the access token to request the protected resource on the target Feeds service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ux5zdIJFbcgbUcViN7teSQ.png" /><figcaption>The new DID authorization and authentication flow in the client-server model</figcaption></figure><p><strong>elastOS</strong> is included in the authorization flow because the elastOS essentially acts as the user-level administrative center for managing DIDs, where it prompts confirmation via popup windows to facilitate authorization requests from third-party applications — namely, the Feeds Capsule. In this model, the user clicks the confirmation button to approve the authorization. With the user’s approval, the elastOS application issues a specific verifiable credential on behalf of the user to the target DID (such as the Feeds Capsule’s DID) to authorize the requesting application to do something user-approved — for instance, to sign-in the Feeds service to access the protected resource. Thus, a standard credential requires three key components:</p><ul><li><strong>The Issuer: </strong>The users and resource owner who makes the decision to approve or deny authorization.</li><li><strong>The Subject:</strong> The entity that requests the authorization. The Subject is generally a client application, like the Feeds Capsule running on a device.</li><li><strong>The Scope: </strong>The content of the Subject’s request, such as to access the protected resource on the remote resource server.</li></ul><p>In summary, the user (the issuer) gives approval to issue a verifiable credential to the Feeds Capsule (the subject). Then, the Feeds Capsule submits this credential to the Feeds service to access the protected resource there (the scope).</p><h4><strong>The advantages of the new DID authorization framework</strong></h4><p>Each of the authorization flows described above operates differently. What’s important to note is that traditional authorization flows conduct authorization computing on the remote authorization server. Even with a user’s approval, the authorization server still issues a credential to the client application to access the protected resources. But as the single authority, the authorization server always makes the final decision based solely on their discretion.</p><p>Now, with the DID authorization mechanism, all the authorization computing has moved to the user’s side. No single authority has the power to make any final decisions. In Feeds, the user makes all final decisions for authorization, and all processes take place within elastOS. Furthermore, all user credentials are managed within elastOS, and only with the user’s consent can the required credentials be sent to the resource server. No sacrifice of privacy is ever required in this model.</p><h4><strong>Realizing the New Architecture of Decentralized Social Networking</strong></h4><p>As should now be clear, the new DID authorization mechanism allows users to take back control of their credentials and privacy. Further, users spend a great deal of time and energy online, and produce tremendous amounts of data in the process. Ultimately, the owners benefit from this generated data by selling it at scale.</p><p>With the rise of the Feeds application, the new decentralized architecture of the client-server model begins to take shape. Users can deploy their resource servers such as the Feeds service for their published data, therefore retaining ownership of it.</p><p>At the same time, users will no longer need to worry about authoritarian censorship. There will be a multitude of Feeds services running across the world, waiting for users to connect. Users will be the primary and ultimate decision makers on the Feeds platform.</p><h4><strong>Final Conclusions</strong></h4><p>Of course, the mechanisms and processes described in the course of this article have been simplified for the purposes of explanation, and are more complex in actuality. Feeds is the first experimental product that integrates DID authentication and authorization, especially in the context of the client-server model. Although it will not be easy, DID authorization offers a unique opportunity to take back control of our credentials and data. As an experimental, cutting edge platform, the Feeds application has many challenges ahead. The Feeds team remains hard at work, dedicated to delivering new features and an improved user experience release after release.</p><p>If you like the Feeds application, please <br>- Join the telegram group: <a href="https://t.me/feedscapsule">https://t.me/feedscapsule</a>.<br>- Download the Android native Feeds application <a href="https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds">here</a>.<br>- Download the iOS Native Feeds application <a href="https://apps.apple.com/ca/app/trinity-feeds/id1546436333">here</a>.</p><h4>elastOS and Feeds: Appendix of Related Terminology:</h4><ul><li><strong>elastOS:</strong> The standalone application built by the Elastos Foundation that manages all the DIDs of a specific user, helps the user sign in to third-party applications, or enables applications to sign in to the remote servers based on a DID authorization and authentication mechanism. elastOS has many more features than those mentioned in this article, and all users are welcome to explore the application to learn more.</li><li><strong>Feeds Capsule: </strong>The application that runs either inside of elastOS,as an Android native application, or even as an iOS native application. The Feeds Capsule takes the client’s role in the entire DID authorization flow and becomes the user’s agent in manipulating publication data either on the client device or remote server.</li><li><strong>Feeds Service:</strong> The back-end server as a daemon service run by the user anywhere. As the user publishes writing or other content, it is sent to this Feeds server to share with others via the Feeds Capsule. In Feeds, the Feeds service takes the role of the authorization server, and also takes the role of the full resource server during the DID authorization and authentication flow. This is the server deployed by the user, who can control all of the data on that Feeds server.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d48f1fca4db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the big surprise of new Feeds-v1.5.0]]></title>
            <link>https://stiartsly.medium.com/what-is-the-big-surprise-of-new-feeds-v1-5-0-2600aeacc8c6?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2600aeacc8c6</guid>
            <category><![CDATA[social-network]]></category>
            <category><![CDATA[feeds]]></category>
            <category><![CDATA[decentralized]]></category>
            <category><![CDATA[publisher-account]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Tue, 19 Jan 2021 07:54:05 GMT</pubDate>
            <atom:updated>2021-01-21T02:50:58.872Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What will be the big surprise of new Feeds-v1.5.0</strong></h3><h3>Begin with the experience</h3><p>Do you have a similar experience when boarding to Feeds, you were simultaneously collapsed into struggling to figure out the concept of <strong>Feeds Source</strong>. Since no decentralized application like Feeds to compare, it isn’t easy to understand what it is and why Feeds has it, whereas Twitter doesn’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*pm3n-SA3AdLiHdcMUf8_OA.png" /><figcaption>The previous versions with “Feeds Sources”</figcaption></figure><h3>What is the concept of Feeds source?</h3><p>As we always addressed, Feeds is a new type of social network with decentralized nature inside, which means no single failure could freeze the experiencing of Feeds, no censorship would enforce from a single authority, and no critical credentials are undertaking the leaking risk. Most of the strengths would credit to the architecture that Feeds Capsule can connect to multiple back-end services as long as you know where they are, and those back-end services are the exact ones we called <strong>Feeds Sources</strong>, aka <strong>Feeds services</strong>. As you connected to a Feeds service, you can see all feeds on that Feeds service and decide to follow them.</p><h3>Why don’t you need it anymore?</h3><p>But, as a pure follower, the only one interesting thing to you is the feed itself you are willing to follow and then read its content, not the Feeds Source you need to connect explicitly. What a pure follower needs here is just the same experience as Twitter. We have been questioned about this annoying experience for a certain period of time by community geeks and inside as well.</p><h3>How do we correct it?</h3><p>As an announcement, this misguiding experience has been corrected in the coming soon version of Feeds v1.5.0, where the concept of Feeds Sources has been removed from pure followers’ view sight. On that version, you will be agnostic to the procedure of connecting Feeds Source when you directly follow the specific feed via scanning QRcode on the “<strong>Explore Feeds” </strong>page. Bingo, the anxiety beginning with experiencing, would be hopefully disappeared.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*_CnMC_KWm1lo0mTwReDPEw.png" /><figcaption>The new version with “Feeds Sources” removed</figcaption></figure><h3>Walk you through as a Publisher.</h3><p>Now, I will walk you through it as a publisher user. Like reality, you will be required to create a publisher account when planning to share your exciting viewpoints or stories. As we all know, you have to set up a Feeds service (now change Feeds source as Feeds service) for yourself to create your publisher account. Click <a href="https://stiartsly.medium.com/deploy-feeds-service-from-the-scratch-39b20b8766f">here</a> will guide you through the whole process of deploying a Feeds service.</p><p>Assuming you have a Feeds service running on your Raspberry device, you can get the Feeds service’s QRcode by opening the browser with the input below:</p><p><strong><em>http://your-feeds-service-ip-address:10080</em></strong></p><p>You would see a QRcode displayed there, which is the exact QRcode of the Feeds service you set up to make a pair. Open the <strong>top-right</strong> menu to enter into the “<strong>Publisher Account</strong>” page and click the button to launch the whole pairing process. It will walk you through the entire process with several steps. Take a coffee, conduct it as the instruction in each step says. Honestly, there is a big room to get improved for the whole process of creating a publisher account, and we will make it when it becomes our top priority.</p><p>After having completed the whole process, you would now be required to create a new feed with an interesting name as a topic. With that feed, you can share your engaging stories or exciting ideas there and publish the feed to Discovery Square on your demand, where people can find interesting topics or celebrities they are willing to follow.</p><h3>Hope you would like it</h3><p>In the last, I hope this article would describe enough to let you understand what the improvement is going on in the next coming version, and it also could be encouraging to us if you’re delighted with it. Now if you really like this Feeds, please help us <strong>star </strong>the repository of this project <a href="https://github.com/elastos-trinity/feeds-capsule">here</a>. We really appreciate it, Good luck.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2600aeacc8c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Hive Node Service on Docker based on Ubuntu-18.04]]></title>
            <link>https://stiartsly.medium.com/deploying-hive-node-service-on-docker-based-on-ubuntu-18-04-7cd5ce3dfeac?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cd5ce3dfeac</guid>
            <category><![CDATA[elastos]]></category>
            <category><![CDATA[distributed-storage]]></category>
            <category><![CDATA[hive]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Thu, 14 Jan 2021 08:45:07 GMT</pubDate>
            <atom:updated>2021-01-21T03:20:04.150Z</atom:updated>
            <content:encoded><![CDATA[<p>As a production environment, we strongly recommend using Hive Node service on Linux system, especially on Ubuntu or Debian LTS version.</p><p>Here is a detailed guide that will walk you through the entire process of deploying a Hive Node in Dockers on the Ubuntu 18.04 LTS.</p><h3>1. Python3 and Docker are required</h3><p>Before beginning the deployment, you need to be sure that <strong>Python3</strong> and <strong>Docker</strong> have already been shipped on the target server. Generally, there is python3.6 already built-into the Ubuntu 18.04. About <strong>Docker</strong>, run the snippet of commands below to install Docker when no Docker found:</p><pre>$ curl -fsSL https://get.docker.com -o get-docker.sh<br>$ sudo sh get-docker.sh<br>$ sudo usermod -aG docker your-userid</pre><p>Notice: <em>here </em><strong><em>your-userid</em></strong><em> is the user identity you login onto the target system.</em></p><h3>2. Download source package</h3><p>After the Docker environment having been settled, you will need to logout from the target server and login again to make Docker work effectively. Remember that you will be unable to carry out the installation unless <strong>Python3</strong> and <strong>Docker</strong> are being shipped.</p><p>You can now download the released source code package from <a href="https://github.com/elastos/Elastos.NET.Hive.Node/archive/release-v2.0.1.tar.gz">here</a> and unpack it onto your target server, or just run the command below:</p><pre>$ curl -fsL https://github.com/elastos/Elastos.NET.Hive.Node/archive/release-v2.0.1.tar.gz -o release.tar.gz<br>$ tar -xzvf release.tar.gz </pre><h3>3. Start the installation</h3><p>Enter into the source code folder, directly run the command to install the Hive node service:</p><pre>$ /bin/bash -c “$(curl -fsSL https://www.trinity-tech.io/hivenode/scripts/run.sh)&quot; -s docker</pre><p>Because we introduced Elastos DIDs into our sign-in system on Hive Node, you need to input mnemonic when deciding to deploy a Hive Node on your own. Recommend to use <strong>elastOS </strong>application to generate a new DID and export the mnemonic to use it here. And also need to be noticed that this DID must have been published on DID Sidechain.</p><p>As you input the mnemonic, you will be asked to input <strong>passphrase</strong> and <strong>secret</strong> next. The <strong>passphrase</strong> would be the one generated along with the mnemonic if you were requiring with the option <strong>passphrase</strong>. If no passphrase was bred with the mnemonic, skip the input. You can input any strong password string when asking you to enter the <strong>secret</strong>.</p><h3>4. Checking the installation</h3><p>After that, get a coffee and wait for the installation to finish. It would not take you much time. As the whole process is completed, you can use the command to check the installation succeeded or not.</p><pre>$ docker ps</pre><p>In the case of success, you will see two docker instances running on your target server as <strong>hive-node</strong> and <strong>hive-mongo</strong>.</p><p>There also is a simple API to check whether the Hive node service is running correctly:</p><pre>$ curl -XPOST -H “Content-Type: application/json” -d ‘{“key”:”value”}’ http://YOUR-HIVE-NODE-IP:5000/api/v1/echo</pre><p>With success, you will get a response something like:</p><pre>{“key”:”value”}</pre><h3>5. Talking about ‘.env’</h3><p>Under the directory of the Hive Node source code, you can see the whole content of config file<strong> .env</strong> displayed below:</p><pre>DID_RESOLVER=http://api.elastos.io:20606<br>ELA_RESOLVER=http://api.elastos.io:20336<br><br>DID_MNEMONIC=&quot;street embark patrol frequent insect slot good model list armor absorb ripple&quot;<br>DID_PASSPHRASE=<br>DID_STOREPASS=password<br><br>HIVE_DATA = ./data<br><br>HIVE_SENTRY_DSN =<br><br>HIVE_PAYMENT_CONFIG=./payment_config.json<br><br>MONGO_HOST=hive-mongo<br>MONGO_PORT=27017<br><br>DID_INFO_DB_NAME=hive_manage_info<br><br>RCLONE_CONFIG_FILE_DIR=./.rclone<br><br># hive node release<br>HIVE_VERSION=1.0.0<br>HIVE_COMMIT_HASH=279b15650a86b16dcba289e74a09290ff225c69a</pre><p>Here the Hive node service uses the MainNet of ELA Chain and DID Sidechain. In this case, you will need a mnemonic to import the DID being published on MainNet of DID Sidechain already. While planning to deploy a Hive node working on TestNet, you must fill a mnemonic to import the DID being published on TestNet of DID Sidechain. Keep in mind that the resolver addresses for ELA chain and DID Sidechain should keep consistent with the ledger environment on which the DID has been published.</p><h3>More advanced configuration available later</h3><p>Now, the service entry-point of the Hive node would look like as:<br><a href="http://your-server-ip:5000/"><strong>http://YOUR-SERVER-IP:5000</strong></a><br>You can set it up with a <strong>Nigix</strong> server as a gateway and enable the use of the <strong>https </strong>protocol to secure the communication between client and server. We will document a specific guiding article for this configuration later.</p><p>In the last, we will highly appreciate the click to <strong>star </strong>our repository of <strong>Hive Node</strong> at <a href="https://github.com/elastos/Elastos.NET.Hive.Node">https://github.com/elastos/Elastos.NET.Hive.Node</a>. Hope this time we can stand together for taking back the control rights of our data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cd5ce3dfeac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Elastos DIDs used in Feeds Capsule]]></title>
            <link>https://stiartsly.medium.com/understanding-elastos-dids-used-in-feeds-capsule-5856de54ea57?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/5856de54ea57</guid>
            <category><![CDATA[decentralized-identifier]]></category>
            <category><![CDATA[elastos]]></category>
            <category><![CDATA[feeds]]></category>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 15:16:11 GMT</pubDate>
            <atom:updated>2021-01-13T04:35:00.498Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding Elastos DIDs in Feeds Capsule</h3><p>When we talk about the differences between Feeds capsule and Twitter, the big one is that we use Elastos DID to make sign-in instead of the traditional way of username/password system or OAuth2 method, both of which are being fully controlled by the single central authority.</p><p>“Decentralized identifiers (DIDs) are a new type of identifier that enables verifiable, decentralized digital identity. A DID identifies any subject (e.g., a person, organization, thing, data model, abstract entity, etc.) that the controller of the DID decides that it identifies” Quoted from <a href="https://www.w3.org/TR/did-core/#dfn-decentralized-identifiers">W3C DIDs specification v1.0</a>.</p><p>From the explanation above, there are three natures implicitly contained in the DID definition. First, DID can identify any subject in the real world or even a virtual concept. In Feeds, we use Elastos DID to identify the user willing sign-in Feeds. We also use Elastos DIDs to identify Feeds capsule application and Feeds back-end service to authenticate each other for interaction.</p><p>Second, a DID should be a decentralized digital identity, which means any central authority can not determine it’s generation. Therefore, there is no censorship on the DIDs for creation and destruction. With Elastos DID SDKs, you will easily create a new one or import an existing one onto elastOS and later use it to sign-in Feeds capsule on the user’s behalf.</p><p>Last, DIDs were mainly designed for verification purposes without any third-parties involved. When users sign-in Feeds, it will open up elastOS to request the user’s approval for specific Elastos DID with a confirmation pop-up. As the user aware of all risk information and click the “Confirm” button, elastOS will internally issue a credential to the Feeds capsule to declare the authorization that it becomes an agent of the user of that DID. While adding a new Feeds service, elastOS also will be granted by the user to issue a credential to Feeds capsule and remotely sign-in Feeds service with it.</p><p><a href="https://github.com/elastos/Elastos.DID.Method/blob/master/DID/Elastos-DID-Method-Specification_en.md">Elastos DID specification</a> has been designed on <a href="https://w3c-ccg.github.io/did-spec/">W3C DID Specification Working Draft</a>, with a subset of W3C DID, and conforms to the W3C DID specification requirements. Elastos DID infrastructure is composed of Elastos DID Sidechain and Elastos SDKs with Java/Swift/C supported for Linux/Windows/macOS platforms.</p><p>Developers can easily manage Elastos SDKs to create a new Elastos DID as an identifier to a person or an application. Once an Elastos DID was created, it would actually generate an Elastos DID document containing information associated with the DID.</p><p>Here is a simple example of Elastos DID document.</p><pre>{&quot;id&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J&quot;,<br>  &quot;publicKey&quot; : [ {<br>    &quot;id&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J#primary&quot;,<br>    &quot;type&quot; : &quot;ECDSAsecp256r1&quot;,<br>    &quot;controller&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J&quot;,<br>    &quot;publicKeyBase58&quot; : &quot;t6447T9G7rBPGvhvCesCRUCCiyFtkfzxiB5QLENg2PS8&quot;<br>  } ],<br>  &quot;authentication&quot; : [ &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J#primary&quot; ],<br>  &quot;verifiableCredential&quot; : [ {<br>    &quot;id&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J#name&quot;,<br>    &quot;type&quot; : [ &quot;BasicProfileCredential&quot;, &quot;SelfProclaimedCredential&quot; ],<br>    &quot;issuer&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J&quot;,<br>    &quot;issuanceDate&quot; : &quot;2020-11-10T02:32:38Z&quot;,<br>    &quot;expirationDate&quot; : &quot;2025-11-09T02:32:38Z&quot;,<br>    &quot;credentialSubject&quot; : {<br>      &quot;id&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J&quot;,<br>      &quot;name&quot; : &quot;didapp3&quot;<br>    },<br>    &quot;proof&quot; : {<br>      &quot;type&quot; : &quot;ECDSAsecp256r1&quot;,<br>      &quot;verificationMethod&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J#primary&quot;,<br>      &quot;signature&quot; : &quot;rxZ7r-B6YgV3SVz3gy32-jlmLnzqr8EiTr1jEkJZauUp1lSqk9_QYGn2QwKNPFOOIGxCpLGj91DkWETIjTU6wg&quot;<br>    }<br>  } ],<br>  &quot;expires&quot; : &quot;2025-11-10T02:32:38Z&quot;,<br>  &quot;proof&quot; : {<br>    &quot;type&quot; : &quot;ECDSAsecp256r1&quot;,<br>    &quot;created&quot; : &quot;2020-11-10T02:45:41Z&quot;,<br>    &quot;creator&quot; : &quot;did:elastos:ijYUBb36yCXU6yzhydnkCCAXh7ZRW4X85J#primary&quot;,<br>    &quot;signatureValue&quot; : &quot;1hUkfAqboBd2_Y78UsNKOQ1KzkubvxsO4F7DU4krXFNR_M5W091zosZ65DEyGnVZxFytBrVbabpiMu23qxnT2A&quot;<br>  }<br>}</pre><p>Elastos Sidechain, as a distributed ledger, would store all the published DID documents as transaction data. When users decide to publish the DID on the DID Sidechain, it means the whole DID Document would be accessible to anyone for verification purposes on signature data or the credentials related to this DID.</p><p>In general, Elastos DID is the core technology to the Elastos ecosystem. I hope it would be a good start to educate our developers and users. With hope, I will keep addressing more explanatory articles like this to help understand Elastos technologies more deeply.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5856de54ea57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Feeds service from the scratch]]></title>
            <link>https://stiartsly.medium.com/deploy-feeds-service-from-the-scratch-39b20b8766f?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/39b20b8766f</guid>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Sat, 09 Jan 2021 10:11:38 GMT</pubDate>
            <atom:updated>2021-02-10T02:09:05.388Z</atom:updated>
            <content:encoded><![CDATA[<p>Since Feeds capsule is living on Google Play Store now, the users who love to write on Twitter, Facebook, are worth trying to experience it. The distinct differences from Twitter are that Feeds is a new type of social network with decentralized back-end services in parallel running anywhere and by anyone, without any concerns of the censorship from monopoly authority as Twitter usually does.</p><p>Once a user decides to run a Feeds service by himself, he would naturally control all his publication data on the feeds. With Elastos DID (aka SSI) as a user identifier, no one could arbitrarily freeze the account to make the publication. Once you onboard on the Feeds, you will find more exciting specialties as long as you care about privacy in your heart.</p><p>Let’s say less and experience more. Assuming you are not new green to the Linux system, I will walke you through the whole process of installing the Feeds service with the Debian package on Ubuntu 20.04 LTS.</p><p>Here are the released packages at the address on <a href="https://github.com/elastos-trinity/feeds-service/releases.">here.</a> You will see each history version of the Feeds service application. We will strongly recommend you to install the newest version to get the best experience so far.</p><p>At the time of this writing, the latest version would be v1.4.0 at <a href="https://github.com/elastos-trinity/feeds-service/releases/tag/release-v1.4.0.">here.</a> The package with the name <a href="https://github.com/elastos-trinity/feeds-service/releases/download/release-v1.4.0/feedsd_1.4.0_amd64_ubuntu_2004.deb"><strong>feedsd_1.4.0_amd64_ubuntu_2004.deb</strong></a> would the right one to be installed on Ubuntu 20.04 with amd64 architecture.</p><p>Prepared with Ubuntu-20.04 as a VPS server or your local device, you will need to download the right Debian package named above onto your target folder $YOUR-PATH. Then open the “terminal” to run the commands as:</p><pre>$ cd $YOUR-PATH<br>$ sudo dpkg -i feedsd_1.4.0_amd64_ubuntu_2004.deb</pre><p>Then you will see the confirm with “yes/no” to accept the disclaimer declaration or not. I hope you would choose “yes” to continue the rest of installation.</p><p>After a moment, the Feeds service would be successfully installed on your system. You can use the commands below to check the running status of that service either using as</p><pre>$ ps -e | grep feedsd</pre><p>or using as</p><pre>$ sudo systemctl status feedsd</pre><p>Run both commands would see the result to show the existence of the feedsd service or not.</p><p>To notice for the case of willing to install the Feeds service on a raspberry device, you would be better to choose the Debian package with name <a href="https://github.com/elastos-trinity/feeds-service/releases/download/release-v1.4.0/feedsd_1.4.0_armhf_raspbian.deb"><strong>feedsd_1.4.0_armhf_raspbian.deb</strong></a>. The later steps would be the same as described for Ubuntu 20.04 LTS.</p><p>Now, you have your Feeds service running on your Ubuntu-20.04. The next step is to pair your DID with this Feeds service to claim the ownership.</p><p>I will write another article to describe the whole pairing process (or called the binding process) soon and hope you will keep your eyes on it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39b20b8766f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Announcement of Feeds Capsule as Native Android application]]></title>
            <link>https://stiartsly.medium.com/the-announcement-of-feeds-capsule-as-native-android-application-a6527967847?source=rss-c95a7cb754d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6527967847</guid>
            <dc:creator><![CDATA[Zlong]]></dc:creator>
            <pubDate>Sat, 09 Jan 2021 03:08:17 GMT</pubDate>
            <atom:updated>2021-01-09T03:20:15.399Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*7abkHzJXgYICUpyYOFGEQg.png" /><figcaption>To explore more feeds for your interests</figcaption></figure><p>Feeds Capsule is the new-style of decentralized social application where users remain in full control of their owned data.</p><p>Compare with other classic centralized social applications, Feeds has the distinct characteristics of the following list:</p><ul><li>Use the up-to-date mechanism to make the sign-in onto back-end services with the user’s own DID, without any risk of leakage of your credential and single-point failures;</li><li>With the decentralization of Feeds services, users have freedom of choices to get access to more different back-end services, which would be beneficial to the diversity of service contents;</li><li>With the decentralization of Feeds services, it shows that the Feeds services can be run by anyone and empower them with the full control of their owned data;</li></ul><p>Due to Feeds is a social application with a decentralized style, when you decide to experience Feeds, it’s better to create an Elastos DID ahead and publish it onto Elastos DID sidechain, then you can use this DID as your identifier to get sign-in the application.</p><p>To be noticed, when you are being sign-in Feeds, it will open elastOS native application to request for your approval from DID dApp inside elastOS. As long as the request has been confirmed and approved on behalf of your expected DID, then it would be considered that you truly signed-in Feeds, which is the centralized way of authorization and authentication with DID involved, no censorships from any third-party servers at all.</p><p>After you signed-in Feeds, congratulations, you can experience the most same features as other popular classic social applications already have.</p><p>However, if you want to publish a blog or share interesting or brilliant ideas on Feeds with others, you have to set up the Feeds service on your own, and paired with it the owner. With that, you can create a feed as a topic or channel with a suitable name, so that you can share your interesting ideas on this feed.</p><p>Now, we have different platform versions for Feeds service living at <a href="https://github.com/elastos-trinity/feeds-service/releases">https://github.com/elastos-trinity/feeds-service/releases</a>. You can deploy Feeds service as a standalone application on macOS, or install the corresponding Linux packages on Linux VPS or even raspberry device. You are strongly recommended to deploy the Feeds service with the latest version.</p><p>In the last, we hope you would find the critical missing piece of the current internet — ownership and also controls of your data. You also would be welcome to fire any questions about Feeds on telegram: <a href="https://t.me/feedscapsule">https://t.me/feedscapsule</a>.</p><p>Visit here to start your experience : <a href="https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds">https://play.google.com/store/apps/details?id=io.trinitytech.dapp.feeds</a> .</p><p>Be enjoying, be fun with Feeds.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6527967847" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>