<?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 sallygu.eth on Medium]]></title>
        <description><![CDATA[Stories by sallygu.eth on Medium]]></description>
        <link>https://medium.com/@sally_gu?source=rss-5cc9e2d9502b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hj-E9Wb_8DYVwXglnEgXFQ@2x.jpeg</url>
            <title>Stories by sallygu.eth on Medium</title>
            <link>https://medium.com/@sally_gu?source=rss-5cc9e2d9502b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 04:50:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sally_gu/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[From Commodity Speculation to Financial Speculation: the Symbol Game of NFT Derivatives]]></title>
            <link>https://medium.com/iosg-ventures/from-commodity-speculation-to-financial-speculation-the-symbol-game-of-nft-derivatives-449f1a72ed05?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/449f1a72ed05</guid>
            <category><![CDATA[derivatives]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[nftfi]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Tue, 16 May 2023 07:59:16 GMT</pubDate>
            <atom:updated>2023-05-16T08:04:05.360Z</atom:updated>
            <content:encoded><![CDATA[<h3>NFT Speculation Thesis</h3><p>It’s well recognized that the business operations of speculative traders are irregular and uncertain. Perhaps he is a stock trader this year, and next year he may become a crypto trader and next year after that he may shift to be a NFT trader.</p><p>Whatever the trade, he enters it as long as he expects that the returns in it are likely to be higher than in other trades, and he exits when the returns fall below other trades<em> (Admin Smith, The Wealth of Nations).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*srTBxE_KVOEZFWKWSLVjng.png" /></figure><p>NFT Financial Derivatives have the potential to <strong>expedite the transformation from commodity speculation to financial speculation, resulting in tremendous potential ROI.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVPJ6CbFl66BgchZ38yPvQ.png" /><figcaption>Source: History of financial speculation (Edward Chancellor, 2012）</figcaption></figure><p><strong><em>FT &gt; Financial Speculation:</em></strong> It requires a more developed financial market as a foundation, often driven by the process of speculation. The price volatility is high and the price is less sticky.</p><p><strong><em>NFT &gt; Commodity Speculation:</em></strong> It is difficult to create some form of financial market in the short term, and ordinary commodities or capital goods may become the underlying. Price volatility is generally not as high as financial markets and price is more sticky.</p><p>Based on my understanding, <strong>it is impossible to build a sound financial speculation market on top of an immature underlying asset market</strong>. Therefore, I do not think that NFT derivatives will take off shortly. However, <strong>once the NFT market matures, the derivative layer will certainly experience exponential growth in the future.</strong></p><h4>Though huge traction won’t be obesrved in a short term based on the analysis above, legit demand for trading NFT derivatives obviously exist.</h4><p>We can simply divide it into four categories:</p><p><strong><em>1/Speculation:</em></strong> People want to make money by betting bluechip NFTs yet have limited capital &amp; face high transaction fees\royalties to directly flip NFTs in the spot market. (long demand)</p><p><strong><em>2/Yield enhancement:</em></strong> People want to make more money by adding leverage. (long demand)</p><p><strong><em>3/Hedging</em></strong>: People want to hedge risks of holding NFTs. (short demand)</p><p><strong><em>4/Portfolio Diversification:</em></strong> People want to diversify portfolio risks to new asset classes (long &amp; short demand)</p><h4>Furthermore, NFT derivatives also have a strong upward trend in the foreseeable future.</h4><p>FT derivatives market trade volume is about 3x of the spot. Assuming similar dynamics, the short-term best case scenario of NFT derivatives can be at least 3x of spot bluechip NFT volume (Est. $8B). Even if the NFT derivatives market wouldn’t be as large as FT’s, the growing momentum can be expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_IjjIUMAV0zKt9H41auJ0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jRo3xDj8aNGkFXmvY0Yp3g.png" /></figure><p>With the same two characteristics of illiquidity and hard-to-value, the financial evoluation of property is also well suited to be used as a benchmark for NFT development. Benchmarking real estate derivatives (property derivatives): Derivatives on real estate related debt, such as Mortgage Backed Securities (MBS) and Credit Default Swaps (CDS) represent a large market, est. Notional value will be over $10 Trillion.</p><p>In the following sections, a detailed analysis of the NFT futures and options verticals will be unfolded respectively.</p><h3>Futures (Perps)</h3><p>Similar to FT futures trading, NFT futures trading can be <strong>a lucrative business</strong>. NFTperp managed to earn an impressive trading fee from their beta master network within 3 months. OpenSea’s profitability comes from its high fees (2.5%), despite having a smaller trading volume than Uniswap. If NFT’s perpetual trading market becomes popular among high-frequency and prop traders, then even if the trading volume cannot match that of FT perpetual trading, the future fee drawdown will be enough to generate a good profit return.</p><h4>Trader’s feedback</h4><p>To further identify the value and potential user market for the existence of NFT perpetual trading, we captured the following feedback after conducting interviews with dozens of traders:</p><ol><li><strong><em>Mechanism matters</em></strong><em>:</em> should be a fair game (most important)</li><li><strong><em>Incentivization &amp; leverage matters:</em></strong> will join for huge returns</li><li>Don’t care much about the manipulation in spot market</li><li>No loyalty to the platform. First mover doesn’t matter to them.</li><li>Small premium features like social messaging will improve attractiveness</li></ol><h4>Project Comparison</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A5E4GC_l1G_OsDGpxaGUrA.png" /></figure><h4>Case study: NFTperp vs Tribe3</h4><p><strong>A. Similarity</strong></p><p>Both NFTperp &amp; Tribe3 adopted the vAMM design:</p><ul><li>No need real LP, no need order book</li><li>Traders are the counterparty, one trader’s gain is another trader’s loss.</li><li>Both sides of traders will take slippage to open positions (usually 0.5% tolerance).</li><li>By adjusting the k-value, the depth of virtual pools can be dynamically adjusted so as to avoid extreme price fluctuations caused by excessive slippage (The larger the value of K is, the lower the slip point will be).</li><li>All profits and losses are both settled in the insurance fund.osses are both settled in the insurance fund.and losses are both settled in the insurance fund.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UqCD-wREIC5lQpga2cpQ0A.png" /><figcaption>Source: <a href="https://blog.perp.fi/a-deep-dive-into-our-virtual-amm-vamm-40345c522eeb">A Deep Dive into our Virtual AMM (vAMM) | by Perpetual Protocol</a></figcaption></figure><p>A simple analysis of the pros and cons of the three mechanisms — Orderbook, AMM, vAMM — can be found in the following figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXy2tjm4YjmupX7qSEPliQ.png" /></figure><p>B. <strong>Differences</strong></p><p>The main differences between NFTperp and Tribe3 are reflected in the design details of the vAMM mechanism, black swan scenario handling, oracle feeding price and updates (see the figure below). However, it remains difficult to determine which one can find PMF in first place, as success may be highly dependent on whale acquisition capacity and ecosystem development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kc560vXH6ZLIKzgzmwVfEA.png" /></figure><h4>Potential Risks</h4><p><strong><em>Adoption risks</em></strong></p><p>The spec spectrum is limited despite the leverage chances. It’s true that the derivative market lowers the speculation barrier but the mindset is still to treat NFT as FT and <strong>I doubt the necessity to create a market that is infinitely similar to token derivative market even considering certain risk diversification demand existing.</strong></p><p>And there’s no fundamentals (FT mostly owns some basic fundamentals, excluding meme coins) to help traders analyze the strategy. In the NFT scenario, we can only depend on the community moves/sentiments and purely technical analysis to help make a decision, thus pro traders in tradfin area without altcoin trading experience may fear getting burned in the game (best scenario will be 1–2 prop desk traders handing on this business with at most $50M risk position).</p><p>Yet most NFTs are still can be traded as altcoins so from that perspective derivatives on the floor price would make sense. If one day NFT can acquire more value, we can analogize the real estate market. It might still be interesting for people to speculate on the floor price of New York real estate. But <strong>mass adoption definitely cannot be realized in the short term so the thesis will be mostly on the profitability side.</strong></p><p><strong><em>Oracle risks</em></strong></p><p>The biggest tech risk shall be the oracle attack and different kinds of oracle manipulations like MEV bots/front-running arbitrage. The oracle mechanism is very crucial in the whole perpetual exchange building and <strong>I do think most NFT oracle mechanisms are flawed and partly centralized. They are not getting attacked just cuz they haven’t reached a high volume compared with FT perpetual exchanges (limited arbitrage yields) .</strong> The solutions from my mind should be:</p><ul><li><strong>Integrated multi-oracles to avoid single node failure like perpetual protocol.</strong> Manipulation risks can be reduced when different oracle reporters send deterministic data to the blockchain using different data processing mechanisms.</li><li><strong>Source price input from multiple data providers.</strong> The calculation of one NFT collection’s determined pricing can be cross-checked by sales data collected by Dune Analytics, Reservoir, the OpenSea API, or a custom subgraph monitoring OpenSea’s smart contract events.</li></ul><p>But according to my conversations with traders, they actually don’t care much about the manipulation in the spot market. And we have the consensus that the cost of attack would be very large and it wouldn’t be possible unless the derivatives market is 10x larger than the spot market (which is unlikely). Thus filtering only the collections that have a lower likelihood of manipulation would be extremely important. As long as the filtering system makes sense (the same thesis of nft lending), the inherent manipulation risks are not likely to prevent people from speculating.</p><h3>Options</h3><h4>FT vs NFT</h4><p>The prices of each NFT are different over time, just as investors in stock/FT futures will see the prices vary from month to month. And similar to the upstream trade in commodities, NFT has a higher purchase threshold, larger price step and poorer liquidity. Thus retail traders/collectors cannot buy and sell NFTs as they go by immediately receiving one bid/spot price for one NFT as they usually would for FTs/altcoins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*_92DKahb2z5b87pCX74BXQ.png" /></figure><p>As a result, NFT traders have a natural need for more flexible and varied contracts and trading methods. When the liquidity situation is favorable at the moment and they have sufficient funds, traders can choose to purchase spot directly, while when they are in a shortage of capital or have low confidence in the current market, traders can sign contracts for forward delivery to better arbitrage and hedge risks.</p><p>For example, NFT traders can now simultaneously enter into spot contracts to exercise in a few days, forward contracts to exercise in 1 month, forward contracts to exercise in 3 months, and the strike prices of these contracts are generally varied due to different expected market supply and demand conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3LbZ-mbz608VYL7y2xipNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICk7jxfkTcPDybJySyS2_w.png" /></figure><h4>NFT Futures vs Options vs Forwards</h4><p>Futures contracts actually represent those standardized (securitized) forward contracts transferred for sale and purchase on a public exchange (OTC &gt;&gt; Floor). In traditional commodity trading, <strong>spot contracts are traded in decreasing volumes, instead, forward contracts &amp; futures contracts are increasingly traded.</strong></p><p>The differentiation between option contract and futures contract is the buyer of option contract has the right to refuse contract execution if the price falls and the buyer will be charged a premium fee for this right.</p><p>Assuming the option fee for a BAYC option position executed three months later is 3eth/BAYC, the buyer needs to compare the maturity buy spot price with the current contract price to decide whether to sign it or not. For example, if the current spot price is 50eth/BAYC, it’s only beneficial to sign the contract when the maturity spot price rises above 53eth/BAYC. And for comparison, futures contracts can be cost-effective as long as the maturity spot price is higher than 50eth.</p><p>However, if the spot price of BAYC falls below 47eth after three months, the option contract is better than futures because you can refuse to execute the contract and buy the spot directly at that time, in which case the money you saved by buying the spot is more than the option fee you paid. The buyer of an option contract can also transfer the contract to another person at another price, <strong>that means option positions/contracts can be used or aggregated into financial instruments such as ETFs or developed into more complex metamarkets (release more imagination for NFT structured products).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8I-jESiv-cwdtbahV3RMFg.png" /></figure><h4>Project Comparison</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGaq7danVGTZzDLEUyrv5A.png" /></figure><h4>Potential Risks</h4><p>Mainly about adoption risks. Need to educate lay users. In the early stages, traction is likely to be driven by MMs and professional traders.</p><h3>One more thing</h3><p>In the end, I’d love to chat a bit about financial philosophy.</p><p>As early as 20 years ago, internet companies began exploring the commercialization of virtual goods. <strong>The next generation of O2O, instead of online to offline, should be onchain to offchain.</strong> NFTs in art and gaming are just a small demonstration of this non-standard protocol on the blockchain. As more and more off-chain assets are written into the blockchain in the form of NFTs, we may see a new business and financial paradigm based on NFTs in the next cycle.</p><p>Ultimately, the reason why gold is valuable is because people perceive it to be valuable. The US dollar itself is just a symbol of a symbol. The collapse of the gold standard made value a fluctuating signal, and virtual capital does not have to follow the same value principles as the real economy. Market fluctuations are largely determined by the beliefs of symbol holders and their subjective expectations for the future. The abstraction of the trading actions is caused by the symbolization of underlying assets.</p><p>Therefore, <strong>whether the underlying asset represented by this symbol is fiat currency, securities, tokens, or meaningless small pictures, is no longer important. They, like history, are not real, but rather are chosen to be believed in.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XsWm_S0O431SfziEUK1yXQ.png" /></figure><p>A bold prediction is that <strong>what will eventually circulate widely in the market will no longer be value, but purely symbols, meaning, or let’s say “beliefs”.</strong> In the interweaving of hedge, speculation, and ponzi, everything will continue to cycle back and forth as the Minsky cycle.</p><p>It‘s just money, it’s made up :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=449f1a72ed05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iosg-ventures/from-commodity-speculation-to-financial-speculation-the-symbol-game-of-nft-derivatives-449f1a72ed05">From Commodity Speculation to Financial Speculation: the Symbol Game of NFT Derivatives</a> was originally published in <a href="https://medium.com/iosg-ventures">IOSG Ventures</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle 101: Understand Oracle from 0 to 1]]></title>
            <link>https://medium.com/@sally_gu/oracle-101-understand-oracle-from-0-to-1-5806a4dd2809?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5806a4dd2809</guid>
            <category><![CDATA[oracles-network]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Fri, 06 Jan 2023 10:45:02 GMT</pubDate>
            <atom:updated>2023-01-06T10:45:02.476Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uikv3EOSrylK48GtnkMLCg.png" /></figure><h3>Heads-up</h3><p>This paper aims to give a simplest explanation to the concept, value and mechanism of oracle, and thus to help more people understand how to evaluate an oralce project and why I think oracle is a critical direction in Web3.</p><h3>01</h3><p>First, let’s start with the definition.</p><p>In a word, oracle is a middleman between two worlds. Technically speaking, it’s a middleware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZ3lTmveBZUifDFMZKBiVQ.png" /><figcaption>See where it places intutively</figcaption></figure><h3>02</h3><p>Ok, we know briefly what it is. But here comes the problems —</p><p>Why shall we know it? Is it necessary to bridge the two worlds?</p><p>It seems real world and blockchain world are still running without each other, why can’t we just let them be irrelevant?</p><p>A short answer is <strong>the data volume of the two worlds are asymmetries, so that the interdependency is unequal.</strong> In terms of the data variety and richness, blockchain world is like a new-born baby and cannot live without the real world at current stage.</p><p>Smart contract needs the data from real world to operate, but blockchain world cannot provide since it is out of Internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hJpm4bAWGMl37gDIeXvk8w.png" /></figure><p>Without the middleman to play the role of messager, smart contract is like a primitive in the modern society, obtaining zero infomation about what is happening outside the blockchain.</p><p>And this problem is widely recognized as : <strong>the oracle problem</strong>.</p><h3>03</h3><p>To clarify a bit furhter, the key issue here is not about how to get infomation from the real world, instead, it is about<strong> how to trust infomation from the real world.</strong></p><p>As we have perceived, what generates trust is communication rather than just connection. However, off-chain and on-chain cannot communicate with each other by themselve.</p><p>So the intrinsic value of oracle depends on its function of<strong> injecting trust for real world data </strong>by relaying and screening messages<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r7MWuOm5Niv_yCovtrJm3Q.png" /></figure><h3>04</h3><p>At this stage, I reckon things are clearer than before, that is, the value of oracle is about trust and it means a lot to smart contract.</p><p>But still, it is hard to understand what are the differences of oracle projects. They are all providing the communication services and feels the same.</p><p>In a high-level, we can divided oracles as centralized and decentralized ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HYcvoQKWZz-EyE2FOB-noQ.png" /></figure><p>As the diagram indicated, centralized oracle has the advantages like efficiency and feasibility. While the decentralized oracle is more trustable and more secure on account of the multi-nodes and cross-referencing process.</p><p>When the efficiency is not the main purpose, centralized solutions are prone to be the least favourable ones. It is apparent that infomation offered from one provider is likely to be biased and dogmatic, in which case, just like the dictator, the prestige comes from intimidation rather than credibility.</p><h3>05</h3><p>As we have interpreted above, studying decentralized oracles will be more meaningful and significant. Then regarding to the specific assessment approaches, I tend to use an analogue to help you understand:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aQXafBPKffJMjDN35qrcQA.png" /></figure><p>Considering an oracle as a VC fund, based on the nodes provides, it can be divided as two categories:</p><ol><li><strong>Third party oracles </strong>exploiting data provided by node aggregators, like VCs receive deals from FAs/scouts.</li><li><strong>First-party oracles</strong> fetching data by first-hand node providers, like VCs get pitched by projects/founders direclty.</li></ol><p>There’s also some projects like Flux can be referred as <strong>Multi-party Oracles</strong> since they combine the two ways together.</p><p>Similarly, in terms of the data processing, we can consider it as the fund IC meeting. Based on various data processing methods, the price feeds smart contracts get finally are verified in different ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9eRZeFQV2qHcWFpNJqqERg.png" /></figure><h3>06</h3><p>As to the question that how we should evaluate different oracle projects. Fundamentally speaking, we’d better take the three questions below into consideration:</p><ul><li>Whether the node providers are solid?</li><li>Whether the data processing method makes sense?</li><li>Whehter they can get good traction?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QC5sI5ep3zIU9uQCBswBfA.png" /></figure><h3>07</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RjxTKBoLPQMKyoJaVB27dw.png" /></figure><h3>09</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*862eGib8uiSr6FBbzzAFcQ.png" /></figure><h3>10</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpqoI_ADxbVerkpDKz2x4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UD0XB5JwrXYNJy72-42vDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9bnMix3xnxTtGtMK1aqh-g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5806a4dd2809" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A brief take of Web3 Security Industry]]></title>
            <link>https://medium.com/@sally_gu/a-brief-take-of-web3-security-industry-8ba0a19dd551?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ba0a19dd551</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 16:40:12 GMT</pubDate>
            <atom:updated>2023-02-01T09:52:46.415Z</atom:updated>
            <content:encoded><![CDATA[<p>It has been well-recognized that the cyber attacks keep hiking rapidly since the Internet becomes a indispensable component of our daily lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Occ-cXoY_s8tpkIq1x2Iww.png" /></figure><p>As blockchain technology took off, the crypto or web3 world became a new continent for hackers to tap in and make a big splash. Merely Q1 &amp; Q2 2022 alone, the asset losses in web3 has risen to $2B according to the latest report of CertiK. It’s even impossible for us to neglect the deteriorating web3 security environment if you still read the press.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlvKA9ay0AgdVbJUuL6ZWQ.png" /></figure><p>Generally, we can divide the attacks into two categories, one is smart-contract target, another is user-target.</p><ol><li><strong>Smart Contract-target</strong></li></ol><p>Most common attack we perceive towards smart contracts is APT. Both BNB Chain and Transit Swap have suffered millions of loss due to certain attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4ICehw6NUxo7NIU-h2iXw.png" /></figure><p>A decent solution to prevent such tragedies is security auditing, which can help businesses to find and fix the vulnerabilities and bugs of their smart contracts. And we can take a brief look about the industry landscape by the comparison chart below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pe8_kP7azXfYMrPrpGyqmA.png" /><figcaption>A comparison of Hexens, Halborn, Runtime, CertiK, Quantstamp and Slowmist</figcaption></figure><p>2.<strong> User-target</strong></p><p>The astonishing and interesting thing is, actually the most common attack in web3 is scam rather than another sophisticated method. Though the hacking and smart contract attacks cost $1.78B loss in 2021, increased 600% compared with 2020. The on-chain scams cost more than $12B loss, which is 6.7 times bigger than smart contract attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KpqR-vFdF_jWDK-l4ZFrhA.png" /></figure><p>And as to scam, phishing and impersonantion are two typical cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dWAI2CxHDYYlbMJLn140fw.png" /></figure><p>Firewall is one of the most noted ways to solve the scam issue since they provide the alerting and monitoring services to track, analyse and block malicisous domains, addresses and fake tokens. Harpie and Blowfish just successfully raised a significant amount of capital, which can be reckoned as the first shot VC triggered to the whole user-target security industry .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWEMBVMCYS9cvUssFHtezw.png" /></figure><p>To bring more players into our sights, here’s a simple competition comparison I scratched for the current user-target web3 security industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F-K9ZZswhZLtvh9jI979dQ.png" /><figcaption>A comparison fo Harpie, Blowfish, Aegis and Go+ Labs</figcaption></figure><p>As the trend captured increasing attention from both the crypto and non-crypto community, I am proned to believe that savvy builders/experts from web2 cybersecurity will flock to this field, restructureing and refining the web3 security infrastrucure in the near future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGKT7Ljo7zeZb2OttB-X3Q.png" /></figure><p>More than willing to know any other thoughts or insights around this topic and please feel free to contact me if you have a marvelous idea or product to help us make the web3 a more secure place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ba0a19dd551" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Alchemy of NFT: Pricing 101]]></title>
            <link>https://medium.com/iosg-ventures/the-alchemy-of-nft-pricing-101-1f518feb31db?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f518feb31db</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[pricing]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Thu, 04 Aug 2022 10:24:12 GMT</pubDate>
            <atom:updated>2022-08-04T10:24:12.263Z</atom:updated>
            <content:encoded><![CDATA[<p>How can we price the NFT is prone to be an interesting topic considering pricing is an unavoidable intermediate operation, containing both computable and non-computable parts of the problem. It needs to be solved in almost any NFT Fi application scenario. To universally apply NFT to DeFi and completely activate the liquidity of NFT, we first need to make a valuation judgment about the value of NFT as an asset that is as authentic and widely accepted as possible.</p><p>However, NFT is difficult to be valued simply as traditional financial assets due to the three aspects below:</p><p>1. The endogenous <strong>subjectivity and illiquidity </strong>of NFT due to its non-fungibility property.</p><p>2. <strong>The rarity of NFT is relatively ambiguous</strong>. Besides, the rarity and price levels are not in a completely positive correlation.</p><p>3. NFT <strong>prices are dramatically volatile</strong> (often subject to sharp pulls and dumps due to team and policy issues)</p><p>And if pricing mechanisms are not well addressed, then actions such as NFT loaning often struggle to win market trust due to high risk, which in turn leads to two problems.</p><p><strong>(1 ) Lack of sufficient liquidity to support the depth of trading pool ;</strong></p><p><strong>(2) difficulty in structuring diversified financial derivatives in the form of NFTs.</strong></p><p>To tackle this problem, more and more NFT pricing platforms and novel approaches are emerging in the market. Here we can simply divide these pricing solutions into two categories:</p><p>Peer Appraisal: which can be subdivided into<strong> (a) Crowds </strong>and <strong>(b) Spots</strong></p><p>Oracle Appraisal: which can be subdivided into<strong> (a) TWAP </strong>and <strong>(b) off-chain computation</strong></p><h3>1. Peer</h3><h3>a.Crowds</h3><p>Crowds appraisal is a form of pricing that is currently more subjective. The liquidity lending protocol represented by Taker V1 can<strong> whitelist and price NFT in the form of subjective assessment and voting decision by combining the interests of DAO with those of lenders</strong>, thus reducing the risk exposure faced by lenders to a certain extent. At the same time, this approach has no restrictions on the quality requirements of NFT assets and can be widely used for price discovery of long-tail and emerging NFT collections. However, it relies heavily on the curator’s judgment ability, and its inability to provide real-time updated NFT prices makes it less efficient overall as well.</p><h4><strong>Taker V1</strong></h4><p>Taker is a liquidity protocol for NFT that provides liquidity for NFT lending primarily through a DAO that supports multiple forms of assets including NFT, securities, synthetic assets and more. Holding TKR tokens gives you access to DAO membership and participation in making decisions about lending rates and fair pricing, among other designs. At the same time, holding TKR also allows you to earn additional income through staking.</p><p>Taker DAO<strong> has multiple curator DAOs (sub-DAO)</strong>, each of which can control its own whitelist and the floor price of any NFT on the whitelist to prevent borrowers from defaulting. In addition, the members of a sub-DAO decide, through a collective vote, to invest their own treasury funds in specific types of NFT assets. For example, some sub-DAO’s can focus only on Metaverse land assets and some sub-DAO’s can focus only on pfp art assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L5ilU8X25zP_Jdj6" /></figure><h4>Mechanism</h4><ol><li>Community <strong>members (lenders)</strong> deposit capital to DAO</li><li>DAO mints DAO tokens to represent the shares of members</li><li><strong>Curator</strong> (voted by community members) provides subjective appraisal (duration, APR, amount) on NFT collections</li><li><strong>Borrowers</strong> collateralize NFTs to take out loans based on curator’s appraisal price</li><li>Borrowers pays back loans with interests</li><li>DAO members gain from rewards (interest yields)</li><li>DAO members will gain more as DAO grows</li></ol><h3>b. Spot</h3><p>Similar to defi, the pricing mechanism of the liquidity pool works mainly through an<strong> optimistic pledge certificate mechanism</strong>, i.e., a pledge by the liquidity provider based on its own expectations of the price, thus <strong>tying the valuation of NFT to the price of the assets in the liquidity pool</strong>. This is also a pricing approach that relies heavily on the subjective decisions of LPs. The advantage is that it enables real-time valuation of NFTs, linking the transactional value to the true value and further releasing more liquidity. However, it also suffers from complex pricing mechanisms and is not suitable for pricing a large number of low-value long-tail NFTs in a time-efficient way.</p><h4><strong>Abacus</strong></h4><p>Abacus is a simple and straightforward NFT valuation system that primarily uses optimistic PoS to create a liquidity pool based NFT valuation methodology. abacus’ valuation method is divided into two parts — one is the group pricing as we mentioned above, and the other is the liquidity pricing we discuss here. The value within its liquidity pool converted to ETH is equivalent to the value of the open pool NFT. Under this mechanism, <strong>it is equivalent to developing a ETH/NFT trading pair that can reflect NFT prices in real time, akin to opensea.</strong></p><p>Based on its liquidity pool pricing methodology, the complete lending process is shown as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hBmnvkgtGeO0cLeq" /></figure><h4>Mechanism</h4><ol><li>Open the pool</li><li>NFT non-custody, owner need to sign the pool as proof of life</li><li>Owners will receive an NFT(ERC721) token to represent their properties and earn trading fees</li><li>Traders lock ETH in the pool</li><li>Decide the amount of ETH you want to lock: If the pool is at 2eth, but you think the NFT is worth 2.5eth, you can put 0.5eth in the pool and the pool is now worth 2.5eth.</li><li>Decide how long you want to lock: If you think the price will only stay there for a short time, you may want to lock for 2 weeks. On the contrary, if you are confident about the floor price, you can lock longer and get more rewards.</li><li>NFT owners enable emissions</li><li>Owners request loaning</li><li>Transferring ownership to a lending platform</li><li>Lending platform checks spot scale &amp; lock duration</li><li>Lending platform issues a loan</li><li>NFTs will be auctioned immediately once repayment is not executed</li></ol><h3>2. Oracle</h3><h3>a. TWAP</h3><p>A typical way for an oracle to evaluate the pricing of NFT is based on a simple traditional algorithmic trading strategy in which a weighted average of the NFT sales price and the floor price is calculated to obtain a <strong>TWAP (Time Weighted Average Price).</strong> For example, if we want to calculate the TWAP price within the time interval of 1 hour, we can take the difference between the cumulative starting and ending prices P1 and P2, and the difference between the starting time T1 and the ending time T2, and divide the two to calculate the TWAP for the 1 hour. The most well-known TWAP oracles include Chainlink and Uniswap V2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KnXa3k1va6daQbjf" /></figure><p>In fact, TWAP is one of<strong> the easiest and most efficient</strong> ways to reduce the possibility of malicious manipulation and provide an acceptable and relatively accurate NFT price, by simply integrating, crawling and cleaning price data from the NFT trading platform and selecting multiple prices to take the average value within a set time series.</p><p>However, TWAP is not the perfect solution because in extreme market conditions, when prices fluctuate dramatically, TWAP-based oracle is susceptible to be inaccurate. Therefore, TWAP is c<strong>onsidered only suitable for pricing blue chip NFTs with high market activity, good liquidity and relatively stable prices.</strong></p><h4><strong>BendDAO</strong></h4><p>BendDAO is a lending protocol to solve the liquidity problem of NFT. Borrowers can borrow out ETH by staking NFT. Currently, BendDAO can support the lending of nine types of blue chip NFT including BAYC, Cryptopunks, Azuki, MAYC, CloneX, World Of Women, Coolcats, CyberKongz and Doodles.</p><p>The NFT pricing adopted by BendDAO is a typical TWAP pricing method. <strong>In collaboration with ChainLink, it uses multiple nodes to collect the floor price of the NFT on Opensea and LooksRare, uses the contract interface to feed the floor price to the blockchain, and calculates the corresponding TWAP,</strong> thus filtering out the impact of price fluctuations on marketplaces. As can be seen from the following figure for Cryptopunk, the floor price provided by the oracle, the average price and TWAP are consistent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s5_Pr-mpKpNrCnxz" /></figure><p>Similar to BendDAO, other protocols adopting TWAP oracle for pricing include JPEG’D, DeFrag, DropsDAO, Pine, etc.</p><h3>b. Off-chain computation</h3><p>Off-chain computing based on AI and machine learning has also gradually become a new way to NFT pricing oracle. Due to the non-fungibility of NFT, its <strong>main attribute classification, rare features, historical sales data and other valuable information can be used as model indicators through metadata decomposition</strong>. The protocol can then model and process based on this series of indicators and data sets to give a relatively reliable and accurate price or price range.</p><p>This valuation approach has high technical barriers, is relatively friendly to long-tail NFT and <strong>can be considered the solution with the most potential for large-scale application.</strong> However, the problem is that this method requires high computational power and metadata, because the algorithm is not public, we can not determine whether the training and fitting results are effective. In addition, once NFT attributes and characteristics change, the model is likely to fail, so it needs to be iterated continuously.</p><h4><strong>Banksea</strong></h4><p>The oracle protocol represented by Banksea mainly uses AI models to train NFT datasets, so as to generate accurate prediction prices efficiently for different NFT assets. The whole system consists of two modules: the data acquisition layer and the NFT layer.</p><p>At the data acquisition layer, Banksea collects on-chain NFT transactions and listing records to calculate three kinds of prices in real time: market floor price, <strong>AI floor price, and 24-hour average price</strong>. AI floor price represents the lowest value of all AI valuations and plays a role in risk control and stability maintenance when the market has drastic fluctuations or the oracle is attacked.</p><p>At the NFT level, Banksea will extract the multidimensional attributes of NFT, conduct AI model training based on time series, and regularly generate two results: <strong>standard valuation and valuation range</strong>. In addition, it will fit and do the regression to estimate the outcome calculated by the AI model with the real-time transaction prices to optimize the final results and narrow the error margin.</p><p>Banksea’s off-chain pricing process based on AI model can be seen below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CZG_o5fkG43EfRrs" /></figure><h4>Mechanism</h4><ol><li>External API Query: Monitor and capture integrated NFT data from trading platforms, social platforms, public chains, collateral platforms, etc.</li><li>Data aggregation: Clean the collected NFT data, extract their features, and input them to AI nodes</li><li>AI modeling: The AI node clusters conduct model training and deployment based on the input data set, calculate the predicted price and risk score, and return the results to the Banksea smart contract</li><li>Data submission: Remove outliers from smart contracts, extract data within a reasonable interval and submit it to a third-party program</li></ol><p>Except for Banksea, Upshot and NFTBank also provide oracle solutions for accurate pricing of NFTs based on more subdivided ML (machine learning) methods in AI. In addition, community tools such as Defi Kingdom and Axie Infinity integrate AI off-chain algorithms for pricing as well.</p><h3>One More Thing</h3><p>In the end, we can summarize the four specific solution strategies of the two major mechanisms currently on the market towards NFT pricing through the following dimensions.</p><p>It can be seen that there are certain advantages and disadvantages of either valuation method at present. We look forward to more emerging NFT pricing methods being discovered and improved in the near future. Especially for the oracle pricing method of off-chain computing, we believe that with the advancement of technology and the participation of more high-quality project parties, <strong>more AI algorithm technologies such as deep neural network (DNN) can be put into the fitting evaluation function, so that the pricing decision tree can be pruned more accurately and quickly.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*MzLVtJ4WOLdj5VPMBh-mrg.png" /></figure><p>It can be seen that there are certain advantages and disadvantages of either valuation method at present. We look forward to more emerging NFT pricing methods being discovered and improved in the near future. Especially for the oracle pricing method of off-chain computing, we believe that with the advancement of technology and the participation of more high-quality project parties, <strong>more AI algorithm technologies such as deep neural network (DNN) can be put into the fitting evaluation function, so that the pricing decision tree can be pruned more accurately and quickly.</strong></p><p>NFT pricing is analogous to the game of Go, consisting of a series of decisions. It is a complex game that looks simple. We can both use peer intuition to decide the extent, and the oracle algorithm to predict the future.</p><p>If you must pursue the question of<strong> what is a good pricing paradigm</strong>, I think the crux of the problem is perhaps, as Go Seigen said, the greatest Go player in the 20th century, is not <strong>how many times and how far to count, but how wide, how fast and how accurate it is</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f518feb31db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iosg-ventures/the-alchemy-of-nft-pricing-101-1f518feb31db">The Alchemy of NFT: Pricing 101</a> was originally published in <a href="https://medium.com/iosg-ventures">IOSG Ventures</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is God rolling the dice at Web3?]]></title>
            <link>https://medium.com/iosg-ventures/is-god-rolling-the-dice-at-web3-77ef91f7f16a?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/77ef91f7f16a</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[random-number-generator]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Mon, 30 May 2022 14:58:46 GMT</pubDate>
            <atom:updated>2022-05-31T02:16:25.804Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/826/0*UqI3zeJ8mG5b88pR" /></figure><blockquote><strong>“We are all fooled by randomness” — — Nicholas Taleb</strong></blockquote><h3>Randomness &amp; Fate</h3><p>Let’s imagine a scenario. There is a group of extremely rich but extremely bored BTC whales collectively putting up 1000 BTC annually to host a Russian Roulette. <br>They will prepare a revolver which is loaded with only one bullet in a clip which contains six slots, and then pull the trigger on your head. Each pull of the trigger produces an outcome that can be considered as a parallel universe, and thus there are a total of six parallel universes corresponding to different scenarios, each with the same probability of being produced. Five out of the six universes will make you rich overnight and even get to appear on the cover of Forbes, while the only one left will have you dead in an ugly way.</p><p><strong>Are you willing to participate in this game? If so, for once or twice? Or even get involved in every single year?</strong></p><p>It takes some courage and, of course, some intelligence to play this game. 83% has a high chance of winning, which you don’t get that often in daily life. But if some greedy fool chooses to keep playing, the vast majority of them are very probably to be found in the obituary section of the newspaper in 20 years.<strong> </strong>In this hypothetical game of Russian roulette, rules are clearly laid out and the odds are calculated well and so that risks are measured with all conditions disclosed in advance. Yet in the real world most of the time we are actually faced with asymmetric information games. It is not a revolver or a deck of cards that determines our fate. We don’t know how many bullets are there in the clip or how many suits of cards are in the deck. In an infinite number of parallel universes and under conditions of infinite risk, our destiny is undoubtedly unpredictable.</p><p>And this exactly reveals that we are living in a world of randomness.</p><p>As Feynman said, the one thing nature allows us to calculate is merely probabilities. Once we have the superpower of calculating “probability amplitudes”, we can become prophets, to predict and even change the future. <strong>In other words, whoever masters randomness manages the dice of fate and becomes God.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*4oZXtS3ktvB6nhZPf0stHQ.png" /></figure><h3>Random &amp; Secure</h3><p>Translating this thinking to the crypto world, the machine that generates random numbers can be thought of as a messenger of God’s oracles. It is for this role that the oracle gets its name. In past articles on oracles, we have pointed out that due to the transparency of the blockchain system, all algorithms, inputs, and outputs generated on the chain are exposed to the system participants. Therefore random sequences generated directly on the chain can actually be predicted.</p><p><strong>Some typical on-chain random number generation methods, such as the Future Block Hash, have a lot of room for cheating and security vulnerabilities. </strong>As a simple example, if a miner is playing a lottery game that has a winning amount of 10 ETH and a block reward of only 3 ETH, then obviously the miner has the incentive to cheat. He can influence the generation of random sequences by discarding and not releasing blocks (Block Withholding Attacks), thus gaining himself an advantage in the game. This is the equivalent of playing the same game of poker as you and the miner, but they can change the undercards. If this pseudo-random sequence can be tampered with and predicted to Web3 scenarios, it is not difficult to imagine the huge security risk and unfairness behind it: once a hacker or attacker figures out the random algorithm and measures the initial seed of the random sequence, then whether it is the distribution of NFT airdrops, the explosion of the best equipment in GameFi, or the generation of the private key address of the user’s personal wallet , there is a possibility of manipulation and tampering.</p><p><strong>So what kind of random numbers are really trustworthy and secure?</strong> Here we need to do a brief recap of the classification of random numbers first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/0*xt4hei22V0GIeoBz" /><figcaption>Source: IOSG</figcaption></figure><p>Generally, we divide random numbers into two types: <strong>True Random Number (TRN) and Pseudo-Random Number (PRN).</strong></p><p>Among them, pseudo-random numbers can be subdivided into: weak pseudo-random numbers and strong pseudo-random numbers.</p><p>As the word “pseudo” implies, pseudo-random numbers are not truly random. All random numbers generated on the blockchain are also “pseudo”. Essentially, PRNs are seemingly random sequences of numbers output by computer software based on established mathematical formulas and algorithmic instructions, requiring an external input of an initial value to act as a SEED. and contrary to many people’s natural perception, computers can hardly be used to generate random conditions, as they are inherently predictable devices. The components are determined, the wiring is predetermined, the code and algorithmic commands are explicit, and under all sorts of fixed external conditions, we can locate the sequence results by some means (such as the cheating method mentioned above). Hence, as results can be calculated, how could they not be seen as pseudo-random?</p><p>Real TRN is generated by extracting randomness from physical phenomena such as noise, chaos and quantum random processes and introducing it into computers. To put it straight, you <strong>connect a big die off the chain to a computer</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nvng0Atoz_19jR2C" /><figcaption>Source: IOSG</figcaption></figure><p>In terms of nature, <strong>TRN needs to have randomness, unpredictability and irreproducibility at the same time</strong>:</p><p>- Randomness: The sequence is completely disorganized without statistical deviation, but it does not mean that it cannot be seen through</p><p>- Unpredictability: You can’t predict the new sequence even if you know the past sequence</p><p>- Irrepeatability: You cannot repeat exactly the same sequence unless the original sequence is saved</p><p>Strong PRN only satisfies the first two, while weak PRN only has the property of randomness, which is easy to see through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Jt31iII0EAoKcLkA" /><figcaption>Source: IOSG</figcaption></figure><p>When we say that a random number is reliable and secure, at the very least we mean that it cannot be seen through. Therefore, <strong>both unpredictability TRN and strong PRN can be treated as trusted random numbers and introduced to smart contracts. </strong>Weak PRN cannot be applied to cryptography-related scenarios such as key generation, password generation, and so on.</p><p>As for how to generate trusted and secure random numbers, at present,<strong> the most direct and efficient method is to link external API through the oracle and generate encrypted authentication.</strong> Chainlink’s verifiable Random Function (VRF) service, for example, uses an external API to link the test network, validates the generated strong PRN using the public key and the seed of the smart contract, and then transfers it to the smart contract (see figure below). Chainlink’s VRF service mainly charges users through subscriptions. After depositing enough LINK tokens into their accounts, users can send subscription requests to obtain random numbers provided by Chainlink.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*__R9SvW9nd-B4mdk" /><figcaption>Souce: Chainlink Website</figcaption></figure><p>Another example, API3 recently chose to collaborate with the Quantum Optics team at The Australian National University (ANU) to provide <strong>Quantum Random Number Generation (QRNG)</strong> services for various dApp and Web3 products. The whole process is to validate its quantum phenomena-based generated TRN on-chain and then deliver it to requesters (see the workflow below). QRNG is also the only service that currently generates TRN. According to its whitepaper, QRNG provides maximum protection against witch attacks and is completely free to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/0*bOz3dan1gN7W_H5D" /><figcaption>Source: API3 Whitepaper</figcaption></figure><h3>Randomness &amp; Web3</h3><p>After understanding the definition and origin of VRF, let’s talk about a more practical issue: what exactly is the use of random numbers in Web3?</p><p><strong>In fact, random numbers are indispensable in almost all Web3 scenarios.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/0*V_Yo1iFlqJlSdqxJ" /><figcaption>Source: IOSG</figcaption></figure><h4>1. GameFi</h4><p>There are many situations where probability distribution is needed in games, and RPG games are a typical one. Some characters are extremely rare with scarce attributes, while others are just common. Usually, the rarer the character, the higher the value, the more it can help users to obtain high economic returns. In Axie, for example, each elf character has six components, each with different attributes and abilities. The game makers must get the role assignment mechanism right and set the assignment probability as fair as possible, if they want to create a personalized game experience for users.</p><p>In PVP matchmaking, a player’s possibility of winning and the amount of rewards they win depend on the opponent they are assigned to. The unfairness of the game matching mechanism is likely to directly lead to the loss of players. In world exploration games, players’ chances of obtaining rare items and equipment during map exploration also require a probability model that guarantees fairness. As for card games, the order in which players use cards largely serves as the winning hand of the game. In shooting games, the hit rate of shooting and the choice of the location of the character’s resurrection will have a certain impact on the game experience of players.</p><p>Essentially, <strong>all the games mentioned above require a certain degree of unpredictability to enhance the playability of the game</strong>. It is necessary to introduce verifiable random functions to generate unpredictability.</p><h4>2. NFT</h4><p>Just as the character attributes in GameFi have different compositions, the details of NFTs are also composed of different attributes. BAYC’s NFT, for example, consists of seven different attributes: background, clothes, earring, eyes, fur, hat, and mouth, and the rarity of the attribute actually determines the value of that NFT. Both the allocation of rarity and limit on the total number of attributes can be solved by verifiable random function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*SUO7doKPj_WuRMKd" /><figcaption>Source: OpenSea</figcaption></figure><p>In addition, with the establishment and growth of more and more NFT communities, the project party often stimulates the loyalty and activity of members by issuing random NFT airdrop rewards during special festivals or when certain milestones are reached. Which addresses to airdrop and how to ensure the fairness of the airdrop are carefully executed by the project owner according to certain distribution mechanisms. VRF can be considered as a good solution in such scenarios. In fact, most of NFT’s airdrop incentive campaigns today are also carried out by integrating services such as Chainlink VRF.</p><h4>3. DeFi</h4><p>DeFi protocols and algorithmic stablecoin protocols like Olympus often have a rebase process to address share dilution or to incentivize specific market behavior, such as maintaining the price anchor of algorithmic stablecoin. One of the strong “sensitive” variables of the rebase mechanism is its cycle time. If the rebase cycle is set constant for a long time, it is likely to be exploited by short-term arbitrageurs. Therefore, the rebase mechanism can be designed to apply trusted random numbers to determine the approximate period of a change adjustment.</p><p>In some innovative Yield Farming protocols, the reward mechanisms also introduce some volatility to increase user participation. The annualized returns of users with high participation and contribution will be different from those of average or low participation users. Thus, the distribution of reward sizes and the increase or decrease in the magnitude of returns in the pool will need to be adjusted and patterned using random numbers.</p><h4>4. DAO</h4><p>In DAO governance, members are often required to make key decisions for the organization, and a large DAO community may be able to execute day-to-day decisions more efficiently by establishing core management such as a board of directors. The selection and addition of these boards and managers requires a fair and transparent mechanism, and the introduction of trusted random numbers can be considered as the most optimal and convenient option for the establishment of such a mechanism.</p><p>In addition, random numbers can also be used to improve the security of member authentication systems in DAOs, which involve the management of large amounts of funds or specialize in investments, preventing hackers or malicious attackers from reverse-engineering the authentication process and securing the vaults within the DAO.</p><h4>5. The use of VRF in L1 consensus mechanism</h4><p>One of the major problems that new public blockchains need to face is the reduction of security after sharding. Before sharding, all the verifiers in the network verify all transactions together; however, after sharding, these verifiers are equally distributed to each shard for verification, which makes the possibility of each shard being forked (51% attack) much higher. A good solution to this security problem is to make the attacker unable to predict the verifier of each shard in advance, and this requires the introduction of a certain degree of randomness and unpredictability. NEAR Protocol randomly assigns the verifier through the VRF service, thus hiding the information of the specific shard which will be verified by the verifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*410_vBSpHbCANQvC" /><figcaption>Source: NEAR Nightshard protocol</figcaption></figure><h3>Last Words</h3><p>Randomness is fascinating because it implies uncertainty and possibility. Possibility can bring us both hope and fear, and that’s why the debate between determinism and non-determinism stretches to this day. Also, whether God rolls the dice or not is not that important. Maybe everything in the world is moving irrevocably toward the law of large numbers, maybe all fatalistic acquaintances are just probabilities of chance, maybe you, me, and him are just fools walking randomly in Web3.</p><p>But not knowing the answer is always much more interesting than getting a wrong answer. As Carlo Rovelli mentions in his book, “<strong>What’s nonapparent is much vaster than what’s apparent</strong>”.</p><p><strong>Stay foolish, and be in awe of the randomness.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77ef91f7f16a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iosg-ventures/is-god-rolling-the-dice-at-web3-77ef91f7f16a">Is God rolling the dice at Web3?</a> was originally published in <a href="https://medium.com/iosg-ventures">IOSG Ventures</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Random Walk Down VC (01) — Sequoia]]></title>
            <link>https://medium.com/@sally_gu/a-random-walk-down-vc-01-sequoia-99a03bc1774e?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/99a03bc1774e</guid>
            <category><![CDATA[sequoia]]></category>
            <category><![CDATA[vc]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Sun, 01 May 2022 14:44:39 GMT</pubDate>
            <atom:updated>2022-05-01T14:44:39.335Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>A Random Walk Down VC (01) — Sequoia</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JDwxwR5brNiP9IFo" /></figure><blockquote><strong><em>Don Valentine: Gandfather of VC</em></strong></blockquote><p><em>Don Valentine founded Sequoia in 1972, before the terms “Silicon Valley” and “venture capital” had been coined. His original investments includes Apple, Atari, Oracle, Cisco, etc. Prior to founding Sequoia Capital, Don served as a sales and marketing executive at Fairchild Semiconductor for seven years before he went on to establish National Semiconductor. Don obtained his Bachelor of Science in Chemistry from Fordham University in 1954.</em></p><h3>Why sequoia successful</h3><p>We focus on the size of the market, the dynamics of the market, the nature of competition because our object is always to build big companies.</p><p><strong>We don’t choose people, we choose markets.</strong> We don’t care about the background of the founders and we rarely ever invest in an area with only one product.</p><p>Take Apple for example, we finance more than one memory company or disk drive company. Without the memory system, the PC is nothing. Apple found sth. they are needed in Xerox PARC and we finance all these things. This is how we choose to invest on a system application level. We looked at the system and made over 15 investments in the category.</p><p>We also invested in many <strong>inexperienced young people and taught them outsourcing.</strong></p><p>The only thing that matters is they must be very good at <strong>tech and engineering</strong> and that normally took us about six people to start the company. The secondary functional skill we are interested in is <strong>marketing</strong>.</p><p>We think creating a market is too expensive for our checkbook and are more interested in exploring markets early.</p><p><strong>Good people are technologists with no interest in becoming wealthy</strong> and keen on solving tech problems and creating new products.</p><p>Unlike most VC people, we don’t wait for you to knock on our door, we knock on your door. We are actively looking for the right people with the capability to solve the problem we are interested in.</p><p>We have a team with different expertise in developing a knowledge base and market sizing info. We tend to invest application system approach.</p><h3>Why storytelling critical</h3><p>The art of storytelling is incredibly important because money flows as a function of the stories.</p><p><strong>Learning how to ask a question</strong> is way more important than anything in the world (20 words maximum). For many investments we made, we didn’t understand the answers, but we constantly worked on developing the questions.</p><p>When a company we invested in failed, we always have <strong>post mortems</strong> to figure out what we missed, what questions we didn’t ask.</p><h3>Which people we are looking for</h3><p>We are less interested in their education than in <strong>what they did in their prior companies.</strong> We make the management system as easy as possible and if we can outsource something, never make it in-house.</p><p>Only one metric in finance matters to us and that is cash flow. We hire people who are wizards at <strong>cash flow.</strong></p><p>We don’t need balance sheets and we love recessions.</p><h3>Lessons from worst investment</h3><p>What didn’t work is the dynamics of markets. We developed some spectacular things for which there were no buyers. The critical thing is getting a product developed where the timing of the product’s availability and the market demand are simultaneous.</p><p><strong>We didn’t finance our portfolio companies any more if no one wanted their products.</strong></p><p>But when those companies meet the milestones, we then refinance them.</p><h3>Reference</h3><p>Don Valentine 2011 speech in Stanford</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99a03bc1774e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does oracle make Web3 a better place?]]></title>
            <link>https://medium.com/@sally_gu/how-does-oracle-make-web3-a-better-place-32fa93d4c21e?source=rss-5cc9e2d9502b------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fa93d4c21e</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[sallygu.eth]]></dc:creator>
            <pubDate>Thu, 07 Apr 2022 10:54:37 GMT</pubDate>
            <atom:updated>2022-05-01T14:49:07.502Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3><strong>Oracle：trust builder</strong></h3><p>Oracle is usually reckoned as the bridge and window of on-chain and off-chain data. In short, oracle is a middleware providing real-world data services for blockchain projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/0*rItQN43mLObaUjdA" /></figure><p>If we recognize the definition that blockchain is<a href="https://www.economist.com/leaders/2015/10/31/the-trust-machine"> the trust machine</a>, then oracle can be essentially referred to as the<strong> trust-maintenance machine.</strong> As a matter of fact, the trust generated by blockchain itself is usually not sufficient to support all the demands of upper layer applications. More trust is needed to be fed in from the oracle and the vast majority of blockchain projects cannot survive without oracles because it will directly make them blind.</p><p>As we all perceive, blockchain is a closed black box with no capability to initiate network call, but smart contracts are required to validate the data by third-party according to the consensus mechanism. To use a simple analogy, <strong>the role oracle played is the ambassador between two civilizations, like “Sopho” between the humans and the three bodies in “The Three-body Problem ”.</strong> Only by the data feed of oracle can smart contracts access the deterministic information from the Internet and real world, including the stock price, exchange rate, final results of presidential election, etc.</p><h3><strong>Family tree</strong></h3><p>In terms of format, oracles can be classified as software oracle, hardware oracle, centralized oracle and decentralized oracle:</p><h4><strong>1.Software Oracle</strong></h4><p>Software oracle is connected to the Internet and can access, transmit and input data and information from any third-party servers or websites by API, such as commodity prices, weather index, flights number, into smart contracts in real-time.</p><h4><strong>2.Hardware Oracle</strong></h4><p>Hardware oracle is widely adopted in IoT, working as the electronic sensor and data collector. It transfers physical events into digital values so that smart contracts can understand them. Barcode scanners, bank card POS machines, medical equipment for collecting all kinds of medical data, etc can all be identified as hardware oracles.</p><h4><strong>3.Centralized Oracle</strong></h4><p>Centralized oracle is a type of oracle with single-source data, usually backed by trustworthy third-party like government or reputable corporations. It can make data tamper-proof and loss-proof by separating data from untrusted operating systems of local equipment. Yet the sole source of data also brings certain vulnerabilities towards smart contracts.</p><h4><strong>4.Decentralized Oracle</strong></h4><p>Decentralized oracle refers to an oracle with a distributed consensus mechanism, also known as consensus oracle. It is more reliable and trustless since it achieves data from multiple external sources rather than a single source. Regarding to the data processing methods, decentralized oracles can be categorized into 4 sectors based on the theory of Huawei Lab:</p><ul><li><strong>Aggregation-based processing:</strong> It eliminates single malicious data impact by multi-data source aggregation, i.e. Chainlink</li><li><strong>Staking-based processing:</strong> It requires participants to hold assets for greater credibility, i.e. Band</li><li><strong>Game-theory-based processing: </strong>It provides non-adversarial economic incentives, i.e. NEST</li><li><strong>Reputation-based processing: </strong>It<strong> </strong>restricts adversarial nodes by reducing their reputations, i.e. Witnet</li></ul><p>Compared with centralized oracle, decentralized oracle is less likely to bring security risks since it defused the sing-node failure issue, though its operation efficiency is relevently lower. Most DeFi applications prefer running on decentralized oracle based on such concerns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/0*9DfD-ml9bzKFjRXr" /></figure><h3><strong>Oracle in web3.0: Transcending DeFi infra</strong></h3><p>Based on the cognition above, we have an essential understanding towards the significance of oracle adopted in blockchain. But when it comes to the application value of oracle in web3.0, we are somehow still viewing it through a blurred lens.</p><p>Last year, the concept of <strong>DON (Decentralized Oracle Network)</strong> was first introduced in the Chainlink2.0 whitepaper. DON is a network maintained by a group of Chainlink nodes and can bootstrap any oracle services flexibly, so that in the near future Chainlink would be able to provide external data to the blockchain via completely trustless off-chain computation. To realize this vision, Chainlink has launched a series of products and services such as VRF, Keepers, CCIP and <strong>the deployment of those services opened up our imagination to the application scenarios of oracle in web3 to a large extent.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/0*sKXdo-O74KeWbbEw" /><figcaption>Source: Chainlink 2.0 Whitepaper</figcaption></figure><p>To better demonstrate the immense potential of oracle in future web3 world, we briefly illustrate here with a few examples and discuss them based on different scenarios:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/0*Gls3RMBeWNEFNUmj" /></figure><h4><strong>Defi</strong></h4><p>Though nowadays native cryptocurrency and stable coins are the mainstream in DeFi, predictably a novel market based <strong>tokenized real-world assets</strong> will be more and more appealing. For example, foreigners without legal identity in the US in such scenarios are able to purchase tokens pegged to certain US stocks. Also, users can extract liquidity by mortgaging tokenalized properties.</p><p>Another emerging usecase of oracle in DeFi is the<strong> fair sequencing</strong>. In the existing transaction regime, transactions are censored and ordered by the miners, which leaves great arbitrage and manipulation space to make use of. By exploiting information about upcoming transactions submitted to the mempool but not yet on-chain, miners and validators can modify the transaction sequence to benefit themselves. The term MEV(miner extractable value) is consequently generated to describe such phenomena.</p><p>Hence, to sort such issues out, oracles like Chainlink has developed certain solution called Fair Sequencing Services (FSS). FSS is poised to help DEX achieve fair transactions by designing deterministic algorithms so as to prevent MEV, front-running or any other schemes causing transaction disorder. <strong>It mainly consists of three sections: transaction monitoring, transaction sequencing and transaction posting. </strong>You can get a quick peek at the FSS mechanism via the schematic below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/0*YKor0-FCCdjNKVBV" /></figure><h4><strong>NFT &amp; Gamfi</strong></h4><p>The NFT issuing mechanism and gamefi user experiences can also be enhanced significantly by the adoption of oracle. A typical usecase is the <strong>generation of verifiable random numbers based on the off-chain external data</strong>. In one case, artists could generate NFTs with varying rarity based on a verifiable random number and ensure fairness in airdrops. In another, game vendors could also use random numbers to generate more diversified combat gear and battle scenarios.</p><p>Academically speaking, random numbers are usually recognized as statistically randomly generated numbers, playing an integral role in cyber security, games, scientific simulations and many other critical fields. The generator that produces random sequences is called Random Number Generator (RNG). According to the nature of the random sequences generated, it can be divided into two categories: <strong>True Random Number Generator (TRNG) and Pseudorandom Number Generator (PRNG).</strong></p><p>TRNG generally utilizes uncertain physical phenomena such as noise, chaos, and quantum stochastic processes to generate true random sequences. Whereas, PRNG is a definitive algorithm that requires an initial external input to act as seed. Algorithms including Linear congruential, Cryptography, ANSI X9.17, Mersenne twister, etc. are relatively popular ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JCfyNXN172zUNfH6" /></figure><p>Apparently, the random number generated on-chain is the pseudorandom number. Also, <strong>given the transparent nature of blockchain content, random numbers generated on-chain are prone to be attacked by dishonest nodes and thus face considerable security risks. </strong>Typically, miners can gain comparative advantages in gambling by dropping unfavourable blocks through “Block Withholding Attacks”.</p><p>Apart from boosting the cost of miner attacks through repeated hashing, the most expedient solution is to<strong> employ oracle as a TRNG to produce verifiable true random sequences by integrating off-chain data</strong>, and so as to ensure the confidentiality and impartiality of random numbers. At current stage, except approaches like Randao’s Commit Reveal and BLS contract, the <strong>VRF(Verifiable Random Function)</strong> provided by decentralized oracles are the most common services, which can be simply demonstrated in the following workflow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nU59m6mLAneNR8IK" /></figure><h4><strong>SocialFi &amp; DAO</strong></h4><p>In some cases, oracle can also act as a <strong>Decentralized identity (DID) tool</strong> in application scenarios of socialfi and DAO. By summoning DON to assemble Internet and off-chain activity data, users are empowered by oracles to verify and manage their own identity credentials with legacy compatibility and privacy preservation. For example, by integrating off-chain information on the activities participation and accreditation of DAO members via oracle, DAO administrators are capable to issue the corresponding POAP (proof of attendance protocol) and certify the competence qualifications of members.</p><p>And CanDID is the inside tool that helps DON to realize such functions. <strong>By adopting an oracle, CanDID allows users to import their identities from existing systems securely and prevents the possible duplication of identities.</strong> For instance, Alice and Bob can use their Social Security Profile pages to generate a certificate attesting to their Social Security numbers. In terms of mechanism, CanDID is mainly composed of two subsystems: <strong>identity system</strong> and <strong>key-recovery system</strong>.</p><p>In the identity system, CanDID can enable secure identity migration across existing web services such as social media, e-banking accounts, etc. by leveraging oracles especially like DECO or Town Crier. Additionally, CanDID doesn’t require data vendors to explicitly create DID-compatible credentials, which tremendously facilitates the convenience of the credential ecosystem.</p><p>In the key-recovery system, CanDID allows users to exploit existing network authentication schemes to recover keys through agile and simple workflows. Users can store keys on whatever device they use regularly and pre-select recovery policies and pre-store them via secret-sharing. The brief recovery process is shown in the following figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*upe3kLqdhJNU1Nxa" /><figcaption>Source: CanDID: Can-Do Decentralized Identity with Legacy Compatibility, Sybil-Resistance, and Accountability</figcaption></figure><h3><strong>Looking forward</strong></h3><p>To conclude, it’s well perceived that oracle has opened a new chapter in the web3 era, ready to go beyond its restricted envision and obsolete functions. Whilst discussion on oracle’s burgeoning applications in web3 is still sparse, we expect that as the technology continues to evolve and crypto gradually engulfs the world, more and more savvy players will acknowledge the potential value of oracle and its significant contribution to web3.</p><p>Discover the undiscovered. Imagine the unimagined. More usecases and scenarios like data feeding innovations, and cross-chain solutions will be elaborated in our subsequent research.</p><p>(Acknowledgements: Chainlink China)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fa93d4c21e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>