<?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[anydot - Medium]]></title>
        <description><![CDATA[The first skin-in-the-game and non-custodial relay service API - Medium]]></description>
        <link>https://medium.com/anydot?source=rss----8fb13ee6f0af---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>anydot - Medium</title>
            <link>https://medium.com/anydot?source=rss----8fb13ee6f0af---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 18:27:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/anydot" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[any.sender + Infura : Acquisition announcement]]></title>
            <link>https://medium.com/anydot/any-sender-infura-acquisition-announcement-d1e891920f11?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1e891920f11</guid>
            <category><![CDATA[it]]></category>
            <category><![CDATA[anysende]]></category>
            <category><![CDATA[metatranasaction]]></category>
            <category><![CDATA[infura]]></category>
            <category><![CDATA[relay]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Thu, 03 Dec 2020 17:36:03 GMT</pubDate>
            <atom:updated>2020-12-03T17:35:34.003Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>any.sender + Infura : Acquisition announcement</strong></h3><p>Hi all,</p><p>As you are aware, we have spent the past year building a non-custodial transaction relayer called any.sender. It is the first relayer to achieve zero gas overhead when relaying transactions while deploying a fee escalating algorithm that ensures our users can pay the best price at any time.</p><p>We have spent the summer working with various teams to incorporate any.sender into their service and one team in particular liked any.sender so much that they decided to acquire us!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Vt-ZLx3qUoQwb9skTjRTw.png" /></figure><p>I’d like to announce that <strong>we have been acquired by ConsenSys to join Infura</strong>, the leading API for accessing the Ethereum network, and they have an entire roadmap dedicated to simplifying the transaction process for their users. Of course, the plan is that any.sender will play a significant role in accelerating their progress towards that end-goal.</p><p>It has been a pretty exciting journey for us. We dropped out of a <em>very comfortable </em>university environment that focused on fundamental research to build production-ready software for the community to use. I’m hopeful that with the assistance of Infura we can finally alleviate the UX problem (or perhaps; the art) of <a href="https://ethgasstation.info/blog/stuck-transaction-guide/">manually bumping the fee</a> and unsticking transactions.</p><p>One final note, I want to thank everyone who has supported us over the past year. In fact, while finalising the acquisition, we started to receive emails from Gitcoin Grants. We didn’t expect to be notified by Gitcoin Grants and then realized the community donated over $4k towards our cause. We felt blessed as it validated all the work we had done so far. We have decided to donate it towards the upcoming Gitcoin round and to help pass on the much-needed financial torch to another team that is in the position we once were..</p><p>You can learn more about the acquisition and what comes next in Infura’s latest <a href="https://blog.infura.io/announcing-our-acquisition-of-any-sender-and-the-alpha-release-of-infura-transactions/?utm_source=email&amp;utm_medium=email&amp;utm_campaign=ITX&amp;utm_term=ITX_launch_email"><strong>blog post</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1e891920f11" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/any-sender-infura-acquisition-announcement-d1e891920f11">any.sender + Infura : Acquisition announcement</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How well does any.sender cope during events like YAM Wednesday?]]></title>
            <link>https://medium.com/anydot/how-well-does-any-sender-cope-during-events-like-yam-wednesday-ef4d30ed279e?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/ef4d30ed279e</guid>
            <category><![CDATA[crops]]></category>
            <category><![CDATA[farming]]></category>
            <category><![CDATA[relayer]]></category>
            <category><![CDATA[low-fee]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Fri, 14 Aug 2020 18:16:26 GMT</pubDate>
            <atom:updated>2020-08-14T19:05:24.570Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5yO8OAl5WF3dmsuusyFAtA.png" /><figcaption>Peak of the ICO boom in 2017 pales in comparison to the fees paid over the past few weeks.</figcaption></figure><p><em>any.sender is a non-custodial and high-throughput transaction relayer. Our goal is to optimistically pay the best network price while getting your transaction confirmed quickly, even during crazy and significant congested days like YAM Wednesday, so how did we do?</em></p><h3>Users paid 4.8x fees on Ethereum compared to Bitcoin</h3><p>The casino environment of degenerate and chad traders that fuelled the 2017 bull-market has returned. But this time, thanks to the rise of DeFi, it has bypassed the centralised exchange gatekeepers and a significant portion of the action is playing out directly on Ethereum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*1y0bC8xbRUhQnS-fe05b2g.png" /></figure><p>So much so that<strong> Ethereum block producers collected over $6.8m</strong> in fees during the 36 hour YAM yield farming hype. The typical fast rate for a transaction increased from ~200 gwei to ~330 gwei.</p><p>To put the network fee costs into perspective:</p><ul><li>ETH transfer at 21k gas ~$2.45 (~0.0063 ETH),</li><li>Uniswap trade at 100k gas ~$11.64 (~0.03 ETH),</li><li>Deploying a gnosis safe wallet at 250k gas ~$29.20 (~0.075 ETH),</li><li>Spend the entire block limit at 12m gas ~$1401 (~3.6 ETH).</li></ul><p>While YAM ultimately failed due to a smart contract bug, it is still astonishing the impact the craze has had on the fee market.</p><h3>Can any.sender help alleviate the network fees?</h3><p>There are two approaches for beating the crazy network fees:</p><ul><li><strong>Layer-2 solutions.</strong> Send your transactions via rollup,</li><li><strong>Smarter fee strategies.</strong> Optimistically send the transaction at a low fee and then strategically increase the fee until the transaction is mined.</li></ul><p>While there are several really exciting layer-2 solutions in the works, they are not yet ready to support the DeFi craze. That leaves us with the smarter fee strategy option which is what we have focused on at any.sender.</p><p><strong>What is our strategy? </strong>We send transactions to Ethereum at a fee below the fast rate. We re-evaluate every transaction in the queue when a new block is mined and then increase its fee according to a pre-defined fee strategy. The transaction is re-published when the fee estimation has increased by ~13%.</p><blockquote>Our transaction fee bumping strategy is fairly simple, but it optimistically lets us catch the network fee lows while targeting a ~1–3 minute confirmation time.</blockquote><p>Of course, our fee strategy must change over time to meet the new demand from the fee market, but for now that is how it works. <em>So how well does it hold up?</em></p><h3>The Life and Death of YAM</h3><p><em>tldr; any.sender transactions outcompeted a popular exchange and popular wallet relayer by 56–77 gwei on average, and the estimated fast rate by 19 gwei on average. All transactions were mined in under 6 -7 minutes (vast majority &lt;5 min) and the transactions with the largest fee savings were always mined the fastest.</em></p><p><strong>Methodology. </strong>any.sender sent a new transaction every three hours using the fee strategy described earlier. We tracked transactions from a popular wallet relayer and a popular exchanges, and pick their transactions based on the time of inclusion in the blockchain. Finally, we captured the fast rate from <a href="https://www.etherchain.org/tools/gasPriceOracle">etherchain</a> which provides similar statistics to the popular ethgasstation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*spHnQKrnrrotXxyZWu2xuA.png" /><figcaption>Figure 1: Approximately 23 transactions during the Life and Death of YAM (Wednesday — Friday).</figcaption></figure><p>Figure 1 shows the list of gas prices paid for transactions from any.sender, the popular wallet relayer and the popular exchange relayer, alongside the estimated fast rate.</p><p>The range of fees is quite staggering. It ranges from 116 gwei (any.sender) to 432 gwei (popular exchange). The estimated fast rate steadily increased, drastically fell, and then rose at a meteoric rate. YAM Wednesday is a great demonstration of the volatile network fee that relayers must handle in real time.<em> It is never a boring time on the Ethereum network…</em></p><p>Let’s walk through the timeline:</p><ul><li><strong>3pm 8/12/2020–11am 8/13/2020:</strong> <em>The life of YAM.</em></li></ul><p>It was an exciting time as farmers were actively managing their YAM crop, and then sending tractors to save the YAM, and then eventually harvesting the crop before the once-in-a-life-time-freak-YAM-killer arrived.</p><p>any.sender paid under the fast rate for 4/9 transactions during this period and only in one occasion did the popular wallet beat the any.sender price. Given that miners collected over $6m transaction fees during this period, it is remarkable that any.sender could still pay below the estimated fast rate.</p><ul><li><strong>11am 8/13/2020–2am 8/14/2020:</strong> <em>The death of YAM.</em></li></ul><h3></h3><p>pic.twitter.com/fXCeGknVdR</p><p>any.sender paid below the fast rate for 5/7 during this period. None of the measured relayers beat the any.sender price.</p><ul><li><strong>2am 8/14/2020 — present:</strong> <em>The rise of CURVE?</em></li></ul><h3></h3><p>pic.twitter.com/eVJ6eiTnL9</p><p>any.sender paid below the fast rate for 4/6 transactions during this period. None of the measured relayers beat the any.sender price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*17z2ab0MQYvms5On1y1aPA.png" /><figcaption>Figure 2: any.sender relative savings (above zero) or cost (below zero).</figcaption></figure><p>Figure 2 highlights that any.sender beat the other relayers except for one occasion and mostly beat the estimated fast rate as well.</p><p>Let’s take a brief look:</p><p><em>Exchange savings. </em>The exchange overpayment ranged from from 23 gwei to 227 gwei. any.sender beat the exchange relayer by 77 gwei (on average).</p><p><em>Wallet savings.</em> The wallet overpayment ranged from from -13.81 (beat us once) to 152 gwei. any.sender beat the wallet relayer by 56.9 gwei (on average).</p><p><em>Fast rate savings. </em>There were several times when any.sender beat (and got beaten) by the estimated fast rate. The estimates ranged -17.25 gwei to 79.03 gwei. Overall, any.sender still beat the estimated fast rate by 19 gwei (on average).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*J1-H8eoUx9rb7IytUZ0G1g.png" /><figcaption>Figure 3: We target &lt; 3 minute confirmations, but it was pretty tough on YAM Wednesday.</figcaption></figure><p>We have fine-tuned any.sender for &lt;2–3 minute confirmations as that is applicable for most applications while giving us ample time to catch the <em>super-lows</em>.</p><blockquote>While some transactions took slightly longer than expected for us, we never had any stuck transactions.</blockquote><p>The data we have gathered over the past two days can be used to feed back into our design. So next time YAM² appears, we will be ready to beat the time-to-mine stats.</p><p><strong>Why was the any.sender saving modest compared to the fast rate? </strong>Block producers collected over $6m in fees on YAM Wednesday which represents the largest fees paid ever in the history of Ethereum. It is pretty incredible that any.sender still managed to beat the estimated fast rate. We believe the modest saving was mostly due to the bumps over-jumping the fast rate, assuming the estimated fast rate is a reliable statistic.</p><p><strong>Why was any.sender the only relayer to pay less than the estimated fast rate? </strong>The current strategy by the other relayers appear to simply set a fixed rate and then periodically adjust the fixed rate in response to the network fee volatility. Most services are<em> happy to pay a higher gas price </em>as a single stuck transaction will clog their entire queue and relayer software cannot typically cope well with that.</p><p><strong>But who pays the extra fees?</strong> Ultimately it is you, <strong>the user</strong>, who is sometimes paying through the nose.</p><h3>We built any.sender to save $$</h3><p>We realised last year that sending transactions to Ethereum, reliably and at a fair cost, was a difficult technical problem.</p><p>No team had really solved it well. Instead most relayers just looked up ethgasstation, added +50 gwei on top of the estimated fee rate and then sent the transaction. If the network fees spiked during that period, then tough luck, you have a stuck transaction. Even worse, if you wanted to hire a third party relayer, it would add +200k gas to your transaction!</p><p>Our goal with any.sender was pretty simple:</p><blockquote>any.sender was built to optimistically save users on transaction fees by catching the super-lows while at the same time achieving relatively fast confirmation times and guaranteeing no stuck transactions.</blockquote><p>The exercise revealed about how we can improve any.sender, and even further tune it to get lower prices and faster confirmation times. Watch this space for more improvements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef4d30ed279e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/how-well-does-any-sender-cope-during-events-like-yam-wednesday-ef4d30ed279e">How well does any.sender cope during events like YAM Wednesday?</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[any.sender — first publicly accessible relayer with 0 gas overhead (and 2% fee)]]></title>
            <link>https://medium.com/anydot/any-sender-first-publicly-accessible-relayer-with-0-gas-overhead-and-2-fee-f2efe1f44e09?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/f2efe1f44e09</guid>
            <category><![CDATA[meta-transactions]]></category>
            <category><![CDATA[metatx]]></category>
            <category><![CDATA[gwei]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[relayer]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Thu, 30 Jul 2020 17:21:57 GMT</pubDate>
            <atom:updated>2020-07-30T17:51:01.223Z</atom:updated>
            <content:encoded><![CDATA[<h3>any.sender — first publicly accessible relayer with 0 gas overhead (and 2% fee)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BdBOwXnb53xFi9tC4V2-rA.png" /><figcaption>Never deal with stuck transactions again. Try <a href="https://github.com/anydotcrypto/docs.any.sender">any.sender</a> today.</figcaption></figure><p><em>tldr; any.sender is now the first third party relayer with a zero gas overhead and to help navigate the high-fee summer, we have reduced our own fee to 2% of the gas cost (gasUsed).</em></p><h3>What is new?</h3><p>It has been awhile since we posted an update about our progress with any.sender. We have been focused on delivering:</p><ul><li><strong>Zero gas overhead.</strong> We have just released <em>direct transactions</em> that send the relay transaction directly to the target contract. As such, we are <strong>the first publicly accessible relay API</strong> that incurs<strong> no gas overhead to use.</strong></li><li><strong>Status API. </strong>A<strong> </strong>new end-point that returns the list of published Ethereum transaction hashes (alongside its gas price) to track the transaction in real-time.</li><li><strong>2% relay fees.</strong> To help navigate the high-fee storm this summer, we have temporarily reduced our relay fee to 2%. We are committed to helping you save money in the fee market.</li><li><strong>Gnosis Safe.</strong> We have incorporated Gnosis Safe into our client-side tooling (and our <a href="https://github.com/anydotcrypto/metatransactions">open-source meta-transaction library</a>). You can now use an audited wallet contract for batching your transactions!</li><li><strong>Dev tools.</strong> A <a href="https://github.com/anydotcrypto/docs.any.sender/tree/master/docs/devTools">simple plug &amp; play library</a> to incorporate any.sender into your unit testing.</li><li><strong>Congestion safety.</strong> We continuously battle-test any.sender by congesting Ropsten and then spamming any.sender to outcompete it.</li><li><strong>Ordered transactions.</strong> any.sender sends transactions in the order they are received from the client.</li></ul><p>To battle-test the any.sender implementation:</p><ul><li><strong>Throughput performance. </strong>We have sent <strong>over 1 million transactions</strong> via any.sender in short succession and burst-like traffic. Some of the transaction load can be found in <a href="https://ropsten.etherscan.io/address/0xa404d1219ed6fe3cf2496534de2af3ca17114b06">here</a> (old), <a href="https://ropsten.etherscan.io/address/0x9b4fa5a1d9f6812e2b56b36fbde62736fa82c2a7">here</a> (new), <a href="https://ropsten.etherscan.io/address/0x5007083e2874e5eddfa7cfa286e0942b01641506">here</a>, <a href="https://ropsten.etherscan.io/address/0xb7879e356fb1c4c0bad1db34b6081eb633e4f895">here</a> and <a href="https://ropsten.etherscan.io/address/0x5ee6a2e96f4c75719b3ef1a9a9fc38794bfe40e1">here</a>.</li><li><strong>Congestion testing:</strong> We have burnt thousands of Ropsten ETH to congest the network (e.g. tens of thousands of 100+ gwei transactions) and then spammed any.sender to evaluate how well it out-competes other transactions on the network.</li></ul><p>Both performance testing approaches has helped us find (and fix) significant back-end performance bottlenecks that are not publicly noticeable. One bottleneck was signing and verifying hundreds of signatures within the 14-second block interval. It was <em>slowish</em> as etherjs depends on the elliptic cryptography library and when we swapped it with <a href="https://www.npmjs.com/package/secp256k1">secp256k1</a> it was at least 7x faster.</p><p>But the good news is that <em>you shouldn’t need to notice</em> as we strive to make our service reliable &amp; performant with every new update.</p><h3>Client-tooling is only getting better</h3><h3></h3><p>While we have not fund-raised, we do keep our pitch deck up to date (helps us to track the progress we are making).Picture on the left was added by @yahgwai and the right is still on our website (needs updated).</p><p>Our recommended <a href="https://www.npmjs.com/package/@any-sender/client">@any.sender/client library</a> now simplifies the process down to to approximately ~3–4 lines of code:</p><pre>const contract = new Contract(&quot;&lt;address&gt;&quot;, erc20Abi, signer);<br>const anyContract = any.sender(contract);<br>const relayReceipt = await anyContract.functions.transfer(<br>  &quot;&lt;recipient address&gt;&quot;,<br>  &quot;10&quot;,<br>  { gasLimit: 200000 }<br>);<br>const transactionReceipt = await relayReceipt.wait();</pre><p>The code snippet takes the relay transaction, sends it up to any.sender, and then pings the Status API to watch for the transaction until it is confirmed.</p><p>There are two types of senders in the client library:</p><ul><li><strong>any.sender(). </strong>It does not have a built-in wallet contract and you can plug in your own.</li><li><strong>any.senderGnosis().</strong> It takes care of deploying the wallet contract for the signing key, handling the replay protection and wrapping the transaction such that it is sent via the wallet contract.</li></ul><p>We have an experimental client library with our own wallet contract implementation &amp; minimal universal forwarder. They will be included in the recommended client library after an audit. They have a similar gas cost (~26k gas per transaction) as Gnosis Safe, but supports more exotic replay protection for concurrent transactions and only costs 67k gas to deploy which is much cheaper to deploy.</p><h3>Watch the escalator algorithm in real-time!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*tR6lIpVWVc-lGOsgrxFw9w.png" /><figcaption>Our Status API makes it easier to track the transaction fee bumping in real time</figcaption></figure><p>As seen above, check out the <a href="https://api.anydot.dev/any.sender.mainnet/status/0x3440519e397053ab40c1769e419a54715cf277e68bdf7982e6e917c4e70ef2f6">fee bumping of a transaction</a> in real time. It includes the transaction hash, broadcast time and the gas price for the transaction. Only one of the Ethereum transactions can be confirmed in the blockchain.</p><p>We broadcast the transaction at the recommended <strong>safe-low</strong> and we gradually increase the fee overtime until it is accepted into the blockchain. Attempting to save you money while ensuring the transaction is confirmed quickly. If the fee escalator approach gets popular, then we can encourage downward pressure on fees and lower the network fees overall.</p><h3>pTokens integration</h3><h3></h3><p>Mint #Ethereum-compatible $BTC faster than ever!#pTokens has integrated with any.sender (@anydotcrypto, @paddypisa) to guarantee faster peg-in transactions with the lowest fees possible - in any network condition. 🏃‍♂️ ⚡https://t.co/kEY0zyNkIK</p><p>Thanks to pTokens for announcing our first integration with them. They wrote a <a href="https://medium.com/@provablethings/ptokens-integrates-any-sender-60e1f05acece?sk=9786d6216a18e04286b8545cb3b4a402">fantastic article</a> that summarised the pain points of sending transactions to Ethereum and how any.sender solves that problem for them.</p><p>One quote I want to highlight from the article:</p><blockquote>Delegating such a complex task to any.sender ensures the core pTokens system is kept as lean as possible — without compromising its security — and is therefore easier to audit and safer. Security and complexity do not typically get along.</blockquote><p>It is the perfect example of a first-generation of a non-custodial service provider that can perform a task on behalf of a third party while never having custody over their primary funds.</p><h3>That is it for now!</h3><p>Thanks for checking out our latest update. I just want to finish with a small note.</p><p>We built any.sender as dealing with transaction delivery in Ethereum is really just painful. Lots can go wrong including:</p><ul><li>Picking the wrong fee (or the network fee quickly skyrockets),</li><li>Dealing with queues of transactions (and organising the fees high-to-low),</li><li>Detecting and re-broadcasting dropped transactions from the network.</li></ul><p>That is a blog for another day. But we decided to offer any.sender as an API to make it as easy as possible for developers to plug &amp; play to quickly adopt production-ready infrastructure.</p><h3></h3><p>LOL. No. pic.twitter.com/xlIlLSw7qV</p><p>The recent surge of high-fees was completely unexpected for us and that is why we have drastically reduced the any.sender fees from 20% to 2%.</p><p>I really do hope any.sender helps you build the next (and exciting) service on Ethereum and if it does; do share with us!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2efe1f44e09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/any-sender-first-publicly-accessible-relayer-with-0-gas-overhead-and-2-fee-f2efe1f44e09">any.sender — first publicly accessible relayer with 0 gas overhead (and 2% fee)</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[any.sender + CyberDice 2.0 = 3 ETH prize]]></title>
            <link>https://medium.com/anydot/any-sender-cyberdice-2-0-3-eth-prize-efacf1419add?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/efacf1419add</guid>
            <category><![CDATA[relaye]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[non-custodial]]></category>
            <category><![CDATA[anysender]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Tue, 21 Apr 2020 12:20:20 GMT</pubDate>
            <atom:updated>2020-04-21T13:15:35.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*xE0Sz9PXMlnGcBn1rEjIwg.png" /><figcaption>The first skin-in-the-game transaction relay as a service API</figcaption></figure><p><em>tldr; We have released any.sender v0.2.1 (beta) on mainnet alongside a provably fair competition, CyberDice 2.0, to demonstrate how easy it is to use the any.sender API. Please visit </em><a href="https://www.anydot.dev/competition/"><em>https://www.anydot.dev/competition/</em></a><em> or join our </em><a href="https://t.me/anydotsender"><em>Telegram Group</em></a><em> to find more about how to submit a ticket to CyberDice 2.0 and be in the chance to win 3 ETH.</em></p><p>On <a href="https://medium.com/@whiterabbit_hq/black-thursday-for-makerdao-8-32-million-was-liquidated-for-0-dai-36b83cac56b6">Black Thursday</a>, we witnessed two failures surrounding competitive transaction infrastructure that worked in favour and against MakerDAO.</p><p><strong>Price feed. </strong>The first failure was the delay in submitting the price feed to the MakerDAO contract — this provided essential time for other participants to top-up their collateralised debt position (CDP).</p><p><strong>Liquidations. </strong>The second failure was the inability of MakerDAO Keepers to cope with the congestion and submit their bids to the liquidation auctions. As we all know now — this led to $8.32 million in liquidations at the price of 0 DAI.</p><p>With hindsight, both scenarios are foreseeable as <strong>building reliable and globally competitive infrastructure is a really hard problem that all projects need to replicate.</strong></p><h3>any.sender v0.2.1 (beta) has arrived on mainnet</h3><p>This is why we are so excited to announce the release of any.sender — the first skin-in-the-game transaction relay as a service API — to help projects compete in the global fee market and <strong>stop a repeat of the events that occurred on Black Thursday due to the lack of good transaction infrastructure.</strong></p><p>Just to recap, <strong>any.sender is our flagship product</strong> that provides a very simple API for guaranteeing that transactions are relayed to the Ethereum network in a timely manner. It provides the following services:</p><ul><li><strong>Republish periodically.</strong> Our service will republish your transaction periodically to ensure it is never <a href="https://twitter.com/tayvano_/status/1233142260759293952">dropped by the network.</a></li><li><strong>Highest fee first.</strong> We sort all transaction queues by fee, so high-paying transactions never get stuck behind other transactions.</li><li><strong>Real-time fee adjustments. </strong>We gradually bump the fee until the transaction gets in the blockchain — ensuring it gets in by a block deadline.</li></ul><p>We hope by offering any.sender as a service, then projects will no longer need to write code for estimating gas prices, bumping fees or dealing with stuck transactions.</p><p>Furthermore — we have designed any.sender to let projects outsource their transaction infrastructure in a non-custodial manner. So the only duty of any.sender is to relay pre-approved transactions to the blockchain and the service has no authority over it. A truly trust-minimised service.</p><p>Getting started with any.sender is easy.</p><ul><li>Download <a href="https://www.npmjs.com/package/@any-sender/client">any.sender client</a> <em>(npm i </em><a href="http://twitter.com/any"><em>@any</em></a><em>-sender/client)</em></li><li>Deposit a balance into the any.sender<a href="https://etherscan.io/address/0xa404d1219ed6fe3cf2496534de2af3ca17114b06"> relay contract</a></li><li>Send a RelayTransaction to the any.sender API.</li><li>Watch any.sender at work as it gradually bumps the fee until it gets in.</li></ul><p>While there is more information about getting any.sender up and running <a href="https://github.com/PISAresearch/docs.any.sender">here</a>, we have cooked up a special surprise to help encourage you to try it out…</p><h3>CyberDice 2.0 — provably fair competition</h3><p>To kick-start the any.sender launch, we have put together a smart contract edition of <a href="https://www.cl.cam.ac.uk/~fms27/papers/2008-StajanoCla-cyberdice.pdf">CyberDice</a> —a peer-to-peer gambling protocol from 2008 which was initially developed by the authors to work out how untrusted and pseudonymous parties may gamble if their only assumption is the use of strong cryptography.</p><p>The gameplay is straight forward. All gamblers simply submit their tickets (alongside a fee) and then a distributed set of parties (issuers) submit their deterministic signatures. All signatures are aggregated into a single hash to compute the beacon and the final winner.</p><p>Some of the issues they ran into for CyberDice 1.0 are interesting:</p><p><strong>Issuer responsibility. </strong>The first is how to handle money in a way that won’t implicate the issuers into the gambling practice while ensuring they only payout if the protocol was executed correctly:</p><blockquote>Their (Issuer) only responsibility must be to issue bit strings that can be used as currency and then exchange them back into currency according to a previously agreed deterministic criterion for accepting or rejecting the claim.</blockquote><p>CyberDice 2.0 simply removes humans from the equation and relies on a smart contract to have custody of the funds.</p><p><strong>Deterministic, but unpredictable beacon. </strong>If you read the <a href="https://www.cl.cam.ac.uk/~fms27/papers/2008-StajanoCla-cyberdice-transcript.pdf">live discussion</a> of the paper, there is a lengthy discussion around the uncertainty of a deterministic signature scheme that is unpredictable and still secure.</p><blockquote><strong>Tuomas Aura</strong>: Yes, so you’re saying it has to be deterministic?<br><strong> Matt Blaze</strong>: Right, so which non-randomised signature algorithm is still considered secure? <br><strong>Tuomas Aura</strong>: Maybe for these purposes you do not need a proper signature, you might just use something like plain RSA. <br><strong>Matt Blaze</strong>: Plain RSA with no pattern, or with deterministic pattern? <br><strong>Bruce Christianson</strong>: But even with vanilla RSA, I’m still worried that a corrupt issuer might force you into a smaller subgroup by having a modulus of the form pq2 or something. <br><strong>Matt Blaze</strong>: I’m more worried than ever that you’re depending on cryptographic primitives that may not exist.</blockquote><p>CyberDice 2.0 relies on the <a href="https://blog.cloudflare.com/league-of-entropy/">League of Entropy</a> — a distributed (yet deterministic beacon) using BLS.</p><p>Of course, not all is rosey, as Ethereum cannot verify BLS12–381 signatures due to the lack of BLS implementation standards. So while the game is provably fair (e.g. anyone can download the transcript and verify the beacon was correct), the smart contract itself cannot verify the beacon’s integrity.</p><p>To workaround the issue, we are grateful for the following individuals who have agreed to act as oracles and fetch the final beacon for us:</p><ul><li><a href="https://twitter.com/josephch">JosephC</a> — Consensys</li><li><a href="http://gakonst">Georgios Konstantopoulos</a> — Independent consultant</li><li><a href="https://twitter.com/socrates1024">Andrew Miller</a> — UIUC &amp; Cryptocurrency Wizard</li><li><a href="https://twitter.com/yahgwai">Chris Buckland </a>— AnyDot</li><li><a href="https://twitter.com/evan_van_ness">Evan Van Ness</a> — Week in Ethereum</li></ul><p>We plan to make another announcement in the next few days with the round number for the final beacon :)</p><h3>What is the prize? Be in the chance to win 3 ETH</h3><p>Of course, we need to clearly state that <strong>AnyDot is not in the business of gambling </strong>and participants cannot submit bets.</p><blockquote>The competition will run for 6 days starting Tuesday 21st April until Monday 26th April.</blockquote><p>To enter, you must solve <em>a technical challenge</em> to submit your ticket via the any.sender service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*7IvrCMBZsZZOSa-gqah_yA.png" /><figcaption>Successful output after submitting your ticket</figcaption></figure><p>After you submit your ticket — you’ll have the opportunity to post a fun message (or gif) to the competition message board.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*j0uWYA6GITWn3FtdALRaLg.png" /><figcaption>A public bulletin board for posting a message upon submitting a ticket</figcaption></figure><p>To find out more, please visit <a href="https://www.anydot.dev/competition/">https://www.anydot.dev/competition/</a> to start working on the technical challenge and to ultimately submit your ticket to CyberDice 2.0. You will be in the chance to <strong>win up to 3 ETH.</strong></p><p>Note —<strong> anydot is not in the business of gambling — </strong>and our competition is not a simple game of chance<strong>. </strong>It is geared towards developers who may want to use our service and <strong>all entries must solve a short technical challenge</strong> <strong>that requires</strong> <strong>specialist skill (e.g. coding + nodejs + Ethereum)</strong> before their submission can be entered into the prize draw.</p><h3>That’s all for now.</h3><p>We really hope you take part in the competition as 1) it will help us demonstrate the ease-of-use and fun of any.sender and 2) it is a great opportunity to take ideas designed for fun 10–20 years ago and demonstrate we can in fact run with it today.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efacf1419add" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/any-sender-cyberdice-2-0-3-eth-prize-efacf1419add">any.sender + CyberDice 2.0 = 3 ETH prize</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[March Newsletter- anydot]]></title>
            <link>https://medium.com/anydot/march-newsletter-anydot-d588b63883bd?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/d588b63883bd</guid>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[slash]]></category>
            <category><![CDATA[accountable]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Thu, 27 Feb 2020 15:55:17 GMT</pubDate>
            <atom:updated>2020-02-27T16:01:32.214Z</atom:updated>
            <content:encoded><![CDATA[<h3>March Newsletter - anydot</h3><h3>Patrick McCorry ☘️ on Twitter</h3><p>lucky to work in a team dedicated to the mission, fun at times too. @PisaResearch cc @sr_gi @RationalSalvage @yahgwai</p><p><em>tldr; We have re-branded PISA research to anydot — to emphasise that our on-chain accountable API for outsourcing transaction infrastructure works for any smart contract. Even more exciting, we have have swiftly shipped two testnet products, </em><a href="https://medium.com/pisa-research/any-sender-transactions-made-simple-34b36ba7519b"><em>any.sender</em></a><em> and </em><a href="https://medium.com/@stonecoldpat/the-eye-of-satoshi-is-live-2ab002e91b2"><em>the Eye of Satoshi</em></a><em> .</em></p><h3>anydot — transactions made simple</h3><p>At Financial Cryptography 2019, co-founders Patrick McCorry, Sergi Delgado and Chris Buckland decided to kick-start PISA Research with a mission to build and protect an emerging self-custody financial system.</p><p>It took some time to wind down our research and teaching responsibilities as we left our jobs in academia, but over the past few months we have been working at <strong>full-steam to design, code and ship our initial products.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*_sHzvWyXjb_8ZEGtquGxzQ.png" /><figcaption>anydot — transaction infrastructure API that work for any smart contract</figcaption></figure><p>To reflect the transition from deep technical research to a <strong>laser-focused startup</strong>, we are rebranding PISA Research to anydot — coined after the development of our Ethereum flagship products:</p><ul><li><strong>any.sender:</strong> Users set a deadline for when their transaction must be mined and any.sender does the rest.</li><li><strong>any.watcher (coming soon!): </strong>Users attach an on-chain event to their transaction and any.watcher only responds if the event is triggered.</li></ul><p>Both names originate from the programming keyword <em>msg.sender </em>in the Solidity programming language and refer to the sender of the transaction, but since our service allows <strong>anyone</strong> <strong>to easily send transactions</strong>, we have adopted the names any.sender and any.watcher.</p><p>What makes the anydot products special is our ambition to be the <strong>first on-chain accountable API</strong><em>. </em>With an on-chain security deposit, we have skin-in-the-game to deliver our promised quality of service. If we fail, for whatever reason, then the user can force us to compensate them in a timely manner.</p><blockquote>So in a way, we are putting our money where our mouth is, by demonstrating with a financial commitment how much we trust our products not to fail.</blockquote><p>Plus, we have followed through with our vision that smart contracts can be used constrain the authority and power of third parties. In our case, we ensure the customer can swiftly issue punishment if any.sender deviates from the pre-agreed protocol.</p><p>If you want to find out more, then <a href="https://github.com/PISAresearch/any.sender/blob/master/packages/contracts/src/RefundAdjudicator.sol">check out how the on-chain accountable API works for any.sender by reading the refund adjudicator code.</a></p><p>But let’s get to the <em>fun</em> part.</p><h3>any.sender: non-custodial outsourcing of transaction infrastructure</h3><h3>PISA on Twitter</h3><p>Today we are excited to release a non-custodial service for outsourcing transaction infrastructure - any.sender! A super simple API to take care of all your transaction infrastructure problems! Blog: https://t.co/FePBCRB71f Website: https://t.co/zY09amQ3N8 Thread incoming 👇</p><p>Our Ethereum flagship product — any.sender — is a super simple API for developers to outsource their transaction infrastructure in a non-custodial manner.</p><blockquote>No more implementing boring infrastructure, no more stuck transactions and no more dealing with the gas price.</blockquote><blockquote>Let any.sender take care of it — so you don’t have too.</blockquote><p><strong>Integrating to your workflow. </strong>A third party project (or wallet) can simply:</p><ul><li><strong>Deposit</strong> coins into <a href="https://ropsten.etherscan.io/address/0xe8468689AB8607fF36663EE6522A7A595Ed8bC0C">Relay.sol</a> to register with the service.</li><li><strong>Install</strong> the any.sender client via npm i @any-sender/client</li><li><strong>Send</strong> a transaction to the <a href="https://github.com/PISAresearch/docs.any.sender">any.sender API</a>.</li></ul><p>In the background, any.sender organises all jobs in a queue based on priority and gradually bumps the fee until the transaction is mined. Thus its sole purpose is to <strong>guarantee that your transaction is delivered.</strong></p><p>Best of all, none of this is “academic”— it is <a href="https://github.com/PISAresearch/docs.any.sender">running on Ropsten today </a>— so try it today!</p><h3>The Eye of Satoshi: Watchtower for the Lightning Network</h3><h3>PISA on Twitter</h3><p>The Eye of Satoshi @eyeofsatoshi is finally live on testnet3 ⚡⚡⚡⚡ Read more about how to try out our alpha watchtower here: https://t.co/VVgqvYvfEG</p><p>But that’s not all! We have also been working on our Bitcoin flagship product — a watchtower for the Lightning Network — <strong>the Eye of Satoshi</strong>!</p><p>We have released the Eye of Satoshi on Bitcoin’s test network, and if you are reckless enough, mainnet too. <a href="https://github.com/PISAresearch/wt_cli">Click here to find out more!</a></p><p>Over the next month, we are working to release an updated version of <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-November/002350.html">BOLT’13</a> and to focus on integration efforts with third party wallets / lightning nodes. <strong><em>More to come soon alongside some really exciting announcements.</em></strong></p><h3>The Eye of Satoshi on Twitter</h3><p>Hello world.</p><p>If you want to follow our watchtower, it has a dedicated twitter account <a href="https://twitter.com/eyeofsatoshi">@eyeofsatoshi</a> and very soon it will live tweet when justice is served (e.g. when a penalty transaction is issued).</p><h3>Other news and upcoming events</h3><h3>Sergi Delgado on Twitter</h3><p>My slides for BOLT13&#39;s talk at @advbitcoin are up. If you have any questions, comment or you&#39;d like to contribute, feel free to reach out/join the lightnin-dev discussion. https://t.co/9bhihuB4It #bitcoin</p><p>Sergi Delgado presented the Eye of Satoshi at <a href="https://www.advancingbitcoin.com/">Advancing Bitcoin 2020</a> — covering some of the design trades-offs around privacy and subtle attacks on watchtowers.</p><p>Patrick McCorry co-organised <a href="https://fc20.ifca.ai/">Financial Cryptography and Data Security 2020 </a>— the premier venue for cryptocurrency and computer security research — and the very venue where we decided to quit academia and focus full-time on anydot.</p><p>We are incredibly proud to have contributed towards organisation of Financial Cryptography and we hope to continue supporting it in whatever capacity we can.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*jBYZ7IvPSp5dbbKSeA9bGw.png" /><figcaption>Dedicated event for trying the any.sender API</figcaption></figure><p>Chris Buckland, Patrick McCorry and Salvatore Ingala hosted a hands-on programming night with developers (and pizza) in London to try out the any.sender API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWitRYdPk1hKP5dcPxQiTA.png" /><figcaption>Transcript of the transactions of developers using (and trying to take down) any.sender</figcaption></figure><p>It was exciting to witness developers, who are not familiar with the any.sender, to adopt and use the API.</p><p>Our focus on streamlining the developer experience has really paid off — it took the attendees approximately 1 hour to understand the API, sign up to its service and send transactions via its API.</p><p>Considering it takes weeks (or months) to build production-ready transaction infrastructure,<strong> it is a huge win to see how easy it was to adopt our API.</strong></p><p><strong>That’s all for now though. </strong>If you want to find us in meatspace, we’ll be at ETHLondon, EthCC and the CryptoCompare summit.</p><p><em>Our mission to build and protect a global and self-custody financial system still remains. That ethos is at the very heart of the developer tools and services we plan to release — to demonstrate first hand the era of publicly verifiable and financially accountable services.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d588b63883bd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/march-newsletter-anydot-d588b63883bd">March Newsletter- anydot</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Eye of Satoshi is live ⚡⚡⚡]]></title>
            <link>https://medium.com/anydot/the-eye-of-satoshi-is-live-2ab002e91b2?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/2ab002e91b2</guid>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Tue, 18 Feb 2020 03:59:52 GMT</pubDate>
            <atom:updated>2020-02-17T15:22:07.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*qqQJsEjmVuKm6cA399RI1g.gif" /><figcaption>The Eye of Satoshi at the helm and ready to issue penalty transactions</figcaption></figure><p><em>tldr; Over the years we have supported the Lightning Network through several research initiatives, but now we are pushing forward its implementation with the release of our watchtower: The Eye of Satoshi. So</em><a href="https://github.com/PISAresearch/wt_cli"><em> check out the docs</em></a><em> and try to it out!</em></p><h3>The rise of another informal value transfer system?</h3><p><strong>Before we jump into our watchtower announcement</strong>, it is important to discuss our motivation for implementing a fundamental building block of the Lightning Network.</p><p>Most people like to think the Lightning Network represents the first attempt in human history to build a truly peer-to-peer settlement system. Which, by the way, is a very exciting proposition.<em> But this isn’t necessarily true.</em></p><p>The first truly peer-to-peer settlement system, outside of the banking system, is the Hawala network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/0*5naoAXG39wy95spQ.png" /><figcaption>Arguably the 8th century’s attempt at the Lightning Network, but based on credit &amp; trust</figcaption></figure><p>Hawala transfers are very similar to Lightning payments:</p><ul><li><strong>Conditional transfer</strong>. Funds are only transferred to the counter-party if a passcode is revealed (as seen in the picture).</li><li><strong>No movement of funds. </strong>The transfer of funds never crosses a border, each hop along the route simply re-distributes the money owed to the next hop.</li></ul><p>The core difference with the Hawala network is that it relies on human trust via an honour system to enforce all transfers. If a transactor (i.e. <em>Hawaldar</em>) fails to honour a transfer, then they are ex-communicated from the network which may result in financial ruin.</p><p>Remarkably:</p><blockquote>The Hawala network still runs today and it first emerged in the 8th century, so it is over 1200 years old.</blockquote><p>The big motivation to work on the Lightning Network is that it takes the Hawala network and brings it to the forefront of the internet age.</p><p>Unlike the Hawala network, the Lightning Network allows anyone in the world to stake coins and collect fees for facilitating the instantaneous and global transfer of value.</p><p>And guess what? People, companies and hodlnauts are doing it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U4Db4vcKHybMRyXjSYCQEw.png" /><figcaption>The Lightning Network is truly peer-to-peer</figcaption></figure><p>At the heart of it, the Bitcoin blockchain replaces the arbitration process in Hawala’s honour system and cryptography is leveraged to guarantee all misbehaviour is publicly verifiable. Both components make it possible to issue swift punishments when misbehaviour is detected.</p><p><strong>This brings us to our motivation to build the Eye of Satoshi.</strong> The Lightning Network assumes that transactors remain online and synchronised with the network to watch out for malicious behaviour (e.g. closing the channel on a previously agreed balance). If one party goes offline, then they risk losing all their funds. To help alleviate the online assumption, we are contributing a fundamental building block with the Eye of Satoshi.</p><p>More generally, we find it very difficult to believe that people cannot be excited to bring a system that has survived since the 8th century to the internet age. The Lightning Network is pretty much at the forefront of engineering and it will take more time for such an incredible system to achieve full fruition.</p><h3>The Eye of Satoshi is live on testnet!</h3><h3>74810b012346c9a6 on Twitter</h3><p>@paddypisa @sr_gi @lightning @LNconf the Eye of Satoshi 😈</p><p>Today, it makes us proud to finally announce<strong> the alpha release of our watchtower for testnet3 </strong><em>(and a mainnet launch to follow shortly).</em></p><p>We will follow up shortly with an explanation of how the watchtower works under the hood alongside some notable attacks we discovered during its implementation.</p><p>One cool fact about the Eye of Satoshi we can highlight:</p><blockquote>Our watchtower does not depend on any lightning implementation, only bitcoind.</blockquote><p>This is a pretty great outcome as its only major dependency is Bitcoin Core and we hope to keep it that way for as long as possible.</p><p>While we work towards the next release, our plan is to run the watchtower for a few weeks without any registration, account-features or rate-limiting.</p><p>We would really love to see some clever bugs or attacks, i.e. not filling it with lots of junk blobs or continuously hammering the API due to lack of rate limiting, but something super-interesting.</p><p>Please check out our <a href="https://github.com/PISAresearch/wt_cli">command-line tools and documentation</a> and join our <a href="https://join.slack.com/t/pisaresearch/shared_invite/enQtOTMzODczMTU1MTY4LTAxMmY2NTM1MzEzNjI0MjIwYjg4YjZmYjYyNzBhNTU1NjVkMTQ3MDQ0N2ZjNmVkMjNlOGFmMjAxMGVjMGYyNmM">#eye_of_satoshi Slack channel</a> for further information. Hopefully soon, we’ll get to open-source the server too.</p><p><em>p.s. We will need to periodically clear the machine’s storage, so some job’s might get lost!</em></p><h3>Towards an updated BOLT’13 draft</h3><h3>Stephan Livera on Twitter</h3><p>Watching @sr_gi of @PisaResearch talk about lightning watchtowers, starting with an overview of lightning transactions. @advbitcoin #AdvancingBitcoin</p><p>Back in November 2019, we released an <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-November/002350.html">initial draft of BOLT’13</a> which is our attempt at a standard interface for hiring watchtowers.</p><p>But good community standards that will hopefully last the next 10 years or more take a considerable amount of time.</p><p>Based on our experience with building the Eye of Satoshi and discussions with several community members, we plan to update the BOLT’13 draft in the coming month.</p><p><em>So stay tuned and if you want to learn more about why lightning is exciting, check out our </em><a href="https://www.youtube.com/watch?v=XNm-69QPM_I"><em>2-hour deep dive into off-chain protocols</em></a><em>.</em></p><h3>Acknowledgements</h3><p>Thanks to our co-founder <a href="https://twitter.com/sr_gi">Sergi Delgado</a> for leading the development of our highly-performant and highly reliable watchtower — alongside the rest of the PISA team Salvatore Ingala, Chris Buckland and Patrick McCorry.</p><p>As well, we would to thank <a href="https://twitter.com/alyssahertig">Alyssa Hertig</a> for getting involved in the development of the cli and helping making this release possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ab002e91b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/the-eye-of-satoshi-is-live-2ab002e91b2">The Eye of Satoshi is live ⚡⚡⚡</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[any.sender, transactions made simple]]></title>
            <link>https://medium.com/anydot/any-sender-transactions-made-simple-34b36ba7519b?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/34b36ba7519b</guid>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Wed, 12 Feb 2020 10:22:22 GMT</pubDate>
            <atom:updated>2020-03-14T19:59:58.074Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*t7-Xf2MHqzbbd1a9POs5-g.png" /></figure><blockquote>We are excited to release a non-custodial service for outsourcing transaction infrastructure — any.sender</blockquote><p><strong><em>tldr</em></strong><em>; Jump right in to our</em><a href="https://github.com/PISAresearch/docs.any.sender"><em> developer documentation</em></a><em> and check out for yourself how easy it is to register and send up a relay transaction to the any.sender API with an on-chain enforced quality of service.</em></p><p><a href="https://t.me/anydotsender"><strong>Telegram</strong></a><strong> | </strong><a href="https://twitter.com/anydotcrypto"><strong>Twitter</strong></a><strong> | </strong><a href="https://github.com/PISAresearch/docs.any.sender"><strong>Docs</strong></a><strong> | </strong><a href="https://www.anydot.dev/"><strong>Website</strong></a></p><h3>What is transaction infrastructure?</h3><p>When the number of transactions in the pending pool outstrips the capacity of new blocks, the network becomes congested. As a result, all signers need to compete in a global fee market — with transactions that pay a low fee getting lost in limbo and stuck in the pending pool.</p><p>What does this mean for new projects, wallets and users?</p><p>They need to have <strong>reliable transaction infrastructure to authorise, publish and verify that a transaction was indeed accepted into the blockchain</strong>. If the transaction gets stuck in the network’s pending pool for whatever reason, then the infrastructure should be capable of un-sticking the transaction or at <em>the very least</em> notifying the user of an issue.</p><h3>Why is transaction infrastructure tedious to build?</h3><p>Most projects and startups want to focus on building their product, not infrastructure work.</p><p>So why is it tedious? What does the developer need to consider when implementing transaction infrastructure?</p><ul><li><strong>Fee-estimation. </strong>Pick a competitive fee, based on all transactions in the network’s pending pool, to make sure your transaction gets in.</li><li><strong>Transaction fee bumping.</strong> Unsticking a pending transaction by re-publishing it with a higher fee.</li></ul><p>Now let’s imagine there is a list of pending transactions on the network.</p><ul><li><strong>Managing transaction fees in the queue.</strong> All pending transactions from a single signing key must appear in the blockchain by order. If the first transaction has a low fee, that may prevent all other transactions getting accepted.</li><li><strong>Re-ordering transactions based on priority.</strong> If a new transaction arrives and it has high-priority (i.e. it should be confirmed immediately), then the signer must re-order the list of pending transactions or issue the transaction using a new signing key.</li></ul><p>Keep in mind, while the above tasks are awkward and fiddly to implement, it is also desirable for transaction infrastructure to pay the lowest fee possible while remaining competitive in the fee market.</p><h3>Any evidence that building reliable transaction infrastructure is hard?</h3><p>There is plenty of empirical evidence that transaction infrastructure is a problem companies face today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*LXI2ItciHS0OsStfemI61g.png" /><figcaption>faTop-12 smart contracts based on transaction fees paid in a 30 day period (11th February 2020)</figcaption></figure><p><strong>Easy solution — always overpay fees. </strong>Over the past year, the recommended fee for fast confirmations by <a href="https://ethgasstation.info/">EthGasStation</a> is often within the 8–10 gwei range.</p><p>However, as we can see in the picture above, many transactions for popular smart contracts greatly overpaid the recommended fee. The worst offenders were WENi at 32.6 gwei (3x) and Tepleton at 24.4 gwei. Of course, we need to take into account that it is the transaction signer (and not the smart contract) picking the <em>outrageous</em> <em>fee</em>.</p><p>So another good approach to better understand if companies are overpaying fees is to randomly sample their existing transactions. If we look at exchanges, then both Huobi at 35 gwei (3x) and Binance at 40 gwei (4x) outrageously overpay their fees — likely contributing to the table above.</p><p><strong>Bad solution — Fatal consequences. </strong>When network congestion hits, then bad transaction infrastructure simply falls over and transactions get stuck (i.e. even overpaying the fee is not always good enough).</p><p>Fixing the stuck transactions often involves manual intervention, <em>e.g. think of the ‘bump fee’ option in meta-mask.</em></p><p>For many projects, the need for manual intervention only harms the user experience, but for other projects, a <strong>stuck transaction can be fatal</strong> and result in the loss of funds.</p><h3>DeFi Saver on Twitter</h3><p>@aantonop This is exactly what our product does for its users, all through smart contracts, in a fully trustless manner. But due to network congestion today, our system failed to save two of the subscribed CDPs, which is what the original Tweet was about. 4/4</p><p>Another good example last year was <a href="https://defisaver.com/">DeFi Saver</a> (shout-out to a great team btw) failed to protect two Maker DAO CDPs due to network congestion. Thankfully DeFi saver compensated the user’s losses… but… it clearly highlights that reliable transaction delivery is not a trivial problem.</p><h3>How does any.sender help?</h3><p>Our goal is to ensure any third party project can simply <em>outsource their entire transaction infrastructure </em>to any.sender in a non-custodial manner and the promised quality of service is enforced by an on-chain smart contract.</p><p>But how does that work?</p><p><strong>Easy registration. </strong>The only thing required is an on-chain deposit of ether into the any.sender smart contract.</p><p><strong>Sending jobs via the any.sender API.</strong> The customer can craft and sign a relay transaction with a specified deadline (e.g. accepted by block 100) via our API.</p><p>In return, the any.sender sends the customer a signed receipt to acknowledge the job was accepted and that it will be fulfilled by the desired deadline.</p><p>And that is it. The customer can simply wait and watch for the transaction to get confirmed in the blockchain.</p><p><strong>OK. But what if the relay transaction doesn’t get in?</strong></p><p>The any.sender quality of service is enforced by a smart contract and financial penalties can easily be imposed if we fail to adhere to our promise.</p><p>With the signed receipt, the customer can submit it as evidence to the on-chain any.sender smart contract to prove the relay transaction was not accepted into the blockchain by the promised deadline.</p><p>There are two outcomes:</p><ul><li><strong>Refund (compensation).</strong> The any.sender operator must refund the customer by the pre-agreed amount ($10+)<strong> </strong>specified in the signed receipt.</li><li><strong>Slashed.</strong> If the customer is not refunded in a timely manner, then the any.sender operator is fined (e.g. security deposit is slashed).</li></ul><h3>Is there anything that makes any.sender special?</h3><p>We have put together a summary on some of any.sender’s coolest features:</p><ul><li><strong>A simple API. </strong>An on-chain deposit, plug and play service.</li><li><strong>Non-custodial service. </strong>We are only responsible for paying the gas fee for pre-authorised transactions.</li><li><strong>Lowest price first.</strong> We always broadcast the transaction at a competitive (and low) gas price and steadily bump the fee until it gets in.</li><li><strong>Concurrent in-flight meta-transactions.</strong> Thanks to our <a href="https://github.com/PISAresearch/metamask-comp">replay protection proposals</a>, we are the first meta-transaction relayer to support processing transactions out of order. e.g. if an exchange wants to process 100 withdrawals, the order of each withdrawal does not matter.</li><li><strong>Smart contract-enforced quality of service. </strong>Customers are empowered to hold us financially accountable if we fail to deliver the promised quality of service. In a way it is one of the first real “smart contracts”.</li></ul><h3>Try out the any.sender service</h3><p>To get started by:</p><ul><li>Going to our <a href="https://www.anydot.dev/">website</a></li><li>Reading our developer <a href="https://github.com/PISAresearch/docs.any.sender">documentation</a></li><li>Checking out this <a href="https://github.com/stonecoldpat/anysender-voting/tree/master/src">voting example</a> on how to use the any.sender client</li><li>Joining the conversation in our <a href="https://t.me/anydotsender">Telegram</a></li><li>Following us <a href="https://twitter.com/anydotcrypto">Twitter</a></li></ul><p>We are super excited to see how well automated arbitration and smart contract accountability works in practice.</p><p>While we continue implementing features to fully achieve the service we want to deliver — <strong>it is time to let any.sender jump into the wild.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34b36ba7519b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/any-sender-transactions-made-simple-34b36ba7519b">any.sender, transactions made simple</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptocurrency Training Workshops for Bitcoin & Ethereum]]></title>
            <link>https://medium.com/anydot/cryptocurrency-training-workshops-for-bitcoin-ethereum-1953974f7bc6?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/1953974f7bc6</guid>
            <category><![CDATA[workshop]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[training]]></category>
            <category><![CDATA[enterprise]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Thu, 12 Dec 2019 16:37:09 GMT</pubDate>
            <atom:updated>2019-12-12T16:37:09.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PfFOWLprkqAa32ryZU3j6w.jpeg" /><figcaption>Dr Patrick McCorry teaching his 10-week cryptocurrency class which peaked at 350 attendees</figcaption></figure><p>If you are an enterprise, organisation or a foundation, and want to help get your R&amp;D team (e.g. researchers &amp; software engineers) up to speed on cryptocurrencies. Then this workshop is for you.</p><p>We offer technical deep-dive workshops, based on Bitcoin and Ethereum, tailored to your needs. It covers fundamental topics including distributed systems, applied cryptography, security engineering and the game theory for why it works.</p><blockquote>Check out our sample lecture, <a href="https://echo360.org.uk/media/ceff7afc-f356-4ffe-957d-8d4ed4a76981/public">an introduction to cryptocurrencies</a>, that highlights how a mish-mash of several computer science topics came together to make Bitcoin (and Ethereum) work on a global scale.</blockquote><p>After attending our workshop, students will have a good understanding of why and how cryptocurrencies work. They’ll be in a position to build meaningful proof of concept applications, kick-start new product offerings, or even better, contribute towards open-source repositories.</p><p>Although — we only have the capacity to perform<strong> 1 international workshop per month. </strong>If you want to learn more about our training fees and organise a workshop with us, then please reach out at patrick@pisa.watch.</p><h3>Why are we qualified to teach?</h3><p>At PISA Research, we are domain experts in cryptocurrencies, distributed systems and applied cryptography.</p><p>Our core instructors have prestigious academic background:</p><ul><li><a href="https://twitter.com/paddypisa"><strong>Dr Patrick McCorry</strong></a><strong> </strong>is the CEO of PISA Research. He was an Assistant Professor at King’s College London in Cryptocurrencies and Security Engineering. His focus is cryptocurrencies, smart contracts, applied cryptography and decentralised systems. Patrick is the UK’s first PhD graduate in Cryptocurrencies and his work has recently appeared at Devcon3&#39;4&#39;5, Scaling Bitcoin 17&#39;19&#39;, Breaking Bitcoin 17, CESC 17, BPASE 19 and SBC19 alongside numerous academic venues.</li><li><a href="https://twitter.com/sr_gi"><strong>Dr Sergi Delgado</strong></a><strong>.</strong> He is the CSO and lead Bitcoin dev at PISA Research. His background is in cryptocurrencies and distributed networking. Sergi is the first Spanish PhD graduate in cryptocurrencies and his work has appeared in Scaling Bitcoin 2018 and 2019, Financial Cryptography 2017 and 2018 as well as other academic venues and journals.</li></ul><p>We don’t just stop at the theory, <strong>all team members are engineers:</strong></p><ul><li><strong>All team members </strong>(Patrick, Sergi, Chris, and Salvatore) are involved in building our third party broadcasting service that will be released in 2020 Q1. We get our hands dirty coding solidity contracts, tooling in Ethereum (etherjs, waffle, truffle, web3, etc), Bitcoin’s lightning network and our in-house Bitcoin tooling. Over the years, we have open-sourced popular projects including the <a href="https://github.com/stonecoldpat/anonymousvoting">open vote network</a> and <a href="https://github.com/sr-gi/bitcoin_tools">BTC Tooling</a>.</li></ul><p>Together, we understand<strong> both the theory and state-of-the-art engineering </strong>involved in cryptocurrencies. This is why the workshops are designed to help students understand why something works before getting their hands dirty in the programming.</p><h3>Long-term experience running training workshops</h3><h3>Work on Blockchain on Twitter</h3><p>Do you love hands-on coding sessions? Then you will love our FREE 2-DAY Blockchain Bootcamp for Software Engineers on November 16th &amp;amp; 17th! More information in the link below. Your chance to become a future #blockchain #developer. #workonblockchain https://t.co/fcjwGYLxwa</p><p><strong>Weekend Blockchain Developer Workshops. </strong>Patrick McCorry has been the lead lecturer at weekend developer bootcamps every month in London for the past 2 years with <a href="https://twitter.com/extropyLaurence">Laurence Kirk</a>. It covers Ethereum research and development.</p><h3>Patrick McCorry ☘️ on Twitter</h3><p>In London, we packed a lecture theatre with 250+ students and developers for the first cryptocurrency class. I&#39;ve made a snippet Don&#39;t forget to sign up: https://t.co/5qnLSJDiwK All class material + recap: https://t.co/23MPhkMz8O I&#39;ll soon stop tweeting about it, I promise! https://t.co/nIrEwuU0Ut</p><p><strong>10-week Cryptocurrency Class. </strong>While an Assistant Professor at KCL, Patrick McCorry hosted a successful 10-week cryptocurrency class in early 2019 with a peak attendance of ~350 students. It covered a range of topics from scalability of blockchains, financial privacy &amp; why the blockchain is a natural home for financial cryptography.</p><h3>PISAResearch on Twitter</h3><p>Thanks to @fidelitylabs for sponsoring our Bitcoin development workshop in Dublin! @paddypisa and @sr_gi covered financial privacy, scalability problems, security issues, and off-chain protocols. plus hands-on coding with bitcoin script &amp;amp; setting up/using @lightning channels</p><p><strong>Bitcoin Training Workshop.</strong> Within PISA, co-founders Patrick McCorry and Sergi Delgado have offered Bitcoin Developer Workshops with a special focus on the Lightning Network. Fidelity labs was the most recent client.</p><h3>Topics that we can cover:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3SRsOp5LCfk1wKA0Nwxvg.png" /><figcaption>Please check out a sample lecture, <a href="https://echo360.org.uk/media/ceff7afc-f356-4ffe-957d-8d4ed4a76981/public">intro to cryptocurrencies</a>, to judge the quality of our content.</figcaption></figure><p>Over the past few years, we have put together a variety of teaching material for the training workshops. Some of it includes (non-exhaustive list):</p><ul><li><strong>Motivation &amp; Why:</strong> Intro to cryptocurrencies from being a political hedge to a playground for an emerging financial system.</li><li><strong>Blockchain as a Data Structure: </strong>UTXO vs Account-based, alongside why cryptography is used for authentication &amp; integrity, but privacy is hard.</li><li><strong>Cryptography &amp; the Blockchain:</strong> Self-custody of funds and the rise of ZKP and privacy-coins.</li><li><strong>Problems surrounding on-chain scalability</strong>: Why 1GB blocks are not yet possible; what is a compact block or a fraud proof? And how can we distribute the task of global verification?</li><li><strong>Privacy, or lack of, on Cryptocurrencies: </strong>In 2011, Bitcoin was advertised as a global, cheap, fast and anonymous currency. We now know Bitcoin is the most traceable currency in the world. So how can we make it more private and how to popular privacy coins work?</li><li><strong>Myth of decentralisation. </strong>Teams and activists likes to shill that their product / solution is “decentralised”, but what does this mean in practice? If crypto is not really decentralised, then what is it all about?</li><li><strong>Building &amp; Breaking Smart Contracts:</strong> An algorithmic third party with public state enforced by a global network. How contracts are broken time and time again (devops199 anyone?).</li><li><strong>Hands-on programming in Bitcoin and Ethereum:</strong> Want to deep-dive into working with the UTXO model? Or how to write secure solidity contracts?</li><li><strong>Future upgrades to Bitcoin: </strong>SIGHASH_NOINPUT, TAPROOT, GRAFTROOT, etc.</li><li><strong>Bitcoin’s Lightning Network: </strong>A truly peer-to-peer routing network? How does a HTLC work? What is a liquidity service provider and the problems around it? What is it like programming using LND or c-lightning? Hack-a-lapp today.</li><li><strong>History of Off-chain Channels:</strong> One-way payment channels (Spilman &amp; hashcoin) straight up to smart contracts via off-chain channels.</li><li><strong>Commitchains, Plasma &amp; Rollup:</strong> Most of us have experienced off-chain scalability for the past 10 years; but it has been fully custodial and riddled with large-scale hacks. Can we have the same experience in a self-custody manner?</li></ul><p>While we build a tailored training workshop for you, it is important to remember that a workshop is not a lecture series.</p><p>We encourage students to ask questions during the workshop and very often they take advantage of it. After all, we can only prepare material we think they want to learn, but we might not cover all edge-cases, so the discussion really brings out the learning experience to ensure it exactly matches what your team needs to learn.</p><p>If you would like to learn more about our training fees and organise a workshop with us, then please reach out at patrick@pisa.watch.</p><p><em>Of course, thanks to the wider cryptocurrency community, for the continued support over the years, our workshops would not be the same without it.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1953974f7bc6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/cryptocurrency-training-workshops-for-bitcoin-ethereum-1953974f7bc6">Cryptocurrency Training Workshops for Bitcoin &amp; Ethereum</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[December Newsletter — Weeds]]></title>
            <link>https://medium.com/anydot/december-newsletter-weeds-5d8bf74de72f?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/5d8bf74de72f</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[relayer]]></category>
            <category><![CDATA[offchain]]></category>
            <category><![CDATA[responder]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Mon, 02 Dec 2019 14:37:15 GMT</pubDate>
            <atom:updated>2019-12-02T14:45:07.207Z</atom:updated>
            <content:encoded><![CDATA[<h3>December Newsletter — Weeds</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PBCm9XisHjsbH7LM" /><figcaption>Patrick McCorry attended the IC3 Retreat in NY — a wonderful science-driven event.</figcaption></figure><p><strong>tldr; We have posted a blog-post about the technical difficulties to build responders, the WatchTower BOLT for public feedback, and we have been pretty busy at meet ups about off-chain scalability.</strong></p><p>At PISA Research, our goal is to build the missing components for <em>an off-chain, open-source, global and permissionless financial system</em>. Over the past few years, we have helped set the foundation for off-chain scalability and now our task is to ensure that crypto, via off-chain, is adopted by billions of users.</p><h3>🚀 Responders: Bitcoin vs Ethereum 🚀</h3><p>As everyone is aware, at PISA Research we are building:</p><ul><li>Relayer: Improving transaction delivery on Ethereum,</li><li>Responder: Relaying transactions when triggered by an on-chain event.</li></ul><p>Our responder is built for Bitcoin (BTC-WatchTower) and Ethereum (any.watcher). Both implementations are pretty close to an MVP and for live test use by companies.</p><p>To reflect on how far our implementation has come, we wrote <a href="https://medium.com/pisa-research/responders-bitcoin-vs-ethereum-cc0c74a57452">a blog post</a> to cover some of the technical challenges that arise in both platforms. While you would think something like a responder is pretty easy to build, in fact it is non-trivial for both platforms.</p><p>One example includes transaction fees. In Bitcoin, we cannot guarantee a quality of service as we cannot bump the fee (without using child-pays-for-parent) and instead must rely upon the client picking a “good fee” in advance. In Ethereum, we can indeed bump the fee, but we need to carefully load balance transactions across multiple wallets due to limits on the number of pending transactions per account.</p><p>Of course, we advise reading the <a href="https://medium.com/pisa-research/responders-bitcoin-vs-ethereum-cc0c74a57452">blog post</a>. But it is crazy to think most projects actually need to replicate this functionality for their dapps (by the way, applicable for most dapps that are not off-chain related).</p><blockquote>This is why we will shortly begin offering transaction delivery and blockchain interaction as a service.</blockquote><h3>🚀 WatchTower BOLT #13 draft🚀</h3><p>Thanks to the hard work of Sergi Delgado, we have finally posted a draft BOLT for a WatchTower standard to the <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-November/002350.html">lightning network mailing list</a>.</p><p>Several implementations have popped up for watchtowers (including LND and electrum), so it feels like the right time to start coming together on a standard specification for a basic watching service.</p><p>The BOLT includes how to set up the encrypted blob, the communication protocol between the client and watchtower, and also how to add a signed receipt to every request (e.g. quality of service).</p><p>p.s. it was also included in the <a href="https://medium.com/zebedee-engineering/lightning-this-week-605-954-23403a1f9737">weekly lightning newsletter</a> which you should checkout.</p><h3>🚀 Boston Meetup 🚀</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9fcnt8nd9SpSihTaFlTcQ.jpeg" /></figure><p>Thanks to Fidelity Labs for organising an off-chain scalability meet-up moderated by <a href="https://twitter.com/_amanda_fab">Amanda</a> with panelists <a href="https://twitter.com/wtogami">Warren</a>, <a href="https://twitter.com/tdryja">Tadge</a>, <a href="https://twitter.com/StacieWaleyko">Stacie</a>, <a href="https://twitter.com/paddypisa">Patrick</a> &amp; <a href="https://twitter.com/Ethan_Heilman">Ethan</a>.</p><p>There is no recording of the meet-up. But several cool topics came up including the lightning network, why self-custody is important, are sidechains really off-chain, and why academics are leaving university to pursue startups.</p><h3>🚀 Technical Deep Dives 🚀</h3><h3>Ev on Twitter</h3><p>Yesterday at @initc3org meetup, I watched an amazing and comprehensive talk by Patrick McCorry on the state of off-chain protocols. From LN to Rollup. @paddypisa is there any recorded version of it, to keep around as a reference?</p><p>Thanks to <a href="https://medium.com/u/87d28920d977">ChainLink</a> for sponsoring and hosting a meet-up for us at crypto_nyc. Patrick McCorry gave a 2-hour lecture which is probably the most in-depth technical talk yet about off-chain protocols.</p><p><a href="https://docs.google.com/presentation/d/1VA5FM0Gtz-WXV-R6woqiPnCSapaMlsu5t-h8s5R-cyg/edit?usp=sharing">The slides are here</a>. It is a bit of a mishmash of previous talks with additional content around commitchain rollups. It covers the history of channels, channel networks, why payment channel hubs are awkward, why it is likely most service providers will run some form of commitchain and what the hell rollup is all about.</p><p><strong>Why do we bother with technical talks and meet-ups? </strong>Companies I am in touch with are excited for off-chain protocols. They want to get their hands dirty in the lightning network, plasma, etc.</p><p>The problem is that most companies lack the expertise to fully understand what is going on, they do not have any confidence in the software (in fact, most companies are just trying to keep their house in order never mind run close-to-alpha software) and they also assume it is a scaling solution that must come first before they can use it.</p><h3>Patrick McCorry ☘️ on Twitter</h3><p>I have decided to stop talking about off-chain protocols in terms of &quot;scalability&quot;, but self-custody. 1. Off-chain has been around since 2011 2. But fully custodial, evident the frequent &amp;amp; large-scale exchange hacks 3. LND + Plasma is just about self-custody. FIN.</p><p>This is why at PISA Research, we are changing the narrative around off-chain protocols.</p><p>For the past ~10 years, most people have used an off-chain protocol. The problem is that most implementations today are custodial and require us to trust the service provider.</p><blockquote>But service providers can’t be trusted and not because they are malice, but keeping $bn keys secure is a titan-task.</blockquote><p>So off-chain protocols like channels and commitchains, will hopefully, let us have a similar experience to the custodial solutions deployed today, but with an emphasis on protecting the user and letting them maintain full custody of their funds.</p><p>But large service providers are not going to start running $1bn lightning channels, plasma, or any other off-chain solution from day 1. Instead, we need to get back to basics, which is why we are focusing on <strong>transaction delivery as a service</strong>, as it is a fundamental building block for any off-chain protocol.</p><p>When that is working, we’ll help move our industry, step by step, towards a self-custody future.</p><p>This is indeed the future of finance. Let’s go.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d8bf74de72f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/december-newsletter-weeds-5d8bf74de72f">December Newsletter — Weeds</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Responders: Bitcoin vs Ethereum]]></title>
            <link>https://medium.com/anydot/responders-bitcoin-vs-ethereum-cc0c74a57452?source=rss----8fb13ee6f0af---4</link>
            <guid isPermaLink="false">https://medium.com/p/cc0c74a57452</guid>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Patrick McCorry]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 21:44:54 GMT</pubDate>
            <atom:updated>2019-11-19T21:59:34.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qzrRzFdhauwqs81e8W61Hg.png" /><figcaption>We are building responders for both Bitcoin and Ethereum</figcaption></figure><p><strong><em>tldr; Building a simple responder, for Bitcoin or Ethereum, is hard and sometimes non-trivial. Some projects are trying to build this piece of critical infrastructure and it will be surprising if any of them can get it right.</em></strong></p><p>At PISA Research, we are building <em>financially accountable</em> responders for both Bitcoin and Ethereum.</p><p><strong>What is a responder? </strong>A third party who is responsible for watching for an on-chain event and then relaying a transaction on the user’s behalf. <em>Other names include </em><a href="https://twitter.com/paddypisa/status/1195303122077470721"><em>watchtower</em></a><em>.</em></p><p>If all goes well, responders will help alleviate the user online requirement. In other words, the user can safely go offline knowing a third party will watch and respond to an on-chain event on their behalf.</p><p><strong>At first sight, it looks like an easy thing to build. </strong>So in this blog post, we’ll cover some of the interesting insights and technical difficulties we have faced ranging from fairly rewarding a responder, managing multiple wallets and even something as simple as storing jobs.</p><p>Let’s get started.</p><h3><strong>Fairly rewarding responders?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*iyEGlFlQ3jbEbyNAqcja6g.png" /><figcaption>Many towers, one reward.</figcaption></figure><p>When the wider community discusses the concept of a relayer/responder network, full of independent responders, the first reward mechanism that typically pops ups is the on-chain bounty approach.</p><p>This vision has three goals:</p><ol><li>Trust-minimisation: The user does not blindly trust a single responder,</li><li>Availability &amp; reliability: Hopefully, at least 1 of N responders, will be online and will respond on the user’s behalf,</li><li>Fair reward: Responders are rewarded for <em>actually</em> doing their job.</li></ol><p>If a third party responding network can be pulled off, then it would truly be exciting. Easy to commoditise, decentralised and every day folk can earn money using their home machines.</p><p>As you can imagine, there are a few issues with the above approach if it were implemented. To help make it clear, let’s pose some simple questions:</p><p><strong>What if the customer hires 22 responders and none of them respond?</strong> Touch luck. There is no evidence the customer hired any responders, there is no recourse or refund. The customer will simply lose out and no responder is on the hook. From a user experience perspective that sucks, a lot.</p><p><strong>What if the customer hires 22 responders and they all try to respond at the same time? </strong>Only one responder is rewarded for claiming the on-chain bounty. The experience differs significantly in both Bitcoin and Ethereum.</p><p>In Bitcoin, the only immediate use-case for a responder is to watch replace-by-revocation lightning channel. The great thing about the UTXO design is that the user can send each responder a different pre-signed transaction. If there is a channel dispute, then only one pre-signed transaction will be accepted into the blockchain (i.e. because it is spending an output). All other pre-signed transactions are invalidated and dropped from the network (i.e. considered double-spend attempts).</p><p>This has a nice benefit for responders as the user pays the network fees upfront and there are no network fees for failed attempts. Of course, there is still a real financial cost for the responder. They need to pay the bandwidth and storage for the pre-signed transactions, which as we will see, it can be significant in Bitcoin’s lightning network.</p><p>In Ethereum, the story is a bit different. It is not safe for a responder to accept pre-signed transactions to relay due to the use of nonces for replay protection. (e.g. it is easy for the customer to mistakenly invalidate it by sending another transaction with the same nonce). Instead, the responder is responsible for wrapping the customer’s desired calldata in a transaction and delivering it to the blockchain.</p><p>There are two problems that pop up:</p><ol><li>Early response: No out-of-the-box method to prevent a responder sending the response before it is required.</li><li>Pay for failure: Responder has to pay and manage the fees for a transaction.</li></ol><p>The early response problem is bad for the user as the responder can accept the job and immediately submit it. At PISA, we want to build accountable service, so it is crucial the user can easily prove to the smart contract about this bad behaviour (or even better, if the smart contract can just prevent the submission). <a href="https://medium.com/pisa-research/verified-history-the-missing-block-hashes-9edbfa9dbe1">Check out our previous blog post about this problem.</a></p><p>Although there is a more subtle problem due to the lack of block re-org safety in Ethereum.</p><blockquote>If we do not wait for the on-chain event to receive sufficient confirmations, then a miner can toy with the event transaction and the response transaction. What can a miner do? Just re-order them so the response is first. That just isn’t possible in Bitcoin.</blockquote><p>What about the pay for failure problem? We think it could hinder the growth of a larger responder network. Why?</p><blockquote>If the customer hires N responders, then 1 responder will win the on-chain bounty and the remaining N-1 responders will have to pay a network fee for the failed transaction.</blockquote><p>This sucks, a lot. There is a financial risk for a responder as they may have to pay a network fee without getting an on-chain reward. So it is unrealistic to assume responders will perform this role without payment upfront to cover the cost. If this is the case, then the customer will have to pay a fee for every responder (22x fees).</p><p>One way to mitigate the above issues is to enforce segmentation of responses (and in fact, it is advocated in this <a href="https://arxiv.org/abs/1811.12740">paper</a>).</p><p><strong>What is the best way to segment responders, so there is a dedicated slot for each responder to respond?</strong></p><p>Generally speaking, every time a new job is sent to the responders, they are shuffled into a list of slots. But there are two points to consider:</p><ul><li>Sufficient time: Responders should have enough time to get their response recorded during their slot.</li><li>Enforcing slots: Is it necessary to have a smart contract verify that a responder completed the job during their slot?</li></ul><p>Let’s first consider the sufficient time point. There are some great logistical issues. Should we require responders to only respond during a fixed slot? Should we require responders to respond before a certain deadline and potentially allow collisions? How many slots do we allocate for each job? Especially if the required response time varies (e.g. respond in 1 hour or in 1 day). There is no right answer to the above, its mostly to do with holding responders accountable and verifying they are doing their job.</p><p>The enforcing slots aspect is a bit more interesting. The slots can be built into the smart contract such that it can verify if the responder has sent their job during an allocated slot (or before time t). But this may increase the on-going financial cost of running a responding network (i.e. opcodes need to be executed!) and also it requires additional logic in the smart contract which can be tricky to get right.</p><p>In the long term, we want to build a responding pool, where the jobs are given to K of N responders, and only one of them have to respond. So far, we are opting for responders to perform a random coin-flip to determine their slot (i.e. potential collisions) without on-chain enforcement. The motivation is to simplify the contract (no need to deal with slots) and to reduce the on-going financial cost (no need to verify slot response).</p><p>But it remains an open research question on the best way to approach this problem, especially if all the responders have put down stake (skin-in-the-game) line and they can be penalised for failing to provide a quality of service.</p><h3><strong>What if a miner is part of the responder network?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/0*nPnqM-K2zqxITNsi.jpg" /><figcaption>miners &gt; entire network</figcaption></figure><p>As we mentioned earlier, the vision is to build a global responder network, where folks in their homes can participate and stack wei. But if it is an open and free-for-all network, then miners can single-handedly front-run an entire responding network.</p><p>In a way, they are the best positioned to perform the role as they can guarantee a quality of service to paying customers.</p><p>However this brings up ideological issues…</p><blockquote>Should we provide miners with an additional function given they already yield an unreasonable amount of power to order transactions?</blockquote><p>To be honest, I don’t know the right answer to that.</p><p>Typically in cryptography, it is best practice not to overload the usage of a key (e.g. signing key, encryption key, etc). I feel that principle should be applied here, certainly to uphold censorship-resistance of the network and discourage out-of-band fees.</p><h3>Managing wallets for multiple responders</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*F1E-28zZ8CpOyTr0.jpg" /><figcaption>Account balances, bumping fee and concurrent transactions</figcaption></figure><p>A wallet is just a list of keys and each key may (or may not) have a balance on the network. If a responder is responsible for sending transactions to the network (and paying the transaction fee), then there are two key points:</p><ol><li>Topping up up: The signing key used to broadcast transactions should have a sufficient balance on the network to pay the transaction fee,</li><li>Multiple jobs: A responder may have to send two or more jobs using a single signing key. It is crucial that an earlier transaction cannot block a later transaction getting into the blockchain,</li><li>Bumping fees: It is common for pending transactions to linger due to bad fee estimation and sometimes they need a little bump.</li></ol><p>In Bitcoin, 1) and 2) are not really issues. The responder only deals with pre-signed transactions (and hopefully, within an encrypted blob) and their only job is to broadcast this pre-signed transaction. Since it is pre-signed and the fee is fixed upfront, then there is no need for any wallet management. As well, all transactions are independent of each other as they are spending a unique output. So there is no issue with handling concurrent transactions (although, <a href="https://github.com/bitcoin/bitcoin/blob/57b34599b2deb179ff1bd97ffeab91ec9f904d85/doc/release-notes/release-notes-0.12.0.md#memory-pool-limiting">afaik bitcoin core only allows up to 25 chained transactions</a>, but not an issue at all for us).</p><p>While this simplifies the responder in Bitcoin, it also implies that a quality of service cannot be guaranteed so 3) is a problem. If the pre-signed transactions’ fee is not adequate, then it cannot get into the blockchain. The only way around this issue is to have the customer pre-sign several transactions with an increasing fee, or the customer to allocate an output to let the responder perform child-pays-for-parent (but this is awkward to deal with as we need to write logic that can verify we own one of the outputs and then subsequently spend it).</p><p>In Ethereum, the responder must pay the transaction fee. There is a pretty easy solution for 1) to handle topping up wallets (albeit, there is slight gas increase). Our PISA contract can be topped up with coins to automatically refund the responder the transaction fee after each response. That way, we do not necessarily have to keep track of balances in every wallet. However, due to problems with the EVM, it is pretty tricky to compensate the responder/caller the exact amount of gas used. Why? it is not straight-forward to verify the gas consumed by the transaction’s payload size (i.e. the calldata).</p><p>2) is a more problematic issue. If our implementation relies on a single Ethereum account (i.e. a single signing key), then all pending transactions must be chained according to the transaction nonce (e.g. nonce =1, nonce = 2) and each transaction must be accepted into the blockchain in order.</p><p>Why is this a problem?</p><blockquote>If an earlier pending transaction (e.g. nonce = 1) has a low fee, then it will prevent ALL subsequent and dependent transactions getting into the blockchain. <a href="https://twitter.com/DeFiSaver/status/1176606690411778052?s=19">This is exactly the issue DefiSaver faced and it resulted in some CDPs getting liquidated.</a></blockquote><p>So it is critical that a responder has multiple accounts that are used to relay transactions. Then it simply becomes a load-balancing problem to support concurrent responses and also to ensure a single account is not responsible for too many jobs. For example, depending on the node configurations, in parity it is 16/1% of mempool and geth is 64.</p><p>This brings us to 3) as our responder must bump the fee. The minimum fee bump for a transaction is around 12.5%. So care must be taken not to excessively bump the fee (and annoy our customers), while trying to ensure the transaction gets in the blockchain before the deadline. One nice feature that does arise is that we can re-order the pending transactions (when we bump the fee) so the response/job with the earliest deadline can be first in the queue.</p><h3><strong>Handling block re-organisation and congestion.</strong></h3><p>To offer a quality of service, the responder needs to verify the response got in the blockchain and <em>it actually stayed in.</em></p><p>In Bitcoin, block re-organisations and forks are pretty rare. We estimate there is a 1 -block fork every month on two. If that happens, then the transaction should get confirmed, unconfirmed, and then it should eventually get re-confirmed as the transaction ends up back in the memory pool. Although due to restrictions on the memory pool size, this cannot be taken for granted if the transaction is not paying a reasonable fee. We try to check if the transaction is in the memory pool, but really the only way to try and support a quality of service is to periodically re-broadcast the transaction.</p><p>In Ethereum, <a href="https://ycharts.com/indicators/ethereum_uncle_rate">around 6% of all blocks are uncle blocks </a>(i.e. forks where the block was mined, but overtaken by another block). So handling block re-organisation is a priority for any responder implementation. We need to consider how to track our responses in the memory pool and bump the fee if we think it is going to get dropped. As well, we want to ensure transactions get in the blockchain before the deadline so we have had to consider some aggressive fee-bumping strategies.</p><p>Of course, the general heuristic is to wait for N confirmations before considering the transaction accepted into the blockchain is a must. For Bitcoin and Ethereum, the heuristic is pretty reasonable, but for less popular coins care must be taken (<a href="https://blog.coinbase.com/ethereum-classic-etc-is-currently-being-51-attacked-33be13ce32de">like the 100+ block reorg in Ethereum Classic</a>). That is one of the reasons we need to be cautious over what chains we will support going forward.</p><h3><strong>Storage requirements.</strong></h3><p>What information that needs to be stored by a responder is mostly determined by the application.</p><p>In Bitcoin, the only viable application for a responder is the infamous WatchTower for the Lightning Network. The payment channel construction relies on replace-by-revocation for state updates and thus it has a pretty annoying storage problem. If you want to learn more, <a href="https://docs.google.com/presentation/d/1Dnf0CeIFVEE12O_537qxsio1CfWldYeFlzhtHZDSrtU/edit?usp=sharing">check out our cool slides here.</a></p><p>What is the issue? Well in Lightning, there is a single valid state and a set of revoked states. Only one state can be accepted into the blockchain. So if a revoked state gets in, then the responder needs to publish the corresponding justice transaction (‘evidence’) to prove it was indeed revoked. As a result, the watchtower must store O(N) jobs for every channel they are watching. But how bad does this get?</p><p>Let’s imagine a user tries to route a payment on the network and there are 13 failed routing attempts. The responder will be required to store ~25 pre-signed justice transactions. Why?</p><blockquote>Every time the user tries to set up a new HTLC path and it fails, there are two updates in the channel (to create the HTLC and to remove the HTLC). As a result, we end up with 25 revoked states and 1 valid state (i.e. to remove the final failed HTLC). If every job is ~500 bytes, then it is ~12.5 kilobytes. This quickly blows up as we scale for multiple users and payments.</blockquote><p>In Ethereum, there is a big misconception that responders are only useful for off-chain protocols. We are partly to blame, since that is what brought us towards building a responder. But it is the right time to make the message clear, so please repeat it with me:</p><blockquote>Responders are useful for 95% of smart contracts* on Ethereum.</blockquote><p>Generally, it is O(1) storage for most applications, and a responder is useful when a smart contract involves a two-step protocol (e.g. commit and reveal).</p><ul><li>You need to stay online to watch for CDP liquidation? Hire a responder</li><li>You need to stay online to reveal your bid? Hire a responder</li><li>You need to stay online to enforce a step-loss feature for a decentralised exchange? Hire a responder</li></ul><p><strong>This is a big deal.</strong></p><p>There are several Ethereum projects that can benefit if there was a responder available for their users. From our understanding, projects tend not to build a responder simply because they need to focus on their core business (and application). It isn’t fun to build solutions for annoying technical problems, even if it were to improve the user experience.</p><blockquote>In fact, one notable project I met with recently told me they spent 8-weeks building a simple relayer, never mind a responder. By the way, we will have a relayer on offer shortly :)</blockquote><p><strong>So our motivation is to offer a responder as a service. </strong>We hope it will speed up the dapp development process via a simple API and it will improve the user experience as users can go offline with full confidence the protocol execution will finish. With our infrastructure, it will be exciting to see the type of applications that will eventually be built on top of it.</p><p><strong>Final notes.</strong> For something that sounds so simple, it really is a non-trivial beast to build and deploy.</p><p>The issues listed in this blog post are just tip of the iceberg. We haven’t discussed fee estimation, crash recovery and persistence, or protection from denial of service attacks. We have tried to cover the main distinctions we have encountered when building for both platforms and it is interesting to see the subtle differences rear their ugly heads and impact the final design of both responders.</p><p>Thanks for reading. If you made it this far, here is a <a href="https://twitter.com/btaylor/status/1195591914138980352">motivational video for you to watch.</a></p><p><em>*we do not know the real percentage of smart contracts, but it is a lot and you are probably building one right now that can benefit!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc0c74a57452" width="1" height="1" alt=""><hr><p><a href="https://medium.com/anydot/responders-bitcoin-vs-ethereum-cc0c74a57452">Responders: Bitcoin vs Ethereum</a> was originally published in <a href="https://medium.com/anydot">anydot</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>