<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Dave Foderick</title>
    <description>The latest articles on Forem by Dave Foderick (@dfoderick).</description>
    <link>https://forem.com/dfoderick</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F273674%2F78d583d8-edd1-4b2f-82dc-4dca17873ebc.png</url>
      <title>Forem: Dave Foderick</title>
      <link>https://forem.com/dfoderick</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/dfoderick"/>
    <language>en</language>
    <item>
      <title>GFTW Hackathon submission: Money Chat</title>
      <dc:creator>Dave Foderick</dc:creator>
      <pubDate>Mon, 25 May 2020 18:22:08 +0000</pubDate>
      <link>https://forem.com/dfoderick/gftw-hackathon-submission-money-chat-15ii</link>
      <guid>https://forem.com/dfoderick/gftw-hackathon-submission-money-chat-15ii</guid>
      <description>&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;Money Chat. A monetized chat application.&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;An Experiment. Users can earn money when chatting. Or they can chat to group and just pay to the platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dfoderick.github.io/money-chat/"&gt;https://dfoderick.github.io/money-chat/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Link to Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vWogaON8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-28d89282e0daa1e2496205e2f218a44c755b0dd6536bbadf5ed5a44a7ca54716.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/dfoderick"&gt;
        dfoderick
      &lt;/a&gt; / &lt;a href="https://github.com/dfoderick/money-chat"&gt;
        money-chat
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Web Monetization chat app
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
money-chat&lt;/h1&gt;
&lt;p&gt;Web Monetization with a Chat application.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://dfoderick.github.io/money-chat/" rel="nofollow"&gt;Click here for live Demo&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
How to use it&lt;/h2&gt;
&lt;p&gt;You should already have a &lt;a href="https://coil.com/" rel="nofollow"&gt;Coil Account&lt;/a&gt; with the Coil browser extention installed.&lt;/p&gt;
&lt;p&gt;Log into app with any name. Payment pointer is optional but recommended if you want to earn money.&lt;/p&gt;
&lt;p&gt;If there are no other users online then you can open the chat in a separate browser to simulate multiple users.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;strong&gt;All messages are sent to all users of the app. Only use the app for testing and demostration purposes.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When you connect to chat with another user then you are sending payments to them. When some else connects to you then they are sending you payments.&lt;/p&gt;
&lt;h2&gt;
Other Projects&lt;/h2&gt;
&lt;p&gt;This project uses &lt;a href="https://github.com/guidovizoso/react-monetize"&gt;https://github.com/guidovizoso/react-monetize&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
TODO&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Show Offer/Answer popups&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/dfoderick/money-chat"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  How I built it
&lt;/h2&gt;

&lt;p&gt;It is a react web app. Messages are exchanged through a back end server. User logs in with a name and (optional) payment pointer.&lt;/p&gt;

&lt;p&gt;There are 2 operating modes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Group Chat&lt;br&gt;
By default when chatting to everyone logged in, you are paying the platform and your payment pointer is not used.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Peer chat&lt;br&gt;
When someone else connects to you then they pay you using your payment pointer. When you connect to someone else then you pay them. UI shows where payments are going (i.e. platform, user A, user B, etc).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Things I learned
&lt;/h2&gt;

&lt;p&gt;Basic monetization to platform with group chat can be enabled. Peer chat is somewhat of a different animal and additional considerations have to be taken into account. &lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources/Info
&lt;/h2&gt;

&lt;p&gt;Uses &lt;a href="https://github.com/guidovizoso/react-monetize"&gt;https://github.com/guidovizoso/react-monetize&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gftwhackathon</category>
    </item>
    <item>
      <title>DEV is monetized</title>
      <dc:creator>Dave Foderick</dc:creator>
      <pubDate>Sat, 23 May 2020 15:04:03 +0000</pubDate>
      <link>https://forem.com/dfoderick/dev-is-monetized-kck</link>
      <guid>https://forem.com/dfoderick/dev-is-monetized-kck</guid>
      <description>&lt;p&gt;Has anyone noticed anything different about dev.to today?&lt;/p&gt;

&lt;p&gt;I did. It is monetized.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JkJcIjBr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/td71kq23vrntkyit6udj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JkJcIjBr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/td71kq23vrntkyit6udj.png" alt="dev.to is monetized"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;DEV is going to be a platform for monetizing your posts.&lt;/p&gt;

</description>
      <category>webmonetization</category>
      <category>gftwhackathon</category>
    </item>
    <item>
      <title>Web Monetization - What it is, What it ain't</title>
      <dc:creator>Dave Foderick</dc:creator>
      <pubDate>Fri, 15 May 2020 01:20:35 +0000</pubDate>
      <link>https://forem.com/dfoderick/web-monetization-what-it-is-what-it-ain-t-1o19</link>
      <guid>https://forem.com/dfoderick/web-monetization-what-it-is-what-it-ain-t-1o19</guid>
      <description>&lt;h3&gt;
  
  
  &lt;strong&gt;Web Monetization (WM) is not for shopping carts!&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;WM is &lt;strong&gt;not&lt;/strong&gt; for traditional e-commerce checkout methods. For shopping carts there is a completely different spec called Payment Request/Payment Handler.&lt;/p&gt;

&lt;p&gt;The Web Monetization spec seems very preliminary, like a early work in progress. Yet I am grateful to get such an early look at what it might become. It holds a vast amount of promise. There are many, many open questions that I will get to as I learn more. I have to take it as it is. Final analysis will come later.&lt;/p&gt;

&lt;p&gt;The current design of Web Monetization is easy to implement. However, as currently implemented, it seems to lack the ability to control what is happening in the back ground. The monetization experience is almost invisible. Probably a primary design goal. Laudable. But also frustrating for control freaks not to see and control the payment stream. For example, there doesn't seem to be a way to specify an amount to send to a web site. I suspect there are a bunch of things going on under the covers and I just don't see them yet. Coil (my monetization provider) seems to be controlling what the web site gets from me and at what rate.&lt;/p&gt;

&lt;p&gt;Anyway, I see two primary use cases for Web Monetization, as proposed.&lt;/p&gt;

&lt;p&gt;1) Adjust user experience according to the user's desire and ability to pay.&lt;/p&gt;

&lt;p&gt;As a web site owner, you will want to detect and respond to the user's payment stream. If user is streaming payments to you then you better do something, otherwise why would they pay you? Shut down ads for paying customers. Provide paywalls for premium content. This is all basic user interface design in the monetization world. All web site owners will need to make basic considerations for monetized users.&lt;/p&gt;

&lt;p&gt;2) Charge for Streaming content.&lt;/p&gt;

&lt;p&gt;Streaming content is where this Web Monetization spec holds the most interest for me. Streaming videos, movies, group chats. The frustrating part of this is that I don't see how to control all the details yet.  &lt;/p&gt;

&lt;p&gt;Also, I should break it down this way.&lt;/p&gt;

&lt;p&gt;A) If you have your own web site then you have control over the monetization policies. You have the &lt;code&gt;monetizationprogress&lt;/code&gt; event as a place to enforce your policies. That's good. But if your policies get complex then there will be a lot of code to write.&lt;/p&gt;

&lt;p&gt;B) If you are a content creator and you can't afford your own web site and custom programming to set up your own monetization policies then you are going to be stuck with whatever your platform provider policies are.&lt;/p&gt;

&lt;p&gt;It is all about policies and control. Basically, for the consumer, its my wallet, my money. I want control over my wallet.&lt;/p&gt;

&lt;p&gt;For content creators, they want control over their content and to set those policies for content delivery.&lt;/p&gt;

&lt;p&gt;In other words, Web Monetization as currently implemented, is not the ideal peer-to-peer electronic cash system.&lt;/p&gt;

&lt;p&gt;Its going to get interesting as we work through this. All thoughts and opinions are subject to change.&lt;/p&gt;

</description>
      <category>webmonetization</category>
      <category>gftwhackathon</category>
    </item>
    <item>
      <title>Web Monetization - The Ecosystem</title>
      <dc:creator>Dave Foderick</dc:creator>
      <pubDate>Wed, 13 May 2020 20:08:02 +0000</pubDate>
      <link>https://forem.com/dfoderick/web-monetization-the-ecosystem-1e57</link>
      <guid>https://forem.com/dfoderick/web-monetization-the-ecosystem-1e57</guid>
      <description>&lt;p&gt;Greetings, everyone. This post begins a series on Web Monetization and serves to document my learning process. &lt;/p&gt;

&lt;p&gt;Background: I have been involved in crypto currencies for a couple years and I am a developer. I have always been interested in paid content using micro-transactions but have not looked at the efforts of the W3C until recently.&lt;/p&gt;

&lt;p&gt;First, the motivation for Web Monetization is important. We know the advertising model is broken and how web tracking affects our privacy. We can do better with a paid model instead of a so-called "free" model. "If you're not paying for the product, you are the product", said someone. If you think about it for a moment, you realize that if you pay for a subscription then you own the subscription. We can use web monetization technology and cryptographic principles to work in our favor instead of against our interests.&lt;/p&gt;

&lt;p&gt;So lets get right to it by listing a few things you will need to know. The following assumes you are a developer who wants to learn how to experience web monetization for yourself.&lt;/p&gt;

&lt;p&gt;Caveat: I am still learning about the ecosystem so please correct me if I am wrong about any of these details.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://webmonetization.org/"&gt;Web Monetization&lt;/a&gt; is "A JavaScript browser API which allows the creation of a payment stream from the user agent to the website". Yes, that means you pay for things over the web. You need a web wallet that holds your funds to pay the web site for content. Many business models are possible but simplistically you pay for stuff instead of getting tracked and having ads thrown at you. Since it is not yet a standard you will also need to download an extension for your browser (called Coil). &lt;/p&gt;

&lt;p&gt;Summary: You will need a wallet with funds in it to pay the web site and you will need to visit a web site that has implemented the Web Monetization API in order to spend your funds. Details at bottom of this post.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://interledger.org/"&gt;Interledger&lt;/a&gt; is the group that seems to be backing everything in this endeavor. It is a payment system that facilitates the transfer of funds and conversion between denominations. It likes the XRP token but will apparently do atomic swaps between crypto tokens and fiat. Not to be confused with an exchange.&lt;/p&gt;

&lt;p&gt;Summary: When you want to get sophisticated then go read up on the Interledger documentation to build back end payment systems. Depending on what you are doing, you may be able to do everything you need with just the &lt;a href="https://webmonetization.org/docs/getting-started"&gt;Web Monetization API&lt;/a&gt; and not have to deal with Interledger.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://coil.com/"&gt;Coil.com&lt;/a&gt; is a friendly consumer facing site that makes it easy to get started experiencing web monetization. It will guide you through the steps of creating and funding a wallet and finding sites that are monetization enabled.&lt;/p&gt;

&lt;p&gt;Before developing you should probably experience things from a user perspective so I leave you with these short steps to get started.&lt;/p&gt;

&lt;p&gt;1) Create an account at &lt;a href="https://coil.com/"&gt;coil.com&lt;/a&gt; and become a member.&lt;br&gt;
2) Enter your credit card info and &lt;a href="https://coil.com/settings/account"&gt;start a monthly subscription for $5 per month&lt;/a&gt;. There are things called a faucet that will probably give you some free XRP tokens but I have not used any XRP faucets yet so I cannot recommend any. Faucets could be a topic for another post.&lt;br&gt;
3) Make sure to install the &lt;a href="https://help.coil.com/using-coil/coil-extension"&gt;Coil extension&lt;/a&gt;.&lt;br&gt;
4) &lt;a href="https://coil.com/explore"&gt;Explore!&lt;/a&gt; There are some web sites available for you to spend the funds from your wallet. Blogs, Videos and Games. As you visit the sites and you authorize their use, the site will become Apps in your &lt;a href="https://coil.com/settings/apps"&gt;Coil Settings&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;That's it for now. Later.&lt;/p&gt;

</description>
      <category>webmonetization</category>
      <category>gftwhackathon</category>
    </item>
  </channel>
</rss>
