<?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 scottonchain on Medium]]></title>
        <description><![CDATA[Stories by scottonchain on Medium]]></description>
        <link>https://medium.com/@scottimig?source=rss-eebdfa17bfc1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yBRxEjQJzwLpJVxamIX6hw.jpeg</url>
            <title>Stories by scottonchain on Medium</title>
            <link>https://medium.com/@scottimig?source=rss-eebdfa17bfc1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:55:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@scottimig/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[Onchain Pagerank as Predictor of Post-Airdrop Lifetime Value]]></title>
            <link>https://medium.com/coinmonks/onchain-pagerank-as-predictor-of-post-airdrop-lifetime-value-a0a477ec94be?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0a477ec94be</guid>
            <category><![CDATA[reputation]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[pagerank]]></category>
            <category><![CDATA[arbitrum-one]]></category>
            <category><![CDATA[airdrop]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Tue, 30 Apr 2024 01:11:01 GMT</pubDate>
            <atom:updated>2024-06-17T20:07:45.304Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This is a technical note on lifetime value for onchain airdrops, intended for researchers and analysts.</em></p><p>Onchain token airdrops use various criteria to target specific addresses. Broadly speaking, they attempt to reward highly valued addresses and exclude others, for example those judged to be involved in sybil farming.</p><p>As one example, the Arbitrum airdrop on March 23, 2023 utilized clustering and other <a href="https://github.com/ArbitrumFoundation/sybil-detection">advanced analytics</a> to identify airdrop recipients and exclude sybil farmers and other bad actors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*87s0uRuewKE6maeJnQWHLA.png" /><figcaption>Arbitrum Foundation Github Repository with Sybil Detection Logic</figcaption></figure><p>Of the 2.7 million Arbitrum addresses showing activity before the February 6, 2023 snapshot, only 21.4% claimed ARB tokens from the airdrop. Most of the other addresses were not eligible.</p><p>A very effective way to measure the performance of airdrop targeting is aggregate lifetime value (LTV) of the targeted users. Here, the lifetime value is defined as the total revenue recipients are expected to contribute back to the network, regardless of timeframe.</p><p>In other contexts, such as subscription businesses, LTV is often forecast using techniques from survival analysis, including <a href="https://en.wikipedia.org/wiki/Proportional_hazards_model">Cox regression</a> and similar techniques. Such survival techniques do not directly carry over to the onchain context, but, in the absence of such a standard predictive model, we can use the <em>first year revenue</em> as an approximation of LTV.</p><p>Here, the first year revenue is the amount paid in network fees to the Arbitrum network between March 23, 2023, the date users could first claim the airdrop, and March 23, 2024.</p><p>The 21.4% addresses claiming the Arbitrum airdrop accounted for 62.5% of LTV (as measured in ETH). This points to a healthy airdrop. The small cohort of targeted users were very active in the year after the airdrop, accounting for a majority of the LTV.</p><p>We can compare these results from the historical Arbitrum airdrop with a hypothetical approach. Suppose we have a credibly neutral, algorithmic reputation score, such as <a href="https://octan.network/">onchain Pagerank</a>. We rank addresses in descending order of reputation, then choose the top addresses according to the percentage of the population we want to target.</p><p>Taking the top 21.4% of addresses as ranked by onchain Pagerank, the cohort contributed 73.8% of LTV, an improvement on the actual claims.</p><p>Note that there is a bias in selecting data where the users claimed the airdrop. Users who claim an airdrop may be more likely to continue using the network.</p><p>If we expand to all Arbitrum users who were eligible according to the February snapshot, 22.8% of users were eligible, accounting for 84.6% of LTV. A pure pagerank approach captures 78.8% of LTV.</p><p>This approach is very flexible. Any percentage of Arbitrum addresses can be targeted, with a resulting percentage of LTV captured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*lQnvm2468sYw0YSrw_Xwnw.png" /><figcaption>Fig 1: Percent of addresses and LTV captured by Pagerank in the Arbitrum Airdrop</figcaption></figure><p>Note that a Pagerank-based reputation score has several desirable qualities. It is <a href="https://nakamoto.com/credible-neutrality/">credibly neutral</a>, taking human judgment out of the process. Relative to clustering and other sybil mitigation approaches, Pagerank is less resource intensive.</p><p>As the chart above also suggests, the Pagerank-based approach allows a great deal of flexibility. The airdrop designer can choose a percentage of active addresses to target, resulting in a percent of LTV captured. For the Arbitrum airdrop, the percentage of LTV is always higher than the percent of addresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*cKRNkWrWEizqIS5WyeeFRQ.png" /><figcaption>Percent of users captured and percent of LTV in ETH when ordering by Pagerank</figcaption></figure><p>This demonstrates that, in the case of the Arbitrum airdrop, Pagerank can substitute for more complex, opaque, or manual analytics, producing similar performance with better transparency, credible neutrality, flexibility, and efficiency.</p><p>This work is preliminary and there are a number of open questions:</p><ul><li>How well does this generalize to similar airdrops, for example, the Optimism airdrop? This will be the subject of a followup post.</li><li>The above analysis does not filter for address types, e.g. cex, dex, or dapp. Note that some <a href="https://arbiscan.io/address/0x01bb7b44cc398aaa2b76ac6253f0f5634279db9d">such addresses</a> received an <a href="https://arbiscan.io/tx/0x3ba64d4432f690a70892bf13c171638bf680af72dc28b408e2d19d62a49da6b0">airdrop</a>. How does the analysis above specialize to different kinds of addresses?</li><li>Similar to an ROC curve, the area under the curve (AUC) shown in Figure 1 can serve as a performance metric. In Figure 1, the area is 0.83. This allows us to optimize the various Pagerank parameters by targeting larger AUC.</li></ul><p>In summary, using Pagerank as a targeting mechanism performs very similarly to the targeting mechanisms employed by the Arbitrum foundation. Pagerank has the additional advantages of being flexible, credibly neutral, and relatively inexpensive to run.</p><p><em>I performed this analysis on the </em><a href="https://www.hyperline.xyz/"><em>Hyperline </em></a><em>platform for onchain analytics.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0a477ec94be" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/onchain-pagerank-as-predictor-of-post-airdrop-lifetime-value-a0a477ec94be">Onchain Pagerank as Predictor of Post-Airdrop Lifetime Value</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stablecoins are the New AI]]></title>
            <link>https://medium.com/coinmonks/stablecoins-are-the-new-ai-44346af725f2?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/44346af725f2</guid>
            <category><![CDATA[stable-coin]]></category>
            <category><![CDATA[stablecoin-cryptocurrency]]></category>
            <category><![CDATA[stablecoin-regulation]]></category>
            <category><![CDATA[cryptocurrency-regulation]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Wed, 27 Mar 2024 18:40:54 GMT</pubDate>
            <atom:updated>2024-04-23T23:37:04.589Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmuLjr2v6bO2WV5s9eRGUg.jpeg" /><figcaption>Stablecoins and AI</figcaption></figure><p>In 2019, a data scientist showed me an early version of GPT, along with two complementary algorithms, amusingly named ELMo and BERT. The demonstration absolutely blew my mind. This new model could reply sensibly to questions, write stories, and behave intelligently in ways I had never imagined possible. The early behavior was silly and incongruous relative to what we see today, but it was obvious that this technology was poised to completely change life as we know it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*sRyOcB92-9kOGVIhG3DX5w.jpeg" /><figcaption>ELMo and BERT</figcaption></figure><p>As the data science leader at my company, I demonstrated and explained to stakeholders, restraining myself with some difficulty from pounding the table. Despite good intentions, I found it extremely difficult to communicate a revolutionary change to people who hadn’t, like me, spent years immersed in machine learning and natural language. To others, this looked like an incremental step, or at best, an interesting novelty.</p><p>I believe that we are now undergoing a similar quiet disruption, which will become obvious to all of us in the coming years. The change is represented by widening adoption of stablecoins, onchain tokens pegged to the US dollar.</p><p>As one example, stablecoins are often accepted for everyday payment in Argentina. Rather than holding pesos, which immediately lose their value, many Argentinians prefer to accept and hold stablecoins. Such circular economies are rapidly growing outside of the United States.</p><p>This is disruptive because reserve and auditing requirements are impossible to set in a centralized way. While the entities backing stablecoins can be subject, with great benefit, to clear rules from a regulatory authority, the stablecoin phenomenon itself transcends national borders.</p><p>The emergence of stablecoins echoes the emergence of eurodollars at the end of World War II. Such dollars, held in banks outside the United States, are not subject to the same reserve requirements as dollars held within the US. Similarly, dollar stablecoins exist internationally, often outside of any US authority.</p><p>A new global economic system is, of course, well-positioned to undermine the power of the dollar as an international reserve currency. As economies like that of Argentina grow, spreading across borders, traditional diplomatic tools like economic sanctions lose power and relevance. The effect on sanctions is actually well-covered by mainstream media, but the reporting is diluted by sensationalistic articles about the price of cryptocurrency or the failure of the latest scam exchange.</p><p>For the United States, this is far from a hopeless situation. If the legislature and regulatory authorities move forward with creating rules, for example, establishing auditing and reserve requirements, issuance within the US and similar jurisdictions can be a stamp of approval, showing that a particular stablecoin is reliable and backed by treasuries or an equivalent.</p><p>Highly researched and informed regulation like the proposed <a href="https://www.reuters.com/technology/us-congressional-committee-fails-reach-deal-stablecoin-bill-chair-says-2023-07-27/">Clarity for Informed Payments Stablecoins Act</a> and the <a href="https://defieducationfund.substack.com/p/financial-innovation-and-technology-596">Fit21 Act</a> are a good start for these new assets. On the other side of the spectrum is the uninformed and hyperpartisan S-2669, egregiously misnamed as the <a href="https://www.congress.gov/bill/118th-congress/senate-bill/2669">Digital Asset Anti-Money Laundering Act</a>. The latter has nothing to do with money laundering, and it would destroy any US participation in the international stablecoin economy, by making it impossible for onchain companies to do business in the United States.</p><p>Those of us who follow closely are aware that much of the onchain economy is already unavailable to the United States. The most apparent symptom is geoblocking of a growing number of destinations. The screenshot below is from the fascinating <a href="https://flat.money/">Flatmoney</a> initiative, which provides a decentralized hedge against inflation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*MshvfGvz5Yl66cuFvK-zxw.png" /><figcaption>No Onchain for You, USA</figcaption></figure><p>The entities creating these geoblocks are not motivated by any set of laws. They are, rather, adopting a “safety first” approach to the current climate of regulation by litigation. US-based <a href="https://dydx.exchange/">dYdX</a> blocks its employees from using the very product they develop and support. The predictable result is that large segments of the industry are moving overseas, excluding United States companies and citizens from participating.</p><p>Jurisdictions like Hong Kong, Singapore, the United Kingdom, and the European Union are rapidly building legislative rails to integrate stablecoins and onchain technology into their existing banking systems. This has the very real potential of leaving the United States behind.</p><p>Like many people, when I first encountered stablecoins, I could not get excited about them. An onchain token pegged to the US Dollar seemed boring relative to the libertarian idealism of Bitcoin or the fascinating and vibrant technologies surrounding Ethereum. After following more closely and learning more, I’ve come to realize that stablecoins represent a massive shift in the geopolitical and economic balances of power.</p><p>I hope that, unlike the dismissal exhibited toward AI by stakeholders in 2019, the emergence of stablecoins can become a topic of discussion among informed thinkers, allowing the United States to participate alongside other countries in the new economic era.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44346af725f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/stablecoins-are-the-new-ai-44346af725f2">Stablecoins are the New AI</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Human Judgment and Credible Neutrality in Onchain Reputation]]></title>
            <link>https://medium.com/coinmonks/human-judgment-and-credible-neutrality-in-onchain-reputation-d3fb4c37f8c2?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3fb4c37f8c2</guid>
            <category><![CDATA[reputation]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[onchain]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 00:46:39 GMT</pubDate>
            <atom:updated>2023-11-17T17:55:01.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vUqaPPxDtrg4xMi5ytv9IQ.png" /><figcaption>Careful application of traditional metrics is essential for maintaining credible neutrality</figcaption></figure><p>Blockchain reputation scoring is gaining widespread interest. Coinbase’s <a href="https://www.coinbase.com/blog/request-for-builders-startups-i-would-build-today">Request for Builders</a> from August 2023 includes a call for onchain reputation scoring. <a href="https://octan.network/">Octan Network</a> publishes an algorithmic reputation score based on Pagerank. <a href="https://passport.gitcoin.co/">Gitcoin Passport</a> has its own reputation score, established through linking activities and accounts to an Ethereum address. Even recent KYC innovations like <a href="https://www.coinbase.com/onchain-verify">Coinbase Verifications</a> can be viewed as a simple binary reputation score.</p><p>The emergence of a widely accepted reputation score will unlock new applications, for example:</p><ul><li>It can facilitate innovation in DeFi and lending, similar to how credit scores are used in traditional finance.</li><li>It can enable a warning system for end users, similar to URL filtering, by alerting them to potential scams.</li></ul><p>A meaningful reputation score achieves two key objectives:</p><ul><li><strong>Measurable Quality:</strong> The algorithm can be shown quantitatively to differentiate between trustworthy and untrustworthy entities.</li><li><strong>Credible Neutrality:</strong> The algorithm’s design and implementation avoids any inherent bias regarding any specific group of individuals or entities.</li></ul><p>These two objectives of a meaningful reputation score are inherently at odds with each other, as distinguishing good actors from bad actors relies on subjective assessments.</p><p>Consider <a href="https://tornado-app.org/">TornadoCash</a>, a highly reliable contract deemed malicious by certain regulatory bodies. Some stakeholders consider the reputation of this address very low, while others consider it very high. There is no credibly neutral way to resolve this.</p><p>For a reputation scoring mechanism to be widely adopted, it must meet both of these competing objectives.</p><h4><strong>Translating Quality Measurement to Blockchain Reputation</strong></h4><p>Internet ranking algorithms utilize quality scores like NDCG and Precision@N to evaluate their effectiveness and measure iterative improvements.</p><p>A Precision@N metric, for instance, reports the proportion of highly ranked addresses that are deemed trustworthy. In the blockchain realm, this could include addresses deployed by reputable entities like Uniswap or Aave. It may also be advantageous to include addresses linked to reputable centralized exchanges like Coinbase, or long-standing addresses (EOAs) associated with individuals.</p><p>Initially, a set of 1000-2000 reputable addresses can be curated and reported by the algorithm’s creator. Over time, this set can be standardized with community input. A Precision@1000 metric is then calculated as the proportion of top 1000 addresses that belong to the reputable list.</p><figure><img alt="Precision@N" src="https://cdn-images-1.medium.com/max/1024/1*cprvomMwhg-p740c3liJ7A.png" /><figcaption>Precision@1000</figcaption></figure><p>Because entities like Uniswap employ numerous addresses, a large list can be an output of simple, easily understood rules. For example:</p><blockquote>For a truth set, we treat as reputable all addresses deployed or owned by Uniswap, Aave, Coinbase, or Kraken, along with any EOA with an age greater than five years and more than 10 ETH in historical outgoing transactions.</blockquote><p>An important criterion for such a rule to be widely accepted is that it does not make a subjective judgment about controversial entities. Such entities receive a score from the algorithm, but the evaluation of the algorithm is independent.</p><p>The Precision@N approach can also be used to evaluate the algorithm’s detection of untrustworthy addresses. By compiling a list of known malicious addresses, the metric can be calculated as the proportion of top-ranked addresses which are not malicious. Alternatively, the metric can be calculated as the proportion of malicious addresses found among the bottom-ranked addresses.</p><h4>The Question of Credible Neutrality</h4><p>While metrics like Precision@N provide an objective quality measure for reputation scoring, they inspire questions about <em>credible neutrality</em>. This concept has become fundamental to blockchain research and development, and it can be considered a requirement for any widely-adopted mechanism. <a href="https://nakamoto.com/credible-neutrality/">Vitalik Buterin’s 2020 blog post</a> introduced credible neutrality as follows:</p><blockquote>A mechanism is <strong>credibly neutral</strong> if just by looking at the mechanism’s design, it is easy to see that the mechanism does not discriminate for or against any specific people.</blockquote><p>The central question is: If a truth set for a metric like Precision@N is human-curated, does that compromise credible neutrality of the algorithm?</p><h4>Human Judged Test Sets and Credible Neutrality</h4><p>A human-curated truth set for a metric like Precision@N would raise concerns about credible neutrality if it were used to <em>train </em>the algorithm. However, we can ensure credible neutrality by requiring that the truth set is only used for <em>evaluation</em>, not for training. This means that the algorithm’s mechanism is not biased by the human curation process.</p><p>As a result, the algorithm itself can be considered credibly neutral. It is designed to treat all addresses fairly and objectively, regardless of their perceived trustworthiness or maliciousness as reported in the truth set.</p><p>Certain more advanced considerations carry over from traditional ranking to blockchain reputation scoring, providing additional safeguards for credible neutrality. For example, in internet ranking, it’s common to separate truth sets into “validation” sets and “test” sets. The developer optimizes the algorithm against the “validation” set, but the final quality score is reported from the “test” set. This can prevent degradation of credible neutrality, which may arise from directly tuning the algorithm to the truth set.</p><h4>Conclusion</h4><p>As blockchain technology continues to bring new users, the need for reliable and unbiased reputation scoring becomes increasingly apparent. Achieving a truly meaningful reputation score requires a delicate balance between measurable quality and credible neutrality.</p><p>A framework for objective quality metrics, such as Precision@N, provides a valuable tool for evaluating the effectiveness of reputation scoring algorithms. These metrics measure the ability to distinguish between trustworthy and malicious addresses. However, it is crucial to ensure that these metrics are applied in a way that preserves credible neutrality.</p><p>By limiting the use of human-curated truth sets to <em>evaluation </em>rather than <em>training </em>or <em>implementation</em>, we can ensure that the reputation scoring algorithm remains objective and unbiased. This approach allows us to leverage human judgment while maintaining the algorithm’s neutrality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3fb4c37f8c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/human-judgment-and-credible-neutrality-in-onchain-reputation-d3fb4c37f8c2">Human Judgment and Credible Neutrality in Onchain Reputation</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Friendly NFTs for Digital Subscriptions]]></title>
            <link>https://medium.com/@scottimig/friendly-nfts-for-digital-subscriptions-e8dbccf76c29?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8dbccf76c29</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[subscription-business]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[subscription-models]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Fri, 10 Nov 2023 07:25:10 GMT</pubDate>
            <atom:updated>2023-11-10T16:27:19.477Z</atom:updated>
            <content:encoded><![CDATA[<p>Financial applications are often considered as the core of the cryptocurrency world, while NFTs are treated as peripheral. This may be due in part to the extreme NFT price speculation during the 2021 bull market. It may also reflect the experimental nature of certain NFT applications, like proving ownership of real-world property.</p><p>While non-speculative applications of NFTs are at an early stage of development, I believe they have the potential to become a major part of the cryptocurrency ecosystem. For example, NFTs can disrupt the event ticketing industry, which is ripe for change due to discontent over excessive fees. NFTs can cut ticketing fees by eliminating middlemen and reducing systems engineering overhead. Unfortunately, while NFT ticketing technology is ready, the change is likely to take a long time due to externalities like contracts, network effects, and switching costs.</p><p>Digital subscription, a business model without these headwinds, offers another compelling use case for NFTs. Consumer demand for subscriptions is strong, with<a href="https://www.thebusinessresearchcompany.com/report/subscription-ecommerce-global-market-report"> $119 billion in global revenue in 2022</a>. There is no ceiling in sight, as evidenced by Wall Street’s excitement over <a href="https://scottonchain.xyz/friendly-nfts-for-digital-subscriptions-e8dbccf76c29">Netflix’s 2023 performance</a>.</p><p><strong>What’s Wrong with Digital Subscriptions?</strong></p><p>At present, digital subscriptions are centralized: subscribers can only access features and content from and through the provider’s application. This limits the ability to add new features or offer promotions to subscribers without the provider’s involvement.</p><p>NFT subscriptions break down these limitations of the traditional model. Subscription protocols like <a href="https://unlock-protocol.com/">Unlock</a> allow NFT token-gating across platforms such as Discord, Telegram, and <a href="https://circle.so/">Circle</a>. However, such protocols are limited by the user experience, which is only comfortable to crypto-native users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*vQxvMb-yEN4Ul9fsDiKJWg.png" /></figure><h4>A Seamless Experience for NFT Subscription</h4><p>To reach new users, NFT subscriptions need a seamless user experience that hides the NFT aspect. One way to achieve this is through a centralized site which serves as an on-ramp. The user experience can be completely familiar, without requiring awareness of an underlying NFT.</p><p>The on-ramp for such a subscription can look like a traditional sign-up. The user navigates to a landing page, which requests registration and billing information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*1XTG1QZZS6FxpwfC_ernkA.png" /></figure><p>Once the user has chosen a membership level and provided a credit card, the application mints an NFT and sends it to a wallet tied to the user. This wallet is custodial unless the user provided their own wallet at signup.</p><p>To access online services, such as Discord or Circle, the service requests proof of NFT ownership from the user’s wallet. This can be accomplished through an API call which is invisible to the user.</p><p>A user who signed up with email can later connect a wallet in an advanced setting and transfer the NFT from the custodial wallet. This allows gifting, resale, and other advanced scenarios.</p><h4>Real World Events and NFT Subscriptions</h4><p>Now imagine that the community in question offers real-life events. Perhaps an online community for mindfulness offers in-person yoga classes at a discount.</p><p>Again, NFTs break down this barrier. The community’s mobile application signs a message proving ownership of the NFT, producing a QR code. Another application scans the QR code, enabling the ticket taker to give the discount and admit the subscriber. This crossover to real-world events is not easily accomplished with standard digital subscriptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*FPogqFjdbunRPp1BnPxTfA.jpeg" /></figure><p>In addition, the event in question does not have to be organized by the subscription provider, since anyone can verify a subscription. If, for example, an independent yoga school wants to offer a promotion to members of a mindfulness community, the organizers of the school do not have to coordinate with the organizers of the community.</p><h4>Third Party Services</h4><p>Related online businesses can also offer promotions. The subscriber again signs a message proving ownership of the NFT, which translates to an API call, transparent to the user.</p><p>Such a design allows businesses to leverage each others’ subscriber bases in a synergistic way. For example, Qello, a streaming service for music videos, could offer discounts to Spotify subscribers.</p><h4>How Close are We?</h4><p>The NFT subscription model described here already exists, via technologies like <a href="https://unlock-protocol.com/">Unlock Protocol</a>. Where the existing model falls short is in user experience, which is targeted at those who are already comfortable with Web 3.</p><p>NFT subscription apps are friendly to crypto-native users because their developers and designers are crypto-native. To expand to a non-native population, the application has to hide the underlying NFT behind a traditional sign-up process, allowing the user to access it only when they are ready.</p><p>Imagine if, to subscribe to a mindfulness community, the user had to download Metamask, create a wallet password, write down a seed phrase, and then sign opaque messages. The mindfulness community would never get off the ground, because most subscribers would be uninterested in that learning curve.</p><p>NFT memberships break down barriers and enable implementation without code, but to expand beyond the crypto-native population, the user experience has to be comfortable and familiar. It needs to meet a user where they are, hiding any crypto elements until the user is ready.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8dbccf76c29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NFT Subscriptions for Non-Natives]]></title>
            <link>https://medium.com/@scottimig/nft-subscriptions-for-non-natives-5f9fbf43a1f0?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f9fbf43a1f0</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[subscription-models]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Fri, 03 Nov 2023 04:52:27 GMT</pubDate>
            <atom:updated>2023-11-03T04:52:27.559Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently consulted with a founder who wants to create a subscription-based business, providing forums, chat, media, and a marketplace behind an internet paywall. The founder also wanted to subscribers to have access to real-world events and services.</p><p>My immediate thought was that an NFT subscription model was perfect for this business.</p><ul><li>NFTs can encapsulate most subscription logic, changing a large programming task to a small configuration task.</li><li>The NFT can be used to token gate platforms such as Discord, Circle, and Telegram, leveraging those platforms instead of reinventing them.</li><li>An NFT model enables peer-to-peer benefits. Another business owner may want to directly provide a discount or promotion to subscribers. This is like a coffee shop near an art museum giving a discount to museum members.</li></ul><p>Subscribers to this business were not expected to be crypto-native. I knew that NFT memberships would be easiest for crypto-native users, but thought that there must be a solution that would work for non-natives in a familiar way, making web3 look like web2.</p><p>I connected with a number of smart and energetic builders across companies, looking for an NFT model that would work. While I was impressed with the rapid progress, the demos I saw, live and online, were oriented toward users who were already comfortable with web3.</p><p>I finally gave up on an NFT solution because of this adoption barrier. Companies like <a href="https://circle.so/">Circle</a> have excellent traditional platforms that met most of the requirements, and I recommended using such a platform.</p><p>At this time, most organizations adopting NFT subscription models target crypto-native users. This is easy to see by browsing partner portfolios on websites like<a href="https://guild.xyz/explorer"> Guild.xyz</a>, <a href="https://join.kazm.com/">Kazm</a>, or <a href="https://unlock-protocol.com/">Unlock</a>. Their typical user already has a browser wallet, knows how to navigate signing requests, and is used to interacting with dapps. All of this is a significant adoption barrier for non-native users.</p><h4>Traditional Subscription Models</h4><p>The traditional, non-crypto, internet subscription model looks simple, but implementation can be very complex. Subscription levels, expiry, and recurring billing have many edge cases, and they require deep data integration for both operational and analytic purposes.</p><p>Full stack engineering is usually required, including operational and analytic data stores. An unforeseen change to the service, such as adding an option to pause a subscription rather than cancelling, requires reengineering and data reschematization.</p><p>Products like <a href="https://stripe.com/">Stripe</a> and <a href="https://developer.android.com/google/play/billing/subscriptions">Google Play</a> mitigate this complexity horizontally, and platforms like <a href="https://circle.so/">Circle</a> and <a href="https://www.muvi.com/">Muvi</a> solve it vertically. However, more often than not, these web2 solutions create “walled gardens”, where extensibility requires specialized engineering. For example, giving permission to access a Discord server, contingent on an unexpired Circle subscription, requires a developer.</p><h4>Advantages of NFTs</h4><p>NFT memberships are an ideal way to escape the walled gardens of traditional subscription platforms. The subscriber mints or purchases an NFT with an expiry and renewal, and the NFT gives them the ability to access resources on Discord, Telegram, or Circle through token gating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*Ytna6IXJPBh_JWmheFPGfQ.png" /></figure><p><a href="https://unlock-protocol.com/">Unlock Protocol</a> fills this role, <a href="https://unlock-protocol.com/guides/discord-with-collab-land/">token-gating Discord</a> and other applications and handling <a href="https://unlock-protocol.com/guides/recurring-memberships/">recurring billing</a> through credit cards. <a href="https://join.kazm.com/">Kazm’s</a> product solves similar scenarios, as well as <a href="https://guild.xyz/explorer">Guild.xyz</a>. However, I have yet to see an NFT subscription demo that would work easily for non-native users.</p><p>The current NFT subscription experience is akin to Netflix asking a subscriber to install Metamask and bring fiat onchain before they sign up.</p><h4>My Vision for NFT Subscriptions</h4><p>I would like to see a no-code solution to NFT subscriptions which works transparently for non-native users. A user signs up with a credit card, using an email address or Google SSO. The platform mints and drops an NFT to a custodial wallet, without the user having to know that there was a wallet involved. Token gated sites and apps redirect to a single sign-on experience, which internally provides the NFT for gated access.</p><p>For users who are comfortable with self-custody wallets, there is an advanced setting to transfer the NFT to another wallet, where it can be used in a web3 way.</p><p>The closest thing I have found to this is the UX used in <a href="https://www.uptrip.app/">Uptrip </a>and similar apps. Uptrip scans boarding passes for air travel and drops NFTs to a custodial wallet. The NFTs give members advantages and privileges, and they can be transferred to a non-custodial wallet through the app’s advanced settings. However, these apps do not handle the token gating mentioned above.</p><p>From my recent experience, I can tell that we are closing in on this kind of a UX which will be easy to web2 users. However, as crypto-natives, we are hindered by our blindness to the learning curve. The meme that “UX is crypto’s killer app” is becoming more common, and I think it applies here.</p><p>To onboard the next billion people, we have to make web3 look more like web2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f9fbf43a1f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using BigQuery to Compute PageRank on the Ethereum Blockchain]]></title>
            <link>https://medium.com/coinmonks/using-bigquery-to-compute-pagerank-on-the-ethereum-blockchain-13dfdf1b7b1c?source=rss-eebdfa17bfc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/13dfdf1b7b1c</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bigquery]]></category>
            <category><![CDATA[pagerank]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[scottonchain]]></dc:creator>
            <pubDate>Wed, 25 Oct 2023 17:57:31 GMT</pubDate>
            <atom:updated>2023-11-02T08:49:29.952Z</atom:updated>
            <content:encoded><![CDATA[<p>Coinbase’s “<a href="https://www.coinbase.com/blog/request-for-builders-startups-i-would-build-today">Request for Builders</a>” includes this proposal for algorithmic reputation on the Ethereum blockchain.</p><blockquote>We can make a decentralized protocol which assigns a reputation score to each address or ENS name, based on the graph of onchain data. This is similar to how PageRank scores every website based on the graph of incoming links…</blockquote><p>PageRank serves as a natural starting point for an algorithmic reputation score, as the semantics of internet linking are similar to those of blockchain transactions. Motivated by <a href="https://www.igi-global.com/article/pagerank-and-hodgerank-on-ethereum-transactions/315737">academic research</a> showing promise of PageRank, <a href="https://docs.octan.network/octan-docs-en/overview/welcome-to-octan-network">Octan Network</a> already publishes a reputation score with PageRank among its inputs.</p><p>A direct application of PageRank is to treat addresses as nodes, playing the role of web pages in the traditional algorithm. Transactions between addresses are treated as edges, playing the role of hyperlinks. Following the convention for internet ranking, multiple transactions between two addresses are treated as a single edge, and self-transactions are ignored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*77VrMW6601eiPoIqKnRkdA.png" /><figcaption>A subgraph of the Ethereum ledger with directed edges representing one or more transactions</figcaption></figure><p>Experimenting with this approach, I <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4590362">ran PageRank on all historical Ethereum transactions</a> in Google BigQuery, without need for additional tools like Spark. This is the approach I used.</p><ol><li>Create a table with the transaction digraph for all time, using the Google public dataset bigquery-public-data.crypto_ethereum.transactions.</li></ol><pre>CREATE TABLE<br>  `ethereum_reputation.adjacency` AS<br>SELECT<br>  DISTINCT from_address,<br>  to_address<br>FROM<br>  bigquery-public-data.crypto_ethereum.transactions<br>WHERE<br>  from_address IS NOT NULL<br>  AND to_address IS NOT NULL<br>  AND from_address != to_address</pre><p>2. Create a table with the outdegree for each address.</p><pre>CREATE TABLE<br>  `ethereum_reputation.outdegree` AS<br>SELECT<br>  from_address AS addr,<br>  COUNT(DISTINCT to_address) AS outdegree<br>FROM<br>  `bigquery-public-data.crypto_ethereum.transactions`<br>WHERE<br>  to_address IS NOT NULL<br>  AND to_address != from_address<br>GROUP BY<br>  addr</pre><p>3. Initialize a table assigning the same score to each address. Note that the PageRank iteration does not preserve the sum of scores, and scores will be normalized to sum to 1.0 in a later step.</p><pre>CREATE TABLE `ethereum_reputation.pr` as<br>SELECT<br>  DISTINCT to_address AS addr,<br>  1.0 AS pr<br>FROM<br>  `bigquery-public-data.crypto_ethereum.transactions`<br>WHERE<br>  to_address IS NOT NULL <br>UNION DISTINCT<br>SELECT<br>  DISTINCT from_address AS addr,<br>  1.0 AS pr<br>FROM<br>  `bigquery-public-data.crypto_ethereum.transactions`<br>WHERE<br>  from_address IS NOT NULL</pre><p>4. Run the PageRank algorithm in a loop using the BigQuery WHILEstatement.</p><p>In the code below, the constant 5 is the number of times the algorithm will iterate, and it is set low to illustrate without excessive cost. I found that increasing the constant from 5 to 50 was sufficient for my purposes, as after 50 iterations the subsequent scores had an SSE of less than 4e-5.</p><pre>DECLARE<br>  iteration INT64 DEFAULT 1;<br><br>WHILE<br>  iteration &lt;= 5 DO<br><br>-- CTES are not supported in BigQuery UPDATES, so create a temporary table<br>DROP TABLE IF EXISTS<br>  `ethereum_reputation.tmp` ;<br><br>CREATE TABLE<br>  `ethereum_reputation.tmp` AS<br><br>SELECT<br>  adj.to_address AS addr,<br>  SUM(b.pr/c.out_degree) AS pr<br>FROM<br>  `ethereum_reputation.adjacency` AS adj<br>JOIN<br>  `ethereum_reputation.pr` b<br>ON<br>  adj.from_address = b.addr<br>JOIN<br>  `ethereum_reputation.outdegree` c<br>ON<br>  b.addr = c.addr<br>WHERE<br>  c.out_degree != 0<br>GROUP BY<br>  adj.to_address;<br><br>UPDATE<br>  `ethereum_reputation.pr`<br>SET<br>  pr = tmp.pr<br>FROM<br>  `ethereum_reputation.tmp` tmp<br>WHERE<br>  `ethereum_reputation.pr`.addr = tmp.addr;<br><br>DROP TABLE<br>  `ethereum_reputation.tmp`;<br><br>SET<br>  iteration = iteration + 1;<br><br>END WHILE</pre><p><strong>Notes:</strong></p><p><strong>a.</strong> This query destroys and replaces the pr table, and it can correctly run multiple times in sequence, performing multiple iterations of PageRank each time.</p><p><strong>b. </strong>BigQuery does not support CTEs in UPDATES, so we use the temporary table ethereum_reputation.tmp.</p><p><strong>c.</strong> This version of PageRank does not include <em>damping, </em>the factor d in the mathematical expression for PageRank below. For internet applications, the damping factor is motivated as the probability that a random surfer follows links rather than jumping to a random page. For blockchain, the notion of random jumping is less clear, so damping is suppressed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KdsMP5-Lvj7acJMTFPMZyA.png" /><figcaption>PageRank with Damping Factor d</figcaption></figure><p>Here the sum is over all predecessors p of node n, and D(p) represents the outdegree of p.</p><p>In the query above, we set d to 1, simplifying:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVo7x6HqdR9kt2c3P3Ohzg.png" /><figcaption>PageRank with Damping Set to 1</figcaption></figure><p>If damping is required for future applications, it’s easily introduced to the query in the obvious way.</p><p>5. For most purposes, it’s useful to normalize PageRank scores so that they sum to 1.0. Normalize the scores in a new ethereum_reputation.pr_norm table. In the internet scenario, this makes PageRank the probability that a random surfer clicking arrives at the page.</p><pre>DROP TABLE IF EXISTS<br>  `ethereum_reputation.pr_norm`;<br>CREATE TABLE<br>  `ethereum_reputation.pr_norm` AS<br>SELECT<br>  addr,<br>  pr / (<br>  SELECT<br>    SUM(pr)<br>  FROM<br>    `ethereum_reputation.pr`) AS pr_norm<br>FROM<br>  `ethereum_reputation.pr`</pre><p>This was my approach to computing PageRank in BigQuery with feasible compute resources.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13dfdf1b7b1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/using-bigquery-to-compute-pagerank-on-the-ethereum-blockchain-13dfdf1b7b1c">Using BigQuery to Compute PageRank on the Ethereum Blockchain</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>