<?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 walid on Medium]]></title>
        <description><![CDATA[Stories by walid on Medium]]></description>
        <link>https://medium.com/@wkhori?source=rss-8e42b792459a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*i61eiSvFQ9cPI1y4kstkRA.jpeg</url>
            <title>Stories by walid on Medium</title>
            <link>https://medium.com/@wkhori?source=rss-8e42b792459a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:33:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wkhori/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[Proof-of-Learn — Entry #1]]></title>
            <link>https://medium.com/@wkhori/proof-of-learn-entry-1-3287df3be322?source=rss-8e42b792459a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3287df3be322</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[solana-ecosystem]]></category>
            <category><![CDATA[solana-blockchain]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[solana-network]]></category>
            <dc:creator><![CDATA[walid]]></dc:creator>
            <pubDate>Sun, 25 Dec 2022 18:26:09 GMT</pubDate>
            <atom:updated>2022-12-25T18:26:09.027Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Proof-of-Learn — Entry #1</strong></h3><h3>Dialect Deep Dive</h3><p><strong>Welcome</strong></p><p><strong>Hello World :]</strong> — This is my first official blog post. I have decided to begin with a series called ‘Proof-of-Learn’ (PoL) where I will recap what I have learned by sharing a story of something I have built recently. In doing so, I am hoping to both improve my writing skills and share the cool sh*t I am learning in my journey as a builder!</p><p>For my initial entry, I am going to share my first-hand experience with integrating <a href="https://www.dialect.to/">Dialect</a> into my own dApp, <a href="https://stagesocial.io/">Stage Social</a>, so that you can gain a brief understanding of what this smart messaging protocol has to offer.</p><p>At its core, Dialect is a protocol on Solana (and Aptos) that offers tools for developers to enable messaging and notification features within their applications in the ecosystem. In February 2022, Dialect officially launched their services on Solana Mainnet and announced they had raised $4.1 million to continue building services for messaging and notifications. Just this year, they have managed to secure over 50 integration partners in the ecosystem, and this month they have launched their own native app to showcase the services they offer in their mission to bring SMS utilities to web3. If you are active in the Solana community, chances are you have unknowingly used Dialect services on popular apps like Solsea or Marinade. Today, they are a strong team of about 30 employees who are dedicated to fulfilling their mission in delivering an improved web3 approach to messaging and notifications leveraging direct access to blockchain data and transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Su57lOLUUBeC2laa" /><figcaption>some of Dialect’s largest integration partners</figcaption></figure><p>I initially came across Dialect while building in the Solana space earlier this summer but at the time really could not tell you what they offered past ‘some sort of messaging SDK’. After seeing their demo at the Hacker House in Lisbon in November, and then chatting with the team throughout the annual Breakpoint Conference this year, I came to find out Dialect has so much more to offer.</p><p>After returning from Breakpoint, I decided it was time to get my hands dirty with the Dialect SDK. I was fortunate in that one of my old colleagues was now a part of the Dialect team so I decided to schedule time with him to learn a bit more about the SDK and get some of my initial questions answered. Keep reading to find out how I was able to leverage Dialect in my own app to offer a complete direct messaging service with a seamless integration in just a day!</p><p><strong>Example Use Cases</strong></p><p>Majority of the functionality available to developers at the moment exists in their repos named <a href="https://github.com/dialectlabs/react">‘react’</a> and<a href="https://github.com/dialectlabs/sdk"> ‘sdk’</a> which are both delivered as packages. One thing I love about the Dialect team is their dedication and ability to continue shipping. It has only been about a month since I myself cloned their react repo and there have already been a ton of sweet updates to both their repos <strong>and </strong>the documentation! It looks like in their last commit (which was just pushed this week) they have begun adding support for a third chain, Ethereum.</p><p>Dialect’s ‘React UI’ package offers pre-built UI components that can be used directly inside your React applications. They also deliver individual SDK’s for each chain they support, offering a bit more flexibility in your implementation by allowing you to access the underlying data and functionality offered by Dialect with the freedom to build any custom user interface you like. In my opinion, the best place to start when beginning with their tools is to first clone their react repo so that you can take a look at the example implementations. Dialect currently provides six example repos: bottom-chat-multichain, inbox-multichain, notification-evm, notifications-aptos, notifications-solana, and subscribe-solana. The subscription and notification services are “simple abstractions” of the Dialect messaging service so once you understand how messaging works it’s easy to add these additional features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HOe9PN3pdlnDnruD" /><figcaption>Here is one of Dialect’s examples showcasing two potential implementations for delivering notifications on Solana.</figcaption></figure><p><strong>Adding Messaging to Your App in a Day!</strong></p><p><em>Note, this serves as an example of how Dialect </em><strong><em>messaging</em></strong><em> may be integrated into a </em><strong><em>Solana</em></strong><em> application. Support for other chains or functionality can be added/swapped as needed.</em></p><p>The first step in getting started integrating Dialect into your project is most likely going to be adding the packages: @dialectlabs/react-sdk-blockchain-solana”, @dialectlabs/react-ui using your package manager (npm/yarn).</p><p>After, you will need to create a provider for the Dialect SDK and wrap your App with it. Dialect provides an example of what this looks like in their <a href="https://docs.dialect.to/documentation/messaging/react/basics/preliminary-setup">setup docs</a>. The color theme (light/dark) and a custom style sheet can be passed as props to the DialectThemeProvider to override the default styles. Once you have wrapped your App with the Dialect Provider, you can now use any of their out of the box components within your app. I decided to use both their bottom chat and inbox components to create a full inbox view as well as the typical floating message box we are familiar with across today’s social apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HoM5FzbNK1PyDLwUS-eFPQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vCMwnxfnNeyzfrCPf_5lkg.png" /><figcaption><strong>Left</strong>: Showcasing full page layout using ‘dialect-inbox’ component. <strong>Right</strong>: Common ‘bottom-chat’ component enabling easy access to messages at any point.</figcaption></figure><p>You may have noticed that these look a lot different than the out of the box examples provided by Dialect. In my implementation, I added a custom stylesheet so that the components fit well into my existing pages. Additionally, Dialect offers the ability to add identity providers to your solution in order to display “human readable names instead of wallet public keys”. Natively they offer three resolvers that will map wallet public keys to their designated identity which include their (1) native Dialect dApp profile, (2) Twitter handle -&gt; Cardinal identity, and (3) Bonfida’s Solana Name Service. What is really cool is that Dialect enables you to implement your own custom implementation of the <a href="https://github.com/dialectlabs/sdk/blob/main/packages/sdk/src/identity/identity.interface.ts">identity resolver interface</a> which allows you to map public keys in Dialect to any user data you have stored elsewhere. In my case, I have user profiles for Stage stored elsewhere, yet I am able to map their usernames and profile pictures seamlessly. Finally, using the SDK and adding a custom button, I am able to also add a button to the user profile so that users can create threads directly from the user profile page. Pretty cool, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FPBoJ6YFlK2QDWaj" /><figcaption>Custom identity resolver for <a href="https://stagesocial.io/">Stage Social</a> in action</figcaption></figure><p><strong>Developer Feedback</strong></p><p>I would encourage Dialect to continue to refine their solutions for projects by enabling further customization of their pre-built components. For example, while I was able to add a messaging service to my app extremely fast, it is bulky and may be a confusing user experience due to unneeded components or elements. This will make their product more attractive to developers in the ecosystem as they will be able to bootstrap an even more impressive implementation quickly.</p><p>As I mentioned earlier, Dialect’s commitment to delivering is evident in their continuous updates to their packages, docs, and the development of their flagship app. While I have great respect for this and believe it is the future path forward for innovation, I would like to also encourage them to be patient in their releases in order to ensure diligence. It was quite simple to piece everything together but I did have initial trouble getting the example repos running and found the docs confusing at times and unsure which ones to be following. Luckily, I had a resource available to ask questions but this may not always be the case. Ensuring documentation is cohesive with current releases will be beneficial in continuing to secure support amongst developers.</p><p><strong>The Differentiator</strong></p><p>Outside of their messaging service, Dialect also offers support for notifications. It seems Dialect is currently working to enhance the functionality and flexibility of custom notification systems by enabling custom dashboards for projects to manage notifications which can be seen by the influx of new repositories on <a href="https://github.com/dialectlabs">their github</a> referring to monitoring. Additionally, they are continuing to grow their reach by going multichain first with Aptos and now the recent addition of EVM support.</p><p>What I am personally most excited to see from Dialect in 2023 will be the evolution of what they are labeling as ‘smart messaging’. In my opinion, smart messaging is the enhancement of the widgets we have today in our messages apps. For example, in IMessage you are able to add photos from your photos app or send money using Apple Pay directly from an active messaging window. I am anxious to see how the innovative builders and projects on Solana leverage smart messaging to enable their user’s to take on-chain action directly from a dialect service.</p><p>This month, Dialect <a href="https://twitter.com/saydialect/status/1603426572022579214?s=20&amp;t=9HvewLGgvlEgtQ2Qpz8g7g">launched</a> their flagship Dialect App to showcase first hand what their tool has to offer. They have created a NFT sticker pack system partnering with existing artists in the Solana community. Users who own these stickers will be able to use them as custom reactions in their chats (similar to custom emojis on Twitch or Discord). They have launched their app to allow users to begin signing up and earning packs of stickers. I think what Dialect is doing in order to channel support from existing users is sizable and will enable them to continue to grow their own native community.</p><p>If you’ve made it this far and are excited to try out Dialect, feel free to use <a href="https://www.dialect.to/?type=referral&amp;wallet=6Y37r8vz1d7UoLjZxwpF3U1mUgNoLmiAXdgZmKfVneif">my referral code </a>so that I can earn some more stickers!</p><p><strong>Thank you for reading.</strong></p><p>—</p><p><strong>Resources</strong></p><ul><li><a href="https://www.coindesk.com/business/2022/03/02/dialect-raises-41m-to-bring-smart-messaging-to-solana/">https://www.coindesk.com/business/2022/03/02/dialect-raises-41m-to-bring-smart-messaging-to-solana/</a></li><li><a href="https://twitter.com/saydialect">https://twitter.com/saydialect</a></li><li><a href="https://docs.dialect.to/">https://docs.dialect.to/</a></li><li><a href="https://www.dialect.to/">https://www.dialect.to/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3287df3be322" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>