<?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 Dominik Teiml on Medium]]></title>
        <description><![CDATA[Stories by Dominik Teiml on Medium]]></description>
        <link>https://medium.com/@dteiml?source=rss-fd53c088b627------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_dyOrJBUS_kH6B1D00EYHg.jpeg</url>
            <title>Stories by Dominik Teiml on Medium</title>
            <link>https://medium.com/@dteiml?source=rss-fd53c088b627------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 01:20:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dteiml/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[Can you figure out what this Ramda function does?]]></title>
            <link>https://medium.com/solvio/can-you-figure-out-what-this-ramda-function-does-4adaabc00666?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/4adaabc00666</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ramda]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Tue, 18 Jun 2019 16:31:11 GMT</pubDate>
            <atom:updated>2019-06-18T16:31:11.405Z</atom:updated>
            <content:encoded><![CDATA[<p>What does the following function do, and why?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad7d4c30867cd5036408a23864d2aa85/href">https://medium.com/media/ad7d4c30867cd5036408a23864d2aa85/href</a></iframe><p>We got stuck on this in our last front-end call. This is an attempt to explain its behavior so we can learn form it — and also because personally if I try to solve a problem, I usually don’t stop until I conquer it. 🤓</p><h4>Assumed knowledge</h4><p>Let’s recall:</p><p>R.compose is functional composition right to left. This is same as mathematical notation. So:</p><p>R.compose(g, f)(x) = (g.f) (x) = g( f(x) )</p><p>R.pipe is functional composition left to right. So:</p><p>R.pipe(f, g)(x) = f( g(x) )</p><p>R.map takes a fn and a functor — for me that’s a fancy way of saying Array or Object — and applies it to every value of the functor. So:</p><p>R.map(x =&gt; x * 2, [1, 2]) = [2, 4]</p><p>R.map(x =&gt; x * 2, {x: 1, y: 2}) = {x: 2, y: 4}</p><p>R.mapObjIndexed also takes a fn and a functor. The difference is the fn is allowed to read the keys and the object itself. In other words,</p><p>(val, key, obj) =&gt; <em>custom logic</em></p><h4>Solving a Simpler Problem</h4><p>Let’s define a variable reshape2 which will use R.map instead of R.mapObjIndexed .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b23a017969803764c10bbcdbdcf8ad9f/href">https://medium.com/media/b23a017969803764c10bbcdbdcf8ad9f/href</a></iframe><p>reshape2 will accept a shape and an object. It will return a fn R.map . This takes the shape and applies a transforming fn to each of its values. That transforming fn is quite prosaic: if the value is a fn , it will apply it to object. Or it can be an array of fns, in which case they will be applied to object left to right.</p><p>Ok but that is just restating the fn definition. Can we do better?</p><p>reshape2 modifies its first input’s values by treating them as fns on its second input.</p><p>Ok, that’s short, but too short. Can we do better?</p><p>reshape2 accepts two object inputs. Both have some keys and corresponding values. The result will be an object with keys same as the first input. The values will be the first input’s values applied to the second input object. Or:</p><pre>+---------+------------+-------------------------------------+<br>|         |    Keys    |               Values                |<br>+---------+------------+-------------------------------------+<br>| Object1 | keep       | apply on Object2                    |<br>| Object2 | throw away | will be arguments to Object1&#39;s keys |<br>+---------+------------+-------------------------------------+</pre><p>I think that’s the most semantic definition in natural language.</p><p>Let’s test it out! Here’s a test case:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/20daedfca10afdf8cc0a6905158921e3/href">https://medium.com/media/20daedfca10afdf8cc0a6905158921e3/href</a></iframe><p>Re-read the above explanation. The answer should be an object with the keys/properties key and value . Their respective values will be the functions R.prop(&#39;id&#39;) , R.prop(&#39;name&#39;) and R.toUpper applied on user, the second input. The answer should be {key: 12, value: &#39;BOB&#39;} .</p><p>And in fact that’s what we get! See for yourself <a href="https://bit.ly/2Zr8Fyy">https://bit.ly/2Zr8Fyy</a>.</p><h4>Solving the original problem</h4><p>One more non-trivial thing before we can call it a day. We’re passing in a unary arrow fn as the first arg to R.mapObjIndexed , even though it expects a ternary one. What will happen?? Let’s take a look at the implementation of mapObjIndexed :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/70195c1399c4b8f47addb450b7598ce2/href">https://medium.com/media/70195c1399c4b8f47addb450b7598ce2/href</a></iframe><p>Now, before you face palm, know that the answer is actually simple. All we’re interested in, is the application of fn.</p><p>Now it’s a rule that in Javascript, passing in more arguments will not break (they will just be ignored) (a similar thing could be said for fewer arguments for that matter, they will just be undefined if they are used inside the fn). So passing in key and obj will be superfluous…</p><p>Happy coding :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4adaabc00666" width="1" height="1" alt=""><hr><p><a href="https://medium.com/solvio/can-you-figure-out-what-this-ramda-function-does-4adaabc00666">Can you figure out what this Ramda function does?</a> was originally published in <a href="https://medium.com/solvio">Solvio Foundation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solvio Manifesto]]></title>
            <link>https://medium.com/solvio/solvio-manifesto-2191f3eafe83?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/2191f3eafe83</guid>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Fri, 12 Apr 2019 13:23:46 GMT</pubDate>
            <atom:updated>2019-04-12T13:23:46.879Z</atom:updated>
            <content:encoded><![CDATA[<p>We think education systems should allow <em>anyone</em> to learn <em>anything</em>, in <em>any way</em> <em>they want</em>, and get credentials <em>in any way they want</em>.</p><p><strong>1. <em>Anyone</em></strong></p><p>Education systems should be as permission-less as possible. Today, that means open to anyone with a smart phone.</p><p><strong>2. Learn <em>anything</em></strong></p><p>We believe in interest-driven education systems. There should not be arbitrary restrictions to what one can learn.</p><p><strong>3. In <em>any way they want</em></strong></p><p>Students should have the option to learn in any way they want. An online course or a physical course and everything in between.</p><p><strong>4. Get credentials <em>in any way they want</em></strong></p><p>Members of the edu system should have the option to get credentials in any way they want. Producing an essay, some code, an academic paper, making a presentation, a YouTube video, sitting an exam — any way they can demonstrate their learning.</p><p>We think the best implementation of such an idea is a global, online-first, decentralized credentialing system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2191f3eafe83" width="1" height="1" alt=""><hr><p><a href="https://medium.com/solvio/solvio-manifesto-2191f3eafe83">Solvio Manifesto</a> was originally published in <a href="https://medium.com/solvio">Solvio Foundation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solvio @ EthParis]]></title>
            <link>https://medium.com/solvio/solvio-ethparis-4141554c8977?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/4141554c8977</guid>
            <category><![CDATA[ethparis]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Wed, 13 Mar 2019 16:47:28 GMT</pubDate>
            <atom:updated>2019-03-13T16:47:28.766Z</atom:updated>
            <content:encoded><![CDATA[<p>A few members of the Solvio team met in Paris last weekend to build a prototype of Solvio Learn. How did it go and what were our experiences? Find out in this debrief :)</p><h3>Background</h3><p>EthParis was a hackathon part of the <a href="https://ethglobal.co/">EthGlobal</a> series. The hackathon concluded the <a href="https://blockchainweek.fr/">Paris Blockchain Week</a>, the preeminent event of which was <a href="https://ethcc.io/">EthCC</a> [check out Dom’s <a href="https://medium.com/@dteiml/paris-debrief-dbfc06529257">reflection</a>].</p><p>The decision to apply was made on the <a href="https://solvio.discourse.group/">Solvio Forum</a> and we also discussed <a href="https://solvio.discourse.group/t/ethparis/25">what we are going to build</a>.</p><h3>Day 1</h3><p>We met on Friday, March 8 for the Fluence, IPFS and Nucypher meetup at Consensys Paris. The event was great, we all learned a lot and made some great connections.</p><p>We spent the new few hours discussing what we’re going to build. The three contenders were: decentralized grading, decentralized application to courses (using discrete mathematical optimization) and Solvio Learn prototype. We went with the last one.</p><p>We thought of two ways of structuring it: either have experts design actual learning paths, or create the learning paths based on users’ reviews of works. The second, albeit harder, is more closer to the current Solvio Learn specs and utilizes the wisdom of the crowds.</p><p>It wasn’t easy to shave off the Solvio idea to make it hackathon-scaled. We went with the following model: reviews → resources → topics. Users submit reviews of online resources with a quality, length, dependencies and content of the review (in human language). The first three are used to generate the dependency tree in a decentralized way, the last field is used as spam filtering to make sure the review is legit.</p><p>To make things simpler, we left out credentialing, knowledge tree (essentially hierarchies of topics e.g. Graph Theory → Discrete math → Math) and reputation. We were also going to leave out the spam filtering and have it be decided centrally, but in the end we managed to build a Schellling game (albeit a simple one) and hence have fully decentralized spam filtering.</p><p>Let’s go back to Day 1. We took an Uber to the event, survived through the opening ceremony and put our heads together to write the specification.</p><p>One of the key components of the whole app was the algorithm. In our naive version of Solvio Learn, we had no concept of depth of knowledge. So we assumed depth = quality * length, and made a simple algorithm, that given a time constraint t, tries to maximize Σ depth * weight (weight is for every learning dependency and is gathered through reviews).</p><p>Later on we found out that algorithm would just give the longest resource for the searched topic, ignoring all dependencies. The one we ended up using was the longest resource from searched topic, then if there is time the longest one for the first dependency etc (talk about hacking complex algorithms :)) Except we don’t have the UI for inputting time ;).</p><p>We finalized the specification and API’s in an <a href="https://hackmd.io/s/BJuMdvxvE">online document</a>. We set up our environments and went to 😴</p><h3>Day 2</h3><p>Day: hacking</p><p>Night: hacking</p><h3>Day 3</h3><p>We ended up building something we are all proud of. Most teams (including those among the finalists) built a contract and a terrible UI. We had a contract-side:</p><ul><li>ReviewController — which handled submitting and challenging reviews (their spam status) and dispute resolution</li><li>Schelling — which was a simple Schelling game implementation</li></ul><p>We also had a storage side — <a href="https://gun.eco/">GunDB</a>. And a beautiful UI. Check out the whole <a href="https://github.com/solviofoundation/ethparis2019">project repo on Github</a>. The app is a bit buggy rn and not live, but here are some screens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZ0an-WzeCbp0Rogc_0tAA.jpeg" /><figcaption>Add a topic to your knowledge tree</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4ctpcoinMbCjeOv1L_Gzw.jpeg" /><figcaption>Back in the homepage, search for topics and resources at once</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xE_hrNe2dFk7FmdYe8gFYQ.jpeg" /><figcaption>Get a learning path personalized to your own knowledge tree</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mU5B1pBNUxJbt8zjjUbZ7A.jpeg" /><figcaption>Finally, add reviews for resources</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xYU1nb9Dp0b6Zm9LM8pFA.jpeg" /><figcaption>…with the dependencies and content fields</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4141554c8977" width="1" height="1" alt=""><hr><p><a href="https://medium.com/solvio/solvio-ethparis-4141554c8977">Solvio @ EthParis</a> was originally published in <a href="https://medium.com/solvio">Solvio Foundation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Paris Debrief]]></title>
            <link>https://medium.com/@dteiml/paris-debrief-dbfc06529257?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbfc06529257</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethcc]]></category>
            <category><![CDATA[etheruem]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Wed, 13 Mar 2019 13:48:52 GMT</pubDate>
            <atom:updated>2019-03-13T16:13:19.837Z</atom:updated>
            <content:encoded><![CDATA[<p>I spent over a week in Paris for the <a href="https://blockchainweek.fr/">Paris Blockchain Week</a>. Read this article to find out my experiences. Note: not comprehensive!</p><p>I arrived on the night of Monday, March 4. I took an Uber Pool and checked in to the hotel.</p><h3>Day 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mU9NQ24BNRoPBADoT5hmNg.jpeg" /><figcaption>EthCC Venue</figcaption></figure><p>I came into the beautiful venue in the morning, met up with some friends and went to a few presentations about dencetralized identity.</p><p>From 12 to 3pm I was at the Gnosis Booth.</p><p>The rest of the day I spent in the main hall. Scott Moore from <a href="https://gitcoin.co/">Gitcoin</a> talked about <a href="https://medium.com/gitcoin/experiments-with-liberal-radicalism-ad68e02efd4">Gitcoin Grants</a>, a new project based on Vitalik’s <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3243656">Liberalism Radicalism paper</a>. Something for the Solvio team to look into.</p><p><a href="https://twitter.com/feindura?lang=en">Fabian Vogelstellar</a> introduced ERC725 (decentralized identity) v2. It is supposed to be much simpler than v1, referencing the success of the simple standard ERC20. There was a question whether a new ERC should have been created, because having different versions can lead to confusion. Fabian responded that ERC’s are drafts until they become final.</p><p>Marcin Benke had a very interesting talk about the economic model of Golem. For freelancing jobs where the amount of work required is unknown (such as (decentralized) computation), there are two ways of pricing: in advance or by resource usage. Each are safe for one party but risky for the other. Marcin argued that resource usage is better, because it is fairer for the worker, yet the requestor always has the option not to pay.</p><h3>Day 2</h3><p><a href="https://twitter.com/afdudley0?lang=en">Rick Dudley</a> and <a href="https://twitter.com/hudsonjameson?lang=en">James Hudson</a> talked about the Ethereum roadmap. Rick Dudley said he follows only people he met in real life on Twitter. I liked James’ point on how decentralized the Ethereum space is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zy6-4KGllZZNKzXW5oEEXA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*18u6nTbe9kGH5ZTtKQQ8Zw.jpeg" /></figure><p>A fire alarm brought everyone outside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BFl7FvsZiVlGsmF7lGV4Xw.jpeg" /></figure><p><a href="https://twitter.com/martinlundfall?lang=en">Martin Lundfall</a> had a very trippy <a href="https://docs.google.com/presentation/d/1vw-9QL_Qs78UlHg1lAClA_o0qdRRh7YQAV9hD_mBQnE/edit#slide=id.p">presentation</a> on subjectivity and objectivity in decentralized systems. Def something I will go back to.</p><p>Vlad Zamfir did a talk entitled “Blockchain Governance”. He was questioning our community’s stance towards political discussion. When political implications of our actions don’t make sense, we say we are just building technology. When they’re positive, we pat ourselves on the back. The way I understood it he was claiming that we are too radical by trying to have political impact not through established methods (law, politics) but rather through building self-executing blockchains. I don’t resonate with that view — maybe for another article.</p><p>I attended two talks — by Hugh Karp and Vinay Gupta — that had very similar message. Creating legal entities (companies = legal persons) that have in their statutes/articles that the only thing they can do is follow the decisions of a DAO, as long as it complies with the law. This is interesting for me because I had the <a href="https://solvio.discourse.group/t/governance/33?u=dteiml">same idea</a> a few months ago.</p><h3>Day 3</h3><p>I went to a great workshop by Nucypher. They’re doing proxy re-encryption and fully homomorphic encryption (FHE) for the decentralized web.</p><p>My friend Ben Smith from Gnosis talked about the dfusion exchange — follow the <a href="https://twitter.com/gnosispm?lang=en">Gnosis Twitter</a> for more info about this soon!</p><p>William George talked about the p+epsilon attack on Schelling games. Essentially you can write a contract that will give give the participants the full outcome (p) + an additional payout (epsilon) if they vote for a specific outcome AND it is the losing outcome. All participants are now incentivized to vote for this outcome, so it actually becomes a winner, with the briber not having to spend a dime. William talked about potential mediations, and concluded that more research has to be done (things get mathsy fast &amp; the attacker can come up with an attack to the defense).</p><p>Marek Kirejcyzk had an excellent workshop on apps that use Universal Login, which was followed by another great workshop on building a distributed password manager using IPFS and Ethereum</p><p>I went to an impromptu Formal verification using K workshop organized by dapphub. The participants — about 20 — were mainly security experts and it was great to see the interest in K-EVM</p><p>Back at the venue, I visited “Fundamental Pricing of Utility Tokens”. This was a super interesting talk. The guy spent 2 years researching how to properly value utility tokens. Even ignoring things like staking, things get very complex fast, this presentation was actually the most mathsy of all. A good introduction to the topic would be <a href="https://ethresear.ch/t/a-discourse-on-token-valuation/3125">Discourse on Valuation of Tokens</a> and (possibly) <a href="https://ethresear.ch/t/draft-position-paper-on-resource-pricing/2838">Blockchain Resource Pricing</a> (which I haven’t read yet). I plan to return to this topic in the sort term.</p><p>To close it all off, I went to Sunny’s Cosmos workshop. We built a decentralized domain name service. Unfortunately I had to leave but the workshop inspired me to watch <a href="https://www.youtube.com/watch?v=hREydu6Llac">Introduction to Cosmos SDK</a>, a great presentation, both philosophically and technically.</p><p>And there ends the action-packed three days.</p><p>Check out my debrief of <a href="https://medium.com/solvio/solvio-ethparis-4141554c8977">Solvio @ EthParis</a> and follow <a href="https://twitter.com/dteiml">me on Twitter</a> hihi</p><p>Dom</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbfc06529257" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockchain Series: Atomic swaps]]></title>
            <link>https://medium.com/@dteiml/blockchain-series-atomic-swaps-8ddfe883d8d1?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ddfe883d8d1</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Tue, 27 Feb 2018 17:39:28 GMT</pubDate>
            <atom:updated>2018-02-27T17:39:28.509Z</atom:updated>
            <content:encoded><![CDATA[<p>In preparation for a conference about scaling, I will be learning a lot about blockchain. Since I learn best by explaining, I might share some of what I learn here. Rn the topic is “atomic swaps”.</p><h3>What it is</h3><p>Atomic swaps allow one to do transactions effectively cross-chain in a decentralized way. Say Bob wants to trade BTC for ETH with Eva. They could either go to a third-party (a centralized exchange) and perform their trade. Or they could do so in a trustless manner using atomic swaps.</p><h3>How it works</h3><p>This method can only be used on blockchains that have at least some form of programmability — which BTC (and ETH obviously) does. The method is asymmetric and requires one party to create a hashed timelock contract (HTLC) — a fancy way of naming a lock with several conditions for opening (in particular — password, and opener’s identity and time).</p><p>The mechanism goes something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tSUsGagNZbPVp_tPeQXbXw.jpeg" /></figure><p>Bob generates a random number R, then sends his bitcoin to an address on the bitcoin blockchain, which can only be unlocked by Eva by supplying R.</p><p>Eva checks the contract and if Bob didn’t make a mistake, she creates an Ethereum contract which can only be opened by Bob by supplying R.</p><p>Bob then claims Eva’s ETH by supplying R. He hence reveals the value of R to Eva (and everyone else, but remember the sender must be Eva) and she claims the BTC.</p><p>Issues? Everyone can the conditions on Bob’s account. So R mustn’t be present in the code. There’s a simple solution — we require the <em>hash</em> to equal <em>hash</em>(R).</p><p>Finally, to eliminate counter-party risk — the event that Eva or Bob don’t fulfill their terms and the funds will be stuck, we set an time-upperbound for the lock. Bob’s and Eva’s accounts can be unlocked <em>by their owner</em> if time reaches t1, t2 respectively. If t1 is not sufficiently greater than t2, or even t1 &lt; t2, that would be a security hole: Bob could claim ETH, then claim BTC. To prevent this, Eva would pick a t2 that is sufficiently smaller than t1, which closes the loop :)</p><h3>Conclusion</h3><p>I hope this article helped someone to understand the concept. I believe atomic swaps are not being actively developed because better solutions exist. Tomorrow I’ll be learning about Tendermint &amp; Cosmos and plan to write another story :P</p><p>Best,</p><p><a href="https://twitter.com/DTeiml">Dom</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ddfe883d8d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to invest in crypto]]></title>
            <link>https://medium.com/@dteiml/how-to-invest-in-crypto-1aa2b1814b64?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/1aa2b1814b64</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Mon, 05 Feb 2018 17:08:03 GMT</pubDate>
            <atom:updated>2018-02-26T20:13:43.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9HMUkDqgVHQxkJghZCIAw.jpeg" /><figcaption>Crypto prices Feb 5, 2018</figcaption></figure><p>With many crypto’s at their 2-month low, it’s a pretty good time to invest in crypto.</p><blockquote>Note: Nothing in this article is financial advice.</blockquote><p>So how do you do it in the first place? I would recommend starting by learning about blockchain technology. While blockchains differ in their mechanics, they’re surprisingly similar. Here’s the basics:</p><h3>Basics</h3><p>Blockchain technology makes use of so-called public-key cryptography developed in the 1970s. Every account has a “public key”, which is just a number, usually represented in hexadecimal format like 4f5a98d… that represents your address. You prove ownership of that account with a “private key”, a longer number (also in hexadecimal format). Your private key serves as your password on the blockchain.<strong> </strong>If you share it with someone, you give them access to all your crypto (i.e. store it <strong>securely</strong>).</p><p>The network is made up of “nodes” that store a ledger of account balances, verify transactions that they receive and update their database (ledger) accordingly.</p><p>When you send a transaction, you “sign” it with your private key and submit it to the network. Only nodes can submit transactions, but you can have a wallet than uses someone else’s node, so you don’t need to run a full node.</p><p>Nodes will pass the transaction to other nodes, until it reaches a mining node, a “miner”. Miners collect transactions into so-called “blocks” and then make their computers go crazy trying to brute-force a cryptographic puzzle.</p><p>The first one to do successfully gets the transactions’ fee’s, and tells nodes he/she is connected to about it, which gradually pass it to the entire network. This is why sending Bitcoin/Ether with a high transaction fee is likely to get mined (confirmed) earlier — miners prefer transactions with high fee’s.</p><p>Have a look at <a href="https://etherscan.io/">EtherScan</a> and <a href="https://ethstats.net/">EtherStats</a> for real-time info on the Ethereum blockchain.</p><h3>More</h3><p>If you don’t understand the previous chapter, re-read it until you do. If you do, you probably understand blockchain better than 99% of its users. Congrats!</p><p>I watched the following video about 3 times (or however many you need to make sure you understand everything in the video, which would be hard to do at the first time around) and that gave me a pretty good understanding:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLx9zgZCMqXE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLx9zgZCMqXE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLx9zgZCMqXE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b809c6fca61e31e518f9cad2248b456/href">https://medium.com/media/3b809c6fca61e31e518f9cad2248b456/href</a></iframe><p>Next I would recommend:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_160oMzblY8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_160oMzblY8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_160oMzblY8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3a49b5f361714d2207d91efd4b76be9a/href">https://medium.com/media/3a49b5f361714d2207d91efd4b76be9a/href</a></iframe><p>This is not a blockchain learning roadmap, so after you’ve seen those, do some research on what else to learn.</p><h3>What to buy</h3><p>Next you need to figure out what you will be buying. I think there’s three categories of coins/tokens:</p><ol><li>Crypto-currencies</li></ol><p>As per the name, these serve only as currencies. A few examples:</p><ul><li>Bitcoin</li><li>Litecoin — came just two years after Bitcoin and is meant to be a faster blockchain. Most importantly, it has much lower transaction fee’s</li><li>Others — there are many other cryptocurrencies. Most of them add the feature of anonymous transactions (ZCash, Dash, Monero), blockchain governance (Dash) and possibly a less centralised mining mechanism.</li></ul><p>2. dApp platforms</p><p>A crucial term for these blockchains is a “<a href="https://www.wikiwand.com/en/Smart_contract">smart contract</a>”. A smart contract is like a regular English contract, but it’s upheld by computers in the network, rather than by government courts.</p><p>When a smart contract needs information from the real world, it has to be supplied separately, and such a service is called an “oracle”. Examples of contracts that could be smart contracts are financial contracts, exchanges, prediction markets, e-shops (assuming FedEx had an API that could serve as an oracle that the package was sent), renting apartments (assuming the lock on the property is a “smart lock”), the internet domain name system and many others. In theory we could even say a crypto-currency itself is a smart contract.</p><p>It’s also an alternative to traditional apps, where computation is done by a central server — here computation is done by nodes in the network. Such apps are called dApps for “decentralised apps”.</p><p>Running computations &amp; saving data on say 10 000 computers costs electricity, so usually the coins for such blockchains serve to pay these costs. For example Ether is used to pay “gas”, which is the name for these costs on the Ethereum network.</p><p>The first dApp platform was Ethereum, since then a few others popped up — Tezos, NEO, EOS and Cardano — that try to have better technology than Ethereum. However, Ethereum is also in development and has by far the <a href="https://medium.com/@EthereumRussian/top-200-cryptoassets-analyzed-ethereum-has-83-of-them-5f99976381ff">largest dApp ecosystem</a>.</p><p>3. Utility tokens/coins</p><p>These are tokens that are app-specific. Examples include:</p><ul><li>Ripple — trying to put existing banking system on blockchain so bank transfers take seconds instead of days</li><li>Filecoin — unreleased; will offer P2P storage. You will get paid for offering free storage on your computer, and you can pay to save it on other peoples’ computer in the network.</li><li>Golem — similar to Filecoin, but for computation instead</li><li>OmiseGo — an ambitious project to provide banking for the unbanked in developing countries</li><li>Gnosis — prediction markets on Ethereum</li><li>Raiden — technical one, they’re trying to make Ethereum more scalable by enabling microtransactions through a technology called “state channels”</li><li>IOTA — blockchain for internet of things (IoT)</li></ul><p>Note: The word token usually means tokens on Ethereum, because of its vast ecosystem. Such tokens are also called ERC-20 tokens because of the standard way to interact with Ethereum tokens. “Coins” means projects that have their own blockchain which could be crypto-currencies, platforms or utility coins.</p><p>Have a look at <a href="http://coinmarketcap.com/">CoinMarketCap</a> at the coins/tokens with highest market caps (market capitalisation = price * # of tokens).</p><h3>Buy crypto</h3><p>Now that you’ve decided what to buy, you need to get some crypto. I would recommend using Coinbase for your first purchase. There are others like Kraken, but Coinbase has a much better interface, a mobile app, and quite okay prices.</p><p>If you’ve decided to buy Bitcoin, Ethereum or Litecoin, you can buy that coin there. At Gnosis we’re developing a super cool decentralised exchange for ERC-20 tokens, I’ll update this article when it’s available.</p><p>Until then, I would recommend buying Litecoin, because it has the lowest transaction fee’s, and using <a href="https://shapeshift.io/">Shapeshift</a>. I’ll tell you how to use that in a sec, but first we need to talk about how you’re going to save your crypto.</p><h3>Save crypto</h3><p>Exchanges that allow you to buy with fiat like USD or EUR (like Coinbase) have to be centralised. This means they own your private key. It also means if the exchange gets hacked, there’s a chance your coins will get stolen. There are few exchanges that haven’t been hacked. Consequently, it’s considered unsafe to store crypto “in the cloud” on centralised exchanges.</p><p>For the vast majority of coins/tokens, I would recommend <a href="https://jaxx.io/">Jaxx</a>. Note: at Gnosis we’re building the a 3rd generation wallet called the Gnosis Safe, I’ll update this article when it’s ready :)</p><p>Download the app, generate a private key and corresponding public key for the token you want to hold. If you decided to invest in BTC/ETH/LTC, simply send it from Coinbase to your public key. If you want to buy another token, head over to <a href="https://shapeshift.io/">Shapeshift</a> and follow the instructions.</p><p>That’s it! You now hold your desired crypto, safe &amp; secure on your machine. Scared of hardware failure? Download a mobile app too, write your private key on a piece of paper (called a “paper wallet”) or <strong>securely </strong>backup your private key/phrase mnemonic. (Email doesn’t constitute secure unless you have two-factor authentication (2FA) — which you should have anyway :)). You could also use a hardware wallet like <a href="https://trezor.io/">Trezor</a> — your private key is stored on an offline hardware device (called “cold storage”).</p><p>Best,</p><p><a href="https://twitter.com/DTeiml">Dom</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1aa2b1814b64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Banking Solution]]></title>
            <link>https://medium.com/@dteiml/my-banking-solution-b6103894ec3e?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6103894ec3e</guid>
            <category><![CDATA[revolut]]></category>
            <category><![CDATA[bad-customer-service]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[banking]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Sun, 17 Dec 2017 20:45:12 GMT</pubDate>
            <atom:updated>2017-12-17T21:03:57.496Z</atom:updated>
            <content:encoded><![CDATA[<p>Banking options in Czech Republic are quite limited.</p><h3>A long time ago</h3><p>I started out as a client of Ceska sporitelna, but that didn’t last longe because of their exorbitant price on withdrawals abroad — 200 Kc (8 Euro) per instance. I must have wasted thousands of Kc when traveling in US &amp; India because of this before I found time to change banks.</p><p>(The way I choose companies is one wrong means goodbye forever, so even though as of today they offer a package for 25 Kc per month where the fee goes down to 40 Kc, they should have offered that when I was on the road.)</p><p>Some time in 2015 I opened an account at Unicredit. Their U konto seemed pretty good, and to this day I call them the “bank 4 dropouts” — the account is free of charge for all under 26, regardless of student status. I’ve had average or above average customer service for a few years.</p><h3>Start of bad experiences</h3><p>Recently, something has changed. In November, they did maintenance to their systems which failed. Nobody could use Internet Banking for a few weeks, and they didn’t seem all that bothered about it.</p><p>Little did I know that would be a start of bad experiences. When my first paycheck came, they charged a fee of 1500 Kc (about 60 Euro). 1500 Kc to send money from Berlin to Prague?! It would have been cheaper to send the money in a package by snail mail.</p><p>Naturally, I went to my the nearest branch and complained. And I asked them to close my USD account and open a EUR account, which they promise caps the fees at 200 Kc.</p><p>This was in October. As of today, my USD account is still visible in my app and on the web. I have an EUR account that I can’t see the balance of and can’t make transactions from it. I’m basically relying on them that it’s there and I will be able to pay from it with my card. Worst part is I have been e-mailing them about this periodically. I either get no response, or I’m given excuses like to send them the confirmation paper and to contact the person that set up the account. Isn’t this their job?</p><h3>I decide to do something</h3><p>So I decide to act sooner rather than later. <a href="https://medium.com/@CryptoJudgemnt/comparing-cryptobanks-tenx-monaco-change-polybius-tokencard-bankera-54345c04c6a7">Basic</a> <a href="https://techcrunch.com/2017/12/05/revolut-cryptocurrency/">research</a> revealed 2 options: TenX and Revolut.</p><p>TenX is a crypto startup that issues a card that you can use to pay with cryptocurrencies anywhere a debit/credit card is accepted. Revolut is fintech startup that aims to revolutionise banking by — tbh I don’t know how, that’s their job. As long as it’s better than traditional retail banking, I’m down</p><p>It could have been my inclination towards a London-based startup, as I briefly lived there or the fact that Revolut recently added cryptocurrency support, or just the fact that I expect a non-crypto startup to gain more adoption and hence potentially less issues that I decided to go with Revolut.</p><p>So I signed up to their Premium account (8 Euro/month). After 1 day, I’m pretty happy. You can read about Revolut somewhere like <a href="https://www.revolut.com/?lang=en">here</a>, here’s a quick cheatsheet of stuff I couldn’t do with my current bank:</p><ul><li>set up accounts in 26 base currencies, including Kc. For each account you get an IBAN and EUR accounts accept SEPA 😍 (fast way of doing euro to euro transactions, Czech banks are very behind on this to my knowledge) and you can exchange money between your accounts literally instantly</li><li>0 fee on spending money in over 130 currencies &amp; exchange done at <a href="https://blog.revolut.com/what-is-the-interbank-exchange-rate/">interbank</a> rate</li><li>24/7 instant chat support. I’ve tested it, and my issue was resolved in 5 min, no need for e-mails or calling international numbers</li><li>buy &amp; sell crypto! So you can eliminate your Coinbase or Poloniex, and save money. Once all your fiat accounts run out, they Revolut will automatically charge your crypto accounts! Ofc the storage is centralised (they hold private key and you can only see your public one), which has security disadvantages. While it is possible to buy crypto in a fully <a href="https://steemit.com/decentralizedexchange/@kryptonizer/how-to-buy-sell-any-crypto-and-fiat-currency-on-a-true-decentralized-exchange">decentralised way</a>, I have enough trust in a centralised system to store it there for just as long before I transfer it to my own address (btw, I use <a href="https://jaxx.io/">Jaxx</a> and Metamask :))</li><li>The issuer of the card is a bank based in Cambridge, UK. That means I can make purchases in UK-only websites, have a Stripe account etc. (They’re planning to start issuing their own cards from next month, but to my knowledge nothing will change)</li><li>the apps of traditional banks (judging form CS, Unicredit and in the UK I used Barclay’s) are <em>satisfactory</em>. Revolut actually has a <em>beautiful</em> app. Plus analytics of what how I spend my money, notifications when I receive notifications — all the goodies that come with having a proper app…</li><li>you can set up virtual cards that can only be used for online banking</li></ul><p>What do both have?</p><ul><li>I ordered a beautiful contact-less MasterCard that they claim will arrive in 3 days</li><li>neither supports Apple Pay, Android Pay or Samsung Pay (S Pay). A traditional bank is likely to get it first because it incurs fees for that institution, and, well the point of Revolut is to be as lean as possible. To be honest, I don’t really need to pay with my phone</li><li>They’ve applied for a European Banking License. Means accounts will be insured up to €100 000, you’ll be able to overdraft (Czech banks still don’t have this 😥) and do direct debits (currently only option is recurring payments).</li></ul><p>And disadvantages?</p><ul><li>They charge 2% on ATM withdrawals over £200 per month. I.e. in a developed country use your card. In a developing country you will probably not spend much more than £200 anyway, and still 0 other fees + better exchange rate might get you a better deal in the end.</li></ul><p>So that’s it. Hope my experience helps somebody in making better banking decisions :)</p><p>Best,<br><a href="https://twitter.com/DTeiml">Dom</a></p><p><em>Originally published at </em><a href="https://steemit.com/banking/@dteiml/my-banking-solution"><em>steemit.com</em></a><em> on December 17, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6103894ec3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Listen Challenge]]></title>
            <link>https://medium.com/@dteiml/listen-challenge-fbe5718412f5?source=rss-fd53c088b627------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbe5718412f5</guid>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Dominik Teiml]]></dc:creator>
            <pubDate>Sun, 30 Jul 2017 12:00:05 GMT</pubDate>
            <atom:updated>2017-07-30T13:37:53.233Z</atom:updated>
            <content:encoded><![CDATA[<p>Being broke, I decided to review my monthly subscriptions and discovered I have paying some (namely Audible and Amazon) for years(!) without using their service. I asked to refund my Audible subscription and they said they can only do so for the last 12 months — which still leaves me with 6 free credits for audio books.</p><p>After some selection, I chose the following:</p><ol><li>The Art of the Start 2.0 — Guy Kawasaki</li><li>Linchpin — Seth Godin</li><li>The Subtle Art of Not Giving a F*ck — Mark Manson</li><li>The Upstarts — Brad Stone</li><li>Elon Musk — Ashlee Vance</li><li>The Hard Thing About Hard Things — Ben Horowitz</li></ol><p>So there I have it. 6 pretty interesting-sounding books, all waiting to be streamed. So I’m challenging myself to listen to them and share with you what I’ve learned! Follow me on <a href="http://twitter.com/dteiml">Twitter</a> or here to get selected content from these books.</p><p>Caio,</p><p><a href="http://twitter.com/dteiml">Dominik</a></p><p>P.S. Audible has the best customer service. The same thing happened to me 2012-ish and they also gave me a refund. Amazon first offered one month, after some hustle I got 3 months and after more I got 5 :D. If I pressed them even more, I could have probably gotten 12 or all 20? :D.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbe5718412f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>