<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bogdan Batog on Medium]]></title>
        <description><![CDATA[Stories by Bogdan Batog on Medium]]></description>
        <link>https://medium.com/@batog?source=rss-46de937c1068------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pZacSyR8pBvDL5wOwR754A.jpeg</url>
            <title>Stories by Bogdan Batog on Medium</title>
            <link>https://medium.com/@batog?source=rss-46de937c1068------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:54:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@batog/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Refundable ICOs and Gradual Issuance ICOs]]></title>
            <link>https://medium.com/@batog/refundable-icos-and-gradual-issuance-icos-2fe5e5d315ae?source=rss-46de937c1068------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fe5e5d315ae</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ico]]></category>
            <dc:creator><![CDATA[Bogdan Batog]]></dc:creator>
            <pubDate>Mon, 05 Nov 2018 18:35:24 GMT</pubDate>
            <atom:updated>2018-11-05T18:35:24.481Z</atom:updated>
            <content:encoded><![CDATA[<p>Ethereum DevCon4 just ended, after 4 full and intense days, with tens of talks, workshops and satellite events, all attracting about 5–6000 persons. I’m starting a short series of DevCon reports based on selected talks I attended. Here’s the first episode.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*pWqppnaqlGxV3lFVGnaXjw.png" /></figure><p>Day zero, first talk I attended was Refundable ICOs by <a href="https://medium.com/u/4b59b3ef14a2">Fabian Vogelsteller</a>. For anyone who followed the ICO bubble, comparisons with wild west, gold rush or tulip bubble are not unheard of. People rushed to invest in anything, hoping for at least 10x profits in a time-span of months. And projects were popping up each day with a minimal story or team, ready to take investors cryptomoney with no accountability. Numerous projects simply shut down after closing the round.</p><p>This talk introduced a novel way to raise funds by issuing tokens, that shifts some control from the recipient to the investor side. It works by allowing a period of two weeks for investors to deposit their ethers after which the distribution phase starts, that can last for up to two years. In this phase funds are gradually made available to the funded team, at a constant pace. In addition, investors have the option to simply withdraw their (remaining) investment by returning the tokens to the issuing smart contract. This obviously adds pressure on the team to perform well and maintain investor trust. But it makes the method useful more as an extra round of financing, meant to involve community, rather than a classical (dependable) funding round.</p><p>Refundable ICO have common properties with Gradual Issuance ICO. The later mimics the distribution of Bitcoin by allowing investors to purchase a share of virtual mining capacity that entitles them to gradually receive a corresponding share of issued security tokens (say, each day), while still being able to trade the virtual mining tokens. This way investors gradually receive their security tokens (think vesting), thus aligning them with the longer term performance of the project. Gradual Issuance ICO can be implemented on Ethereum as of today, without additional scaling tech, using O(1) operations, based on <a href="http://batog.info/papers/scalable-reward-distribution.pdf">Scalable Reward Distribution</a> algorithm.</p><p>If Refundable ICOs introduce a pace in making funds available to the project, Gradual Issuance ICO introduce a pace in issuing tokens to investors. Both are mechanisms that can help vet quality projects and investors.</p><p>Even if such tools become standardized and largely used, they will not solve by itself the problem of fraudulent projects raising funds from rushed investors, but are a step in the direction of adding more accountability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fe5e5d315ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Old School Marketing Meets Blockchain]]></title>
            <link>https://medium.com/@batog/old-school-marketing-meets-blockchain-e8162c5c2682?source=rss-46de937c1068------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8162c5c2682</guid>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Bogdan Batog]]></dc:creator>
            <pubDate>Wed, 17 Jan 2018 10:47:02 GMT</pubDate>
            <atom:updated>2018-01-17T10:47:02.616Z</atom:updated>
            <content:encoded><![CDATA[<p>We experimented with email marketing in our first year at <a href="https://www.sailo.com/">Sailo</a> in hopes of promoting our platform. [Sailo is a boat and yacht rental marketplace operating in North America and Europe]. We employed an email marketing company that possessed a large database of emails, along with demographic information and of course, user consent to receive advertising materials. They were able to select for potential customers who lived close to a coastal area, had higher income and had interest in outdoor activities. So we made a trial run.</p><p>The marketing company will generate the potential customer selection as well as execute the actual email sending and then provide us with a simple report containing open rate and click rate. We would have no means to verify they actually sent the emails at all, let alone they sent it to the proper demographics or to consenting users. We’d have to trust them.</p><p>We also wanted to avoid cold emailing existing Sailo users. So they asked us the entire list of user emails on our platform, to exclude it from the campaign. Having no prior experience with email marketing but being privacy sensitive, I thought there had to be a way to avoid sending our user emails in plain text. I offered to send them a list of MD5-ed emails (MD5 is a common hashing algorithm which transforms any input text into a determined ‘code’). By MD5 hashing their own email addresses they could then intersect the two sets to find the ones they would have to exclude as email targets.</p><p>I found out this is a common practice, but at the time I was told by the account manager at the marketing company they had to ask the technical team about it and that they’ve never encountered such a request. However, in the end, they accepted it.</p><p>To sum up, what I did was to obfuscate our data before handing it over. This technique successfully protects user privacy where the intersection of user lists is either small or empty. Large overlaps allow marketing companies to map back the obfuscated emails to the clear text emails, for those found in both sets. In these cases even sending hashed data will leak information.</p><h3>Trustless execution with smart contracts</h3><p>An alternative and more powerful solution than MD5 hashing can be conceived by using smart contracts running on a public blockchain. An open source, independently verifiable smart contract can take over parts of the job performed by the marketing company. Both the customer and the provider send their email lists to the smart contract. The contract can then perform the set difference, which serves to exclude the emails in the suppression list and helps build the final list.</p><p>Next step is the actual emailing. If the smart contract sent the final list back to the provider to carry out the actual emailing, it would leak information, as the provider would be able to observe the excluded entries (which must have been entries sent by the customer). The solution is to have the smart contract also execute the actual emailing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*rXZx-CY8O0Vh8gJtwUjuEA.png" /><figcaption>Data flow of email lists</figcaption></figure><p>This solves the trust issue: parties no longer need to exchange data among themselves, instead they rely on an independent, autonomous, open source entity (the smart contract) performing a clear, known set of operations on their data.</p><p>Ideally, this setup would guarantee the integrity and privacy of the entire data path. The email lists would be uploaded to a distributed storage like <a href="https://ipfs.io/">IPFS</a> after being encrypted with a public key of the smart contract. This way, only the smart contract itself would be able to read their contents. If this would work, <strong>the data is guaranteed to travel only to the intended recipient and to be processed only in the intended way</strong>. This is the exact opposite of what we see now with browsing data being collected by countless trackers: there’s no way to control or verify where data is sent or how it is processed.</p><h3>When do we deploy it?</h3><p>This ideal setup may not be realizable, just yet.</p><p>First, the marketing provider does more than this. They also track the open rate, the click rate, the unsubscribe rate and may be able to segment this data based on individual email profiles. There’s no fundamental reason all these could not be performed by the smart contract itself, but this may significantly increase the contract complexity as well as it’s execution costs.</p><p>Then, even if there are ways in which smart contracts can interact with external APIs, needed for example to send emails, heavy computing or large data processing on a blockchain is simply impossible or extremely expensive. This may change as new layers and scaling solutions are being developed. For Ethereum, Plasma promises to make massive computation affordable for smart contracts, but it’s still in the early stages of development.</p><p>And third, private data on a public blockchain is not here yet. All data stored by a smart contract can be read by anyone, as the entire blockchain content is publicly available. So there’s no way a smart contract could have a secret key needed to establish a secure data transfer. There are solutions around it, based on <a href="https://blog.ethereum.org/2014/08/16/secret-sharing-erasure-coding-guide-aspiring-dropbox-decentralizer/">erasure coding or secret sharing</a>, that basically split private data in small pieces processed by individual miners such that only a (large) fraction of miners colluding would expose the secret data. For Ethereum, this is not yet in development, to my knowledge, and it would certainly need sharding, another important scaling tech in its early stages. But then, still not sure how it would be possible to prevent the miner executing the send_email API call to collect sensitive data.</p><p>If we look at the current state of Ethereum, the most active smart contract platform, it does not currently have the ability to support our ideal use case. It would take significant engineering invested in infrastructure to make smart contracts able to process massive data, easily interact with external providers and be able to store secrets. But the tech is under development and new tools will be created to better protect privacy and resolve trust issues in real world applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8162c5c2682" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin Mining versus Lottery]]></title>
            <link>https://medium.com/@batog/bitcoin-mining-versus-lottery-69d3b46e0f65?source=rss-46de937c1068------2</link>
            <guid isPermaLink="false">https://medium.com/p/69d3b46e0f65</guid>
            <category><![CDATA[bitcoin-mining]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[lottery]]></category>
            <dc:creator><![CDATA[Bogdan Batog]]></dc:creator>
            <pubDate>Mon, 30 Oct 2017 10:50:54 GMT</pubDate>
            <atom:updated>2017-10-30T10:50:54.044Z</atom:updated>
            <content:encoded><![CDATA[<p>Mining Bitcoin on CPU or GPU is no longer profitable, for a while now. But what if you just keep your computer mining, by itself, without joining a mining pool? After all, it’s your ticket to the 12.5 BTC (~$75,000) lottery award, given out every 10 minutes. What is the probability to win this award? How does it compare with probability of winning an old fashioned lottery? Let’s see the numbers.</p><p>Bitcoin mining at its core, is a search for a solution to a math problem. Anyone can participate by allocating computing power and the chances to find the solution are proportional to your share of of the entire network computing power (or hash rate).</p><p>Current total hash rate is ~11,000,000 TH/s. <a href="https://en.bitcoin.it/wiki/Mining_hardware_comparison">A good ASIC miner</a> has 13.5 TH/s while a <a href="https://en.bitcoin.it/wiki/Non-specialized_hardware_comparison">GPU has, let’s say, 700 MH/s</a> and a CPU has 20 MH/s. I’ve picked rather the high end hardware, so your results may differ.</p><p>Thus the probability of mining <strong>one</strong> block (and getting the award) is:</p><p>p1 = 13.5/11,000,000 = 0.00000122 for ASIC</p><p>p2 = 700/1000/1000/11,000,000 = 0.0000000000063 for GPU</p><p>p3 = 20/1000/1000/11,000,000 = 0.00000000000018 for CPU</p><p>Not a great probability! Now, in a month, there are N=6*24*30 mined blocks. To find the probability of winning one award in a month, we use the <a href="https://en.wikipedia.org/wiki/Bernoulli_trial">Bernoulli trial</a> formula:</p><p>N*p1*(1-p1)^(N-1) = 0.0026 for ASIC</p><p>0.000000137 for GPU</p><p>0.0000000039 for CPU</p><p>So with $1400 specialized ASIC, mining without joining a pool, for a full month, only gives us a 0.26% chance of winning a $75,000 award with electricity cost about $40.</p><p>Let’s see how it compares with a traditional lottery.</p><p>At <a href="https://en.wikipedia.org/wiki/National_Lottery_(United_Kingdom)#Lotto">6/59 Lotto program in UK </a>the probability of winning with a 2GBP ticket is:</p><p>1/45,057,474 = 0.000000022</p><p>This is pretty close to our CPU probability but the award is much greater, up to 1M GBP. So, maybe not surprisingly, it’s better to play lottery than to mine Bitcoin with a CPU or even a GPU. If you wanna try your luck you can mine with an ASIC on your own, or just go for the sure thing and join a mining pool where you convert your chances into an actual percentage of reward (that is, you may receive 0.0026 * $75,000 = $195 in the first month). Note that mining performance depends on many variables, where total hash power and Bitcoin price are the most important (and also quite volatile).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69d3b46e0f65" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>