<?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 Edward Pratt on Medium]]></title>
        <description><![CDATA[Stories by Edward Pratt on Medium]]></description>
        <link>https://medium.com/@edpratt?source=rss-f6f47a8e0533------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*coNVbMXZwTwHI7aCZC6SDQ.jpeg</url>
            <title>Stories by Edward Pratt on Medium</title>
            <link>https://medium.com/@edpratt?source=rss-f6f47a8e0533------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:14:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edpratt/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[A Guide to Colour in Figma Design Systems]]></title>
            <link>https://medium.com/@edpratt/a-guide-to-colour-in-figma-design-systems-ee1de6cf0bbc?source=rss-f6f47a8e0533------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee1de6cf0bbc</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[design-system-tips]]></category>
            <dc:creator><![CDATA[Edward Pratt]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 16:47:55 GMT</pubDate>
            <atom:updated>2025-02-10T16:47:55.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vAdVZnJJZL_2vHBT15E9NA.png" /></figure><p>The evolution of design systems in Figma has brought significant advancements in how colour is managed. Initially, Figma styles were introduced to maintain colour consistency across designs. However, as the complexity of projects grew, these styles became limiting, especially when managing multiple themes, brands, and user interface states. This led to the introduction of colour tokens and, more recently, Figma’s variables, which have revolutionised the way designers and developers collaborate.</p><p>In this article, I will walk through how to create your own colour tokens inside your design system, including the use of Figma’s ‘Modes’ feature for Light + Dark modes.</p><h3>What Are Figma Token Variables?</h3><p>Figma’s variable feature is a powerful update that brings design and development closer together by mimicking how tokens are structured in code. Variables allow designers to define and reuse colour, spacing, and other design properties dynamically across a design system. This is particularly useful for designing light and dark modes effortlessly, as well as supporting different layout densities (e.g. compact vs spacious) using spacing tokens.</p><p>For B2B SaaS products with multiple clients and branding requirements, Figma variables streamline the process of managing different themes and branding guidelines. Instead of manually updating colours across designs, designers can switch between predefined variable modes to instantly reflect different branding or accessibility requirements.</p><h3>How to Build a Colour System</h3><p>A well-structured colour system consists of different categories that help maintain consistency and usability across a design system:</p><ul><li><strong>Neutral colours</strong>: Greys and shades, including opacities.</li><li><strong>Semantic colours</strong>: Success, error, warning, and focus indicators.</li><li><strong>Branding colours</strong>: Primary, secondary, and other identity-related hues.</li></ul><h4>Colour Palettes</h4><p>Start by creating colour palettes for each of the above categories and relevant subcategories. Each colour palette generally contains <strong>10 tonal values </strong>derived from a root colour (usually the palette’s middle value, 500). These tones include <strong>5 lighter tones and 5 darker tones </strong>(I use a Tailwind style naming system, e.g 50–950). Once you have your colour palettes, you can begin creating <strong>Primitive</strong> and <strong>System</strong> token sets which will be used to represent the base values of these colour palettes within your wider token system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0UWzWJhI58J4Ej25_btsEg.png" /></figure><h4>Primitive vs System Token Sets</h4><p>When creating colour tokens in Figma, it’s important to differentiate between <strong>Primitive Tokens</strong> and <strong>System Tokens</strong>.</p><p><strong>Primitive Tokens</strong></p><ul><li>These are the core values of a colour system, typically consisting of raw colour values (HEX or RGB). They define the fundamental hues and shades that can be referenced by system tokens. Example: Gray-900, Blue-500, or Brand-100.</li><li>They<strong> </strong>are usually a direct representation of your colour palette, and should rarely change once created</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXenmvfgffl6Vj5CoCFyVA.png" /></figure><p><strong>System Tokens</strong></p><ul><li>These reference primitive tokens and are applied directly to UI elements. They are designed to be adaptable, ensuring that light and dark mode variations can be easily swapped. For instance, Background-Primary could reference Gray-100 in light mode and Gray-900 in dark mode.</li><li>They are used to distinguish roles that give the design system its character, from color and typography, to elevation and shape. Multiple system tokens will often reference the same primitive or “root” colour token.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LyskhZMzykk7rbzQweTlA.png" /></figure><ul><li>When naming system tokens, I prioritise the following elements accordingly: Use case/application (e.g background, foreground, border), colour type (e.g Neutral, Semantic, Brand) and State (e.g Idle, Hover, Click).</li><li>For clarity and maintainability, token State names should align with component state naming conventions within the design system. This alignment enhances cross-team collaboration, ensuring that designers and developers share a common language when applying styles to UI elements (e.g Idle, Hover, Click, Focus, Disabled, Read Only, etc)</li></ul><h4>Light + Dark Mode</h4><p>By leveraging this structure, switching between Light and Dark modes is seamless. Designers only need to adjust the mappings within the system tokens rather than redefining colours across all components. This approach ensures consistency, scalability, and ease of maintenance within a Figma design system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3TAQzQjkhbh09BIRvnyew.png" /></figure><p>Ensuring accessibility is crucial — colours should adhere to <strong>web accessibility guidelines</strong> and pass <strong>basic contrast checks</strong> (an image of target contrast values can be referenced for guidance).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K2aW_yHnB-HgjRLthR5tFQ.png" /></figure><h3>Simplify Systems by Removing Redundancy</h3><p>Through experience, it becomes evident that the more streamlined a design system is, the more likely it is to be adopted successfully. Complexity often leads to inefficiencies, where too many token variants go unused or add unnecessary confusion to the design workflow. By simplifying token structures, teams can create a more intuitive and maintainable system.</p><h4>1. Unifying Token Groups</h4><p>Instead of maintaining excessive token categories, designers can consolidate them into more manageable groups:</p><ul><li><strong>Surface and Background tokens</strong> can merge into a single ‘Background’ set.</li><li><strong>Text and Foreground tokens</strong> can become a unified ‘Foreground’ set, which may also include stroke colours.</li></ul><p>This process reduces the cognitive load for designers and developers, making it easier to select and apply the correct tokens.</p><h4>2. Using Semantic Naming</h4><p>Tokens should be named based on their intended use rather than arbitrary colour names. Instead of naming a colour token Blue-500, a semantic approach such as Primary-Idle or Primary-Hover provides clearer context for designers and developers.</p><h4>3. Minimising Redundancy</h4><p>A common pitfall in design systems is the overuse of similar shades or unnecessary variations of colours. Conducting a periodic audit to remove unused or redundant tokens ensures the system remains lean and effective.</p><h4>4. Aligning Tokens With Development</h4><p>By structuring tokens in a way that mirrors development practices, designers can create a seamless transition between design and code. For instance, ensuring that design tokens in Figma align with CSS variables or Tailwind classes helps maintain consistency across teams.</p><h3>Conclusion</h3><p>Colour tokens in Figma have evolved to provide flexibility and efficiency in modern design systems. However, for a system to be truly effective, it must be simple and intuitive. By unifying token groups, using semantic naming conventions, eliminating redundant tokens, and aligning design with development workflows, teams can create a scalable, maintainable design system that is easy to adopt and implement. In the end, the success of a design system is not just in its complexity but in how effortlessly it integrates into daily workflows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee1de6cf0bbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coin Control in Bitcoin TXs]]></title>
            <link>https://medium.com/@edpratt/coin-control-66887ba185b7?source=rss-f6f47a8e0533------2</link>
            <guid isPermaLink="false">https://medium.com/p/66887ba185b7</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Edward Pratt]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 15:01:20 GMT</pubDate>
            <atom:updated>2025-02-10T15:02:05.897Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AdT9YKfSqfEkZHjaUpdJdg.jpeg" /></figure><p>Coin control is the process of choosing which <a href="https://bitcoin.design/guide/glossary/#unspent-transaction-output-utxo">UTXOs</a> (or “coins”) to use as inputs when making an on-chain bitcoin payment. For payments on the lightning network, coin selection is only relevant for the transaction that opens the lightning channel.</p><p>Coin selection can be <a href="https://bitcoin.design/guide/how-it-works/coin-selection/#automatic-coin-selection"><strong>automatic</strong></a>, and handled by the wallet application. Or it can be <a href="https://bitcoin.design/guide/how-it-works/coin-selection/#manual-coin-selection-aka-coin-control"><strong>manual</strong></a>, letting the user control which coins are used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q2YKMns27BbLLoG628kPtA.jpeg" /></figure><h3>Constraints</h3><p>There are a few constraints that you should have in mind when considering the coin-selection strategy for your product.</p><p>First, the transaction must have sufficient funding. For example, to send X, the transaction inputs must at least equate to X.</p><p>Second, as blockspace is limited, miners prioritize transactions by <em>fee per byte</em> to maximize revenue. The minimum relay fee must accompany transactions for confirmation (therefore, inputs must equal X + fee).</p><p>Third, transaction outputs must have a value of 500 sats or more. Anything less than this value is considered a “dust” output, and these transactions are often not relayed and confirmed by most nodes and miners in the network.</p><p>Finally, wallet owners need to label their incoming and outgoing (change) coins. Labels provide context to a wallet’s transaction history and coin provenance, making it easier to successfully employ coin control for privacy optimization.</p><h3>Optimizations</h3><p>Whether an automated or manual process, coin selection is important when understanding how to optimize our bitcoin payments for either cost, speed, or privacy. Below is a breakdown of the three most common effects of coin selection.</p><h4>Cost</h4><p>Miners select transactions based on their fee, measured by the fee rate of satoshis per byte. Therefore, it is cost-effective for users to minimize transaction size by minimizing the number of inputs.</p><h4>Speed</h4><p>Higher fees will increase the likelihood of your transaction being prioritized by miners and included in the next block, thereby increasing the speed of your transaction being confirmed.</p><h4>Privacy</h4><p>Because each UTXO can be traced backward on a public ledger, we can unearth the digital footprints of bitcoin payments. Privacy is often lost due to the exposure of unknown coins, addresses, balances, and economic activity to unrecognized trading partners. Privacy can be optimized by selecting transaction inputs from an anonymity set (CoinJoins or mixers) or a recognized label or cluster or reducing the size of change outputs.</p><h3>Automatic coin selection</h3><p>This strategy has arguably become the most popular form of coin selection used in bitcoin wallets and applications. The application selects the coins on behalf of users to fulfill a payment request. As mentioned above, “fractions (of bitcoins) are retrieved by an algorithm to fulfill the payment amount”. This algorithm varies from wallet to wallet, and is dependent upon the desired outcome of optimisation.</p><p>Automatic selection strategies can provide a near frictionless user experience and are suitable for most introductory level bitcoin wallets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyYbJ8GMPszMn-7Y_kvSOQ.jpeg" /></figure><h3>How it works</h3><p>A user chooses to send a payment to one of their <a href="https://bitcoin.design/guide/payments/contacts/">contacts</a>. They enter the amount of bitcoin they wish to send, select their transaction fee rate, and approve the outgoing payment request. During this process, their wallet <strong>automatically</strong> selects which coins to use to fund the transaction’s inputs, ensuring it can fulfill the payment request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9Hz7uStqJSvf6yw4nb2kw.png" /></figure><h3>Examples</h3><p>Below are some popular algorithms currently implemented by bitcoin wallets that optimize for speed and lower fees:</p><h4>First In First Out (FIFO) / Last In, First Out (LIFO)</h4><p>The default strategy spends the oldest/youngest coins first.</p><h4>Pruned FIFO</h4><p>Similar to FIFO, but the smallest coins are filtered out in the post-selection step.</p><h4>High Priority First</h4><p>Coins selected by priority (calculated by value x age). Up until February 2016, a portion of each block (50kB) was reserved for high-priority transactions by default. This algorithm, therefore optimised for transaction speed.</p><h4>Minimize Fees (Optimize Size)</h4><p>Spending the lowest number of coins to reduce the byte size of the transaction, resulting in a lower fee.</p><h4>Minimize Future Fees (Merge Coins)</h4><p>Spending the maximum number of inputs to merge coins as a single change output for future use. This strategy can optimise for speed as the transaction size (and therefore cost) is increased. However, merging coins can also lead to a loss of privacy as coins, their addresses, balances, and historical transaction data are intertwined.</p><p>Below are algorithms that optimize for privacy</p><h4>Target Sized Change</h4><p>Wallet aims to minimize the value difference of target input and change output.</p><h4>Branch &amp; Bound (BnB)/Exact Change</h4><p>Wallet finds an input set equal in value to the target, avoiding change outputs. If the wallet cannot find an exact match, it refers back to a “knapsack” solver which selects inputs that minimise the change output to within 0.01 BTC.</p><h4>Blackjack</h4><p>Accumulates inputs until the target value (+fees) is matched, does not accumulate inputs that go over the target value (within a threshold).</p><h4>Accumulative</h4><p>Accumulates inputs until the target value (+fees) is reached, skipping detrimental inputs.</p><h4>Freezing Coins</h4><p>Freezes certain coins or clusters from their wallet’s UTXO pool to either prioritize or avoid using when funding outgoing payment requests. This technique aids automatic selection strategies to become more private but also relies on the practice of successfully labeling coins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y8S5ua3EEl6c_AC1FVlJzg.jpeg" /></figure><h4>Pros ✅</h4><ul><li>Low friction</li><li>Optimizes for cost, speed, or privacy</li><li>Minimizes change outputs and decreases balance exposure</li></ul><h4>Cons ❌</h4><ul><li>Doesn’t optimize for all three features (speed, cost, privacy)</li><li>Can select UTXOs associated with targeted dusting attacks, resulting in privacy loss</li><li>UTXOs selected from unrecognized clusters can expose private data of wallet addresses, balances, and contact payment information.</li><li>Reducing the inputs doesn’t usually optimise for minimal change outputs, exposing larger amounts of sensitive wallet data.</li><li>Freezing UTXOs prevents coin selection algorithms from using them, so the resulting transaction may not be properly optimized.</li></ul><h3>Best practice</h3><h4>When to use</h4><ul><li>New users or introductory level wallets</li><li>Wallets specifically optimizing for either cost, speed, or privacy</li></ul><h4>When not to use</h4><ul><li>When privacy is a top priority to users</li><li>When wanting to provide a more custom experience for bitcoin transactions</li></ul><h4>Products that use this scheme</h4><ul><li><a href="https://bitcoinj.org/">Bitcoinj</a> and Bitcoin wallet for Android, <a href="https://bitcoin.org/en/bitcoin-core/">Bitcoin Core</a>, <a href="https://brd.com/">Bread Wallet</a>, <a href="https://electrum.org/#home">Electrum</a>, <a href="https://www.godaddy.com/forsale/hexawallet.io?traffic_type=TDFS_BINNS2&amp;traffic_id=binns2&amp;">Hexa</a> Wallet, and <a href="https://www.godaddy.com/forsale/hexawallet.io?traffic_type=TDFS_BINNS2&amp;traffic_id=binns2&amp;">Mycelium</a></li></ul><h3>Manual coin selection (a.k.a coin control)</h3><p>Manual coin selection gives users full control over exactly which coins or clusters they use to fund a transaction input for an outgoing payment request.</p><p>Manual coin control is often an “opt-in” strategy, agreed to by users as they enter “Private Mode” or select “Manual Coin Selection” when creating an outgoing payment request. However, it is also possible for bitcoin wallets to use manual coin control as their default coin selection strategy.</p><p>This strategy allows users the ability to choose what they wish to optimize for in bitcoin transactions (cost, speed, or privacy). However, it’s worth noting that manual coin control, whilst beneficial to many, could also lead to expensive, slow, or revealing transactions if misused. Manual coin selection is an advanced feature and should be used (and designed) with caution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FK3UsyuzcaqT4zeVZeemmw.jpeg" /></figure><h3>How it works</h3><p>A user chooses to send a payment to one of their contacts. They enter the amount of bitcoin they wish to send, select their transaction fee rate, “opt-in” for manual coin selection (or by default), select which UTXOs will fund the transaction input, and finally approve the outgoing payment request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lQLM3jMw9EVYuS1LDAP30A.png" /></figure><h4>Pros ✅</h4><ul><li>Gives user full control over coin selection. They can choose to optimize for privacy, cost, or speed</li><li>Good labeling allows users to prioritize recognized clusters and minimizes the exposure of data</li><li>Can reduce dust attacks (avoiding choosing minute or unknown UTXOs for payment inputs)</li></ul><h4>Cons ❌</h4><ul><li>Inexperienced users may end up making mistakes that result in higher fees, slower transactions, or a loss of privacy</li><li>Can lead to dust attacks if not careful selecting sizes of UTXO inputs</li><li>Bad labeling of contacts and clusters can lead to sensitive information being exposed</li></ul><h3>Best practise</h3><h4>When to use</h4><ul><li>Wallets-oriented towards advanced, privacy-focused bitcoiners</li><li>When wanting to give users full control of selecting transaction inputs</li><li>When paired with good labeling practices</li></ul><h4>When not to use</h4><ul><li>Introductory level bitcoin wallets</li></ul><h4>Products that use this scheme</h4><ul><li><a href="https://bitcoincore.org/">Bitcoin Core</a>, <a href="https://btcpayserver.org/">BTCPay Server</a>, <a href="https://chaincase.app/">Chaincase</a>, <a href="https://samouraiwallet.com/">Samouri</a>, and <a href="https://wasabiwallet.io/">Wasabi</a></li></ul><p><em>Written for </em><a href="https://bitcoin.design/"><em>Bitcoin Design</em></a><em> guide</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66887ba185b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passwordless Authentication Pt.2: Sign in with Lightning ⚡️]]></title>
            <link>https://medium.com/peakshift-way/passwordless-authentication-pt-2-sign-in-with-lightning-%EF%B8%8F-50537d8740d9?source=rss-f6f47a8e0533------2</link>
            <guid isPermaLink="false">https://medium.com/p/50537d8740d9</guid>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Edward Pratt]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 13:56:44 GMT</pubDate>
            <atom:updated>2022-12-13T13:56:44.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UKhvr2wSyWSkrItz" /><figcaption>Sign in with Lightning ⚡️</figcaption></figure><p>Most of today’s traditional Web 2.0 applications require users to create accounts before or whilst using their online services. This is usually done with an email + password combination, or perhaps some form of <a href="https://medium.com/peakshift-way/passwordless-authentication-pt-1-41af62212309">passwordless authentication</a> method such as “Sign Up with Google”.</p><p>If you already have a maker profile on BOLT🔩FUN, you’ll have noticed that instead of using traditional authentication methods such as the ones above, we instead allow makers to “Sign in with lightning”. But what is lightning authentication, and how does it work?</p><h3>How “signing in with lightning” works</h3><p>Bitcoin’s lightning network, often shortened to “lightning”, is a second layer network that allows you to send bitcoin almost instantaneously, for free, and anywhere. It was built to solve criticisms bitcoin was facing around transaction speed, cost, and privacy issues with everyday payments. Lightning is a lightweight version of bitcoin with a slight difference in architecture, yet still the same old bitcoin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/0*k0DjoBPLtDOVDnBu.jpeg" /></figure><p>Like bitcoin, the lightning network uses the same public-private key encryption protocol, which allows users to spend their coins from a wallet. But how does this relate to account creation and authentication?</p><p>Simply put, “Sign in with lightning” services allow users (more accurately, their wallets) to create anonymous account IDs by generating a new set of keys for each domain they interact with — a public key (username) paired and encrypted with a matching private key (password). This service avoids the use of emails and passwords entirely, helping users preserve the privacy of their online identities. Instead, users just have to download and setup a lightning wallet on their device, scan a QR or copy + paste it over, and away they go.</p><blockquote>This is similar to approaches like <a href="https://developer.apple.com/passkeys/">Passkeys</a>, which also look at replacing email &amp; password combos with unique identifiers.</blockquote><blockquote>— <a href="https://bitcoin.design/">Bitcoin.Design</a> Guide</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pnr28P432ajN1raueVG4dQ.png" /></figure><h3>Which wallet should I use?</h3><p>Makers can sign in using any lightning wallet that has LNURL-auth compatibility. Below are some of our favourites. Makers can sign in using any lightning wallet that has LNURL-auth compatibility. Below are some of our favourites. You can <a href="https://github.com/fiatjaf/lnurl-rfc">check out a full list of compatible wallets here.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R2GLJod42x3EOidz.png" /></figure><h4>Connect over the web 💻</h4><p><strong>Alby 🐝<br></strong>Alby is a bitcoin wallet extension that lives in your web browser, giving you access to lightning fast payments and authentication. Alby uses WebLN to communicate between web app’s and users’ lightning nodes securely, allowing makers to authenticate their profiles with a click.</p><p>🔗 <a href="https://getalby.com/">https://getalby.com/</a></p><h4>Connect from your mobile wallet 📱</h4><p>First-time lightning user? Then, we recommend getting started with one of the following lightning wallets:</p><p><strong>Breez 💨</strong><br>Breez is a mobile lightning wallet, available on iOS and Android.</p><p>🔗 <a href="https://breez.technology/">https://breez.technology/</a></p><p><strong>Phoenix 🦚<br></strong>Another great lightning wallet, also available on iOS and Android.</p><p>🔗 <a href="https://phoenix.acinq.co/">https://phoenix.acinq.co/</a></p><p><strong>Zeus 🌩<br></strong>Zeus allows you to connect to, and control, your lightning node from your mobile device, making it more optimised for advanced users. Available on iOS and Android.</p><p>🔗 <a href="https://zeusln.app/">https://zeusln.app/</a></p><p><strong>Blixt</strong> ⚡️<br>Another good lightning wallet for first time users, available on iOS and Android.</p><p>🔗 <a href="https://blixtwallet.github.io/">https://blixtwallet.github.io/</a></p><p><strong>BlueWallet 🟦<br></strong>Another good lightning and on-chain wallet for new users. Available on iOS and Android.</p><p>🔗 <a href="https://bluewallet.io/">https://bluewallet.io/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50537d8740d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peakshift-way/passwordless-authentication-pt-2-sign-in-with-lightning-%EF%B8%8F-50537d8740d9">Passwordless Authentication Pt.2: Sign in with Lightning ⚡️</a> was originally published in <a href="https://medium.com/peakshift-way">The PeakShift Way</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passwordless Authentication Pt.1]]></title>
            <link>https://medium.com/peakshift-way/passwordless-authentication-pt-1-41af62212309?source=rss-f6f47a8e0533------2</link>
            <guid isPermaLink="false">https://medium.com/p/41af62212309</guid>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[lightning-network]]></category>
            <dc:creator><![CDATA[Edward Pratt]]></dc:creator>
            <pubDate>Fri, 03 Jun 2022 12:16:48 GMT</pubDate>
            <atom:updated>2022-09-16T11:39:15.121Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0OvJQUb6W5RP9vgGppjzw.png" /></figure><h4>Exploring the UX of passwordless authentication services on mobile &amp; web</h4><p>Passwordless authentication services are a well integrated UX in Web 2.0s ecosystem. These services present different usability, security, and privacy trade-offs for end users. Authentication with Bitcoin (Lightning) could offer an easy to use, secure, and private service for users interacting with Web 3.0 applications.</p><h3>Introduction</h3><p>Most applications built on top of Web 2.0 utilise a form of account authentication. Authentication is the process of verifying identity through the form of account creation, a user action often labelled as Sign Up or Sign In.</p><p>Passwordless authentication, a UX pattern that has grown in popularity over the past decade, is an authentication method in which <em>“a user can log in to a computer system without entering (and having to remember) a password or any other knowledge-based secret. In most common implementations, users are asked to enter their public identifier (username, phone number, email address etc.) and then complete the authentication process by providing a secure proof of identity through a registered device or token.” (</em><a href="https://en.wikipedia.org/wiki/Passwordless_authentication"><em>Wikipedia</em></a><em>)</em></p><p>In this multi-article series on authentication, we will first look at the evolution and rise in popularity of passwordless authentication as a user experience (UX) pattern in web and mobile applications, weighing up the benefits and costs of UX, privacy, and security. Later on, we will dive into the potential Bitcoin’s Lightning Network offers as an alternative authentication method in Web3.0 apps and services.</p><h3>A brief UX history of authentication</h3><p>Many anthropologists and sociologists would agree that human relations are built and rely on trust. The history of authentication most likely goes back to the beginning of human relationships between individuals, families, or tribes. In daylight, friends or tribe members could authenticate their identities through facial or pattern recognition (tattoos, markings, outfits, or armour). At night, when sight was no longer available, sounds, watchwords, or secret passphrases would be used as a form of trusted authentication (speak friend and enter 🧙‍♂️).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF94Jot1FLg4jE3ibL6gGA.png" /><figcaption>Gandalf opening the mines of Moria using mellon, the elvish word for friend</figcaption></figure><p>Fast forward a few millennia to 1989, Tim Berners-Lee births his brainchild — the World Wide Web. Since then, we have witnessed the rise and fall of many web applications and services that offer online surfers the ability to personalise their experience through account creation and authentication.</p><p>An account is a common term for an online “identity” tied to a particular website, application, or service. Accounts often provide users accessibility, whilst at the same time allowing them to become uniquely identifiable to service providers, plus inside, or sometimes even outside, users.</p><p>When creating an online account, users will usually be asked to provide both:</p><p>1. Public information that distinguishes them from others and allows them to be identifiable to a service or users. Think email, username, handles, etc.<br>2. Private information that helps to authenticate (verify, secure, or prove) their ownership of this identity. Think passwords, biometrics, USD or SSH keys, back-up phrases or questions, etc.</p><h3>The evolution of authentication UX</h3><p>A decade ago, authentication experiences would often come in the format of a user inputting their email, password, and other private information that was required by a website, application, or service. Today, we often see users opt for a faster, easier approach which involves less thinking, clicking, and hassle — 3rd party (sometimes referred to as “passwordless”) authentication.</p><p>Most Web2.0 applications will now offer users the ability to authenticate an account (Sign Up for first-time users, Sign In for second timers) using a 3rd party service such as Google, Facebook, Apple, Twitter, Microsoft, etc. Even today, it doesn’t seem so farfetched that websites or applications actively push this form of authentication within their designs as a preferred user journey. This is demonstrated by Sign Up forms that prioritise these services within the UI’s visual hierarchy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4gO1RGfV2WCSdlNDIP4KPQ.png" /><figcaption>Authenticate using email + password (Left). Prioritising 3rd part authentication services (Right)</figcaption></figure><h3>Why do users opt for 3rd party authentication services?</h3><p>Authentication using a 3rd party service such as Google provides benefits to users, such as:</p><p><strong>Less effort:</strong> Let’s be honest, most users are indifferent and will take the path of least resistance. If a user is given a choice between typing in a username, email, and password vs clicking a few times whilst being led through a journey using modals, the outcome won’t be trivial.</p><p><strong>One less password to remember:</strong> Passwords are a security relic of the past. Too often users provide weak, sometimes guessable passwords, including classics such as (111111, password, qwerty123, etc). Users do this to decrease cognitive load and to make remembering passwords easier. This also leads to passwords often being repeated across multiple platforms. One simple data breach on a platform or service on the web can unearth a multitude of privacy and security implications for another service elsewhere. Sign In with Google or Facebook requires only one password, which is still arguably a security flaw, however at least it’s a convenient trade-off and can encourage one strong password vs multiple weak (and all-to-similar) passwords.</p><p><strong>Keychain services are becoming increasingly popular:</strong> Apple Keychain, Google Passwords, 1Password and other services are becoming regularly used as users wish to store their passwords in the cloud. What’s more, these 3rd party services often introduce a best practice of creating a new strong password (usually a 12–24 letter scrambled key) for each new website or service. This is a step in the right direction for security, as users avoid repeating weak passwords across many sites.</p><p><strong>Trust:</strong> I think it’s worth touching on the importance of trust with features such as online authentication. Each time they use them, users demonstrate trust in 3rd party services that are offered in Sign Up pages. Google has been around for decades, so as a user I can be sure that it won’t be going anywhere soon. This allows me to feel confident in using it to create an account elsewhere. That being said, there are some services that have abused the trust given by users with the privacy of their data, so be more cautious if you are unsure.</p><h3>Are these services more or less privacy preserving?</h3><p>Whether we use a 3rd party authentication service (e.g. Google) or not, we often end up registering an online account using the same emails or usernames, and often the same passwords across multiple web and mobile apps. If you’re an iOS user, when looking over your security recommendations, you’ll see that this information is <a href="https://myshadow.org/tracking-data-traces">frequently leaked in data breaches</a>. Companies and hackers amalgamate this data and link it to your identity, location, financial, and other personal information, creating an online profile of you using information that you might not have realised was public.</p><p>In addition, we often unknowingly permit 3rd party authentication services to provide websites and applications additional information such as photos, names, dates of birth, addresses, and more when creating an account. Whilst these services may provide a simpler UX with a few less clicks, we advise you to always be aware of what information and permissions you give out, and to implement privacy preserving practises where possible.</p><h3>Let’s look at some popular authentication journeys</h3><h4>Sign in/up with Email + Password</h4><p>We’ve already discussed some of the obvious downsides to this method, however it is still a popular user journey and worth mentioning. Users type in their email address and password, as well as any other required information by the website or application. No surprises that it requires more mouse and keyboard clicks, as well as the repetitious privacy reducing use of the same emails and passwords across multiple sites. Of course, this method doesn’t always have to degrade privacy, but because of its cumbersome UX, users rarely create new credentials for every website or application.</p><p><strong>User journey:</strong> Clicks Sign Up &gt; Enters email address &gt; Enters (+sometimes repeats) password &gt; Enters any other required information &gt; Clicks Create Account &gt; Confirms account with magic email link</p><p><strong>Privacy:</strong> (Usually) Weak</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gePThbkIWmbbLJRWTBCwA.png" /><figcaption>Sign up using an email &amp; password</figcaption></figure><h4>Sign in/up with Google</h4><p>Below, you can see a user’s journey of signing into or up for a service using Google. Total clicks? 4. Total time? 10 seconds. When we break this down, it’s kind of obvious why users opt for this journey for speed alone.</p><p><strong>User journey:</strong> Clicks Sign Up &gt; Clicks Sign Up with Google &gt; Selects Google Account &gt; Clicks to Confirm Privacy Policy</p><p><strong>Privacy:</strong> Ok</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7zGN9acmoXlv9WjvlgJgTg.gif" /><figcaption>Sign up with Google</figcaption></figure><h4>Sign in/up with Apple</h4><p>iOS users also can create accounts for web and mobile applications using their Apple ID. Apple tries to protect user privacy from 3rd party applications by providing the bare minimum (email and password) in order to create an account on a user’s behalf. In addition, they provide users with the option of sharing or hiding their email address in applications. If shared, apps or websites can identify users by email. If hidden, however, Apple generates a random email address to provide the application or website, then the new address forwards relevant emails and information on to your Apple ID email address for increased privacy. As you can see in the example below, this option is pre-selected for users and therefore actively encouraged as a privacy best practise. Nice job, Steve.</p><p><strong>User journey:</strong> Clicks Sign Up &gt; Clicks Sign Up with Apple &gt; Reviews Privacy Policy &gt; Selects Email Preference (Share/Hide) &gt; Clicks Continue &gt; Enters Apple ID Password (or PIN/biometrics on mobile)</p><p><strong>Privacy: </strong>Good</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2_dspTO1gwAEjUVIzAWcQ.jpeg" /><figcaption>Sign up with Apple, mobile view</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWfwc0_MM2vUGCmTlyH0vw.jpeg" /><figcaption>Sign up with Apple, web view</figcaption></figure><h3>Light(n)ing the way of online authentication ⚡️</h3><p>As we’ve seen, passwordless authentication services are quickly becoming the most common way for users to login to an application or website. These services are fast, easy to use, and require minimal effort from the end user. However, as we approach the dawn of Web 3.0 (a web layer built on decentralised applications and services), both privacy and self-custodianship are becoming increasingly important to users as they interact with a multitude of applications and web services alike.</p><p>Over the past decade, cryptography has made a comeback. Most notably, Bitcoin has realised its potential as an online, decentralised, distributed, trust-less, and censorship resistant payment layer over the web. However, the buck (or more accurately, “bit”) shouldn’t stop at payments. Data storage, messaging, and authentication services are also becoming increasingly popular use cases for cryptographic networks like Bitcoin.</p><p>In Part 2 of this article, we’ll explore the potential that Bitcoin &amp; Lightning can offer for improving online “passwordless” authentication, evaluating both the upsides and downsides of usability, privacy, and security. We will also visualise some designs and potential UX patterns for Lightning authentication on web, positioning it as a low-hanging fruit for non-technical folks to adopt and interact with lightning, whilst realising its potential in this new frontier of web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41af62212309" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peakshift-way/passwordless-authentication-pt-1-41af62212309">Passwordless Authentication Pt.1</a> was originally published in <a href="https://medium.com/peakshift-way">The PeakShift Way</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>