Robin's Blog2022-12-31T15:57:02+00:00https://blog.rotki.comLefteris Karapetsasrotki year in review - 20222022-12-31T00:00:00+00:00https://blog.rotki.com/2022/12/31/year-in-review<h1 id="introduction">Introduction</h1>
<p>rotki is the opensource portfolio tracker and accounting tool that protects your privacy. It started in 2017 as a small CLI tool to cater for my own portfolio tracking and tax reporting needs as a technical crypto user in Germany. Since then it has grown a lot and into its own project with thousands of users, 100 code contributors and a dedicated and passionate userbase.</p>
<h1 id="year-in-review">Year in review</h1>
<p>This post is a look back in the year that passed, recounting what we did at rotki since the start of 2022. We are gonna look at both what happened in the app and the code, but also how did the team itself grow and evolve. I (Lefteris), am writing here using the first person as this is my personal outlook on how rotki grew this year.</p>
<h2 id="january">January</h2>
<p>We released two rotki patch releases. 1.23.1 and 1.23.2</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_23_1.png" />
<img class="post_image_not_set_size with_border" src="/public/post12/v1_23_2.png" /></p>
<p>Also <a href="https://github.com/lukicenturi">Luki Centuri</a>, the frontend developer who had just joined us at the end of the previous year completed his first month. Our team was finally more than just 3 people!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/luki.png" /></p>
<h2 id="february">February</h2>
<p>In February we released another patch release, 1.23.3</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_23_3.png" /></p>
<p>And our team <a href="https://github.com/rotki/rotki/graphs/contributors?from=2022-02-01&to=2022-03-01&type=c">kept working</a> dilligently toward making 1.24.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/february_commits.png" /></p>
<h2 id="march">March</h2>
<p>In March we released yet another patch release, 1.23.4, making 1.23.xx release series the longest patch release series of 2022.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_23_4.png" /></p>
<p>Also we had our first non-tech hire! <a href="https://twitter.com/celina_celka">Celina</a> joined our team.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/celina.png" /></p>
<p>Celina has handled all non-developer related tasks such as HR, accounting, all organizational matters and even a bit of communications!</p>
<h2 id="april">April</h2>
<p>April was a really interesting month as we had two new hires who were onboarded to the backend team.</p>
<p>The first was <a href="https://github.com/prettyirrelevant">Isaac</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/isaac.png" /></p>
<p>Isaac is a developer from Nigeria who joined the backend team and has so far helped us with various issues on the backend.</p>
<p>The second was <a href="https://github.com/nebolax">Alexey</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/alexey.png" /></p>
<p>Alexey was our youngest hire, an enthusiastic 18yo developer from Russia who has since helped us with various rotki backend matters.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/april_commits.png" /></p>
<p>And the team kept on grinding towards the long awaited 1.24.0 release while at the same time trying to onboard the new hires.</p>
<h2 id="may">May</h2>
<p>At the end of May we finally managed to release v1.24.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_24_0.png" /></p>
<p>That was the biggest release we have ever made (and I hope to not do it again) and contained among others:</p>
<ul>
<li>The start of the ethereum transactions decoding</li>
<li>Kraken staking</li>
<li>Support for ftx.us</li>
<li>ens reverse resolution</li>
<li>ability to manipulate balance snapshots</li>
<li>uniswap price oracle</li>
</ul>
<h2 id="june">June</h2>
<p>In June we released a quick patch release to fix bugs found in 1.24.0</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_24_1.png" /></p>
<p>And we also kept grinding and coding towards 1.25.0 and trying to learn how to work as a bigger backend team now that we have had Isaac and Alexey.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/june_commits.png" /></p>
<h2 id="july">July</h2>
<p>July was quite a busy month!</p>
<h3 id="ethbarcelona">EthBarcelona</h3>
<p>It started with a trip to Barcelona for <a href="https://ethbarcelona.com/">EthBarcelona</a> where we <a href="https://www.youtube.com/watch?v=RhYiOWrFKVs">presented</a> about rotki and the benefits of opensource software.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethbarcelona-persentation.jpg" /></p>
<p>It was a very moving moment for me as it was the first time I met with <a href="https://github.com/yabirgb">Yabir</a> in real life.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethbarcelona-yabir.jpg" /></p>
<p>We have been working with Yabir since 2021 and getting to see him in the flesh after one and a half year was amazing.</p>
<p>What’s more we got to meet Viktor (left)!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethbarcelona-viktor.jpg" /></p>
<p><a href="https://github.com/vnavascues">Viktor</a> used to work with rotki for a few months from the end of 2020 until Q2 2021! He is a native of Barcelona and after rotki, he stayed in the crypto field so it was really cool to meet him too in real life!</p>
<h3 id="v1250">v1.25.0</h3>
<p>After Barcelona we released v1.25.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_25_0.png" /></p>
<p>It was a French-themed release as we were also heading to Paris for EthCC.</p>
<p>Among others it contained support for:</p>
<ul>
<li>Bitcoin cash</li>
<li>LiFo accounting</li>
<li>Management of multiple ethereum nodes</li>
<li>Mac M1 support</li>
<li>Ethereum address book</li>
<li>Filtering of ethereum transactions</li>
<li>Zoom in charts</li>
</ul>
<h3 id="ethcc">EthCC</h3>
<p>In July we also travelled to Paris for <a href="https://ethcc.io/">EthCC</a> where we <a href="https://www.youtube.com/watch?v=FY5o3W4hSBM&list=PLhM7rBgpVV-JnmRLUbd10ELntN3LFfmKH&index=17">presented</a> about rotki’s progress and how opensource is a core of what we do.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethcc-presentation.jpg" /></p>
<p>EthCC is a very important conference for us as it is in <a href="https://www.youtube.com/watch?v=oIT0L9GDYEg">EthCC 2019</a> that I first presented about rotki to an audience.</p>
<p>Both <a href="https://github.com/yabirgb">Yabir</a> and <a href="https://github.com/kelsos">Kelsos</a> travelled to Paris for EthCC so this was the first time those two managed to meet in person.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethcc-all3.jpg" /></p>
<p>Another really cool meeting in EthCC was meeting with the first user in the wild, <a href="https://twitter.com/jimjim_eth">jimjim.eth</a>, who used the rotki dappnode package at his home and connected and used it from his mobile phone! rotki mobile was already a reality!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethcc-jimjim.jpg" /></p>
<h3 id="v1251">v1.25.1</h3>
<p>We closed this very busy month with a patch release, 1.25.1, that fixed bugs our users saw with 1.25.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_25_1.png" /></p>
<p>Fun fact is that this release was implemented while we were trying to figure out our hotels and flights. That trip to Paris was cursed. Both flights to/from Paris were delayed/canceled and our hotels/airbnbs all presented problems :D</p>
<h2 id="august">August</h2>
<p>In August, recovering from the busy month of July, we released 1.25.2 that fixed yet more issues and added improvements on top of 1.25.1.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_25_2.png" /></p>
<p>What’s more the team kept working dilligently towards our next big milestone, 1.26.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/august_commits.png" /></p>
<h2 id="september">September</h2>
<p>September was also a busy month! Most of the team travelled to Berlin, for the Berlin blokchain week.</p>
<h3 id="dappcon">Dappcon</h3>
<p>We <a href="https://www.youtube.com/watch?v=MelJrpKyyl4">presented</a> at <a href="https://www.dappcon.io/">dappcon</a> about rotki and what its strengths are but also what the challenges with making an opensource application are, especially related to funding.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/dappcon-presentation1.jpg" />
<img class="post_image_not_set_size with_border" src="/public/post12/dappcon-presentation2.jpg" /></p>
<p>Dappcon was an amazing experience for us as it was the very first time the biggest part of the team was in the same place. We met Alexey in real life for the first time after working together for almost 5 months!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/dappcon-all.jpg" /></p>
<p>From left to right: <a href="https://github.com/kelsos">Kelsos</a>, <a href="https://github.com/yabirgb">Yabir</a>, <a href="https://github.com/LefterisJP">Lefteris</a>, <a href="https://github.com/celkacelka">Celina</a>, <a href="https://github.com/nebolax">Alexey</a>.</p>
<h3 id="ethberlin">EthBerlin</h3>
<p>We also participated in <a href="https://ethberlin.ooo/">ETHBerlin 3</a>!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethberlin1.jpg" /></p>
<p>We hacked on various rotki related things and had some workshops.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethberlin3.jpg" /></p>
<p>Also took this chance to enjoy team lunches together, including with Celina :)</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethberlin2.jpg" /></p>
<p>Finally we bonded together through the entire event and even met external rotki contributors, like Pablo pictured here on the left.</p>
<h3 id="v1253">v1.25.3</h3>
<p>In September we also released rotki v1.25.3, a bugfix release that was building on top of 1.25.2 adding lots of improvements but also fixing bugs our users found.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_25_3.png" /></p>
<h2 id="october">October</h2>
<p>October was also a very busy month. Including a major release and the trip to Bogota, for Devcon.</p>
<h3 id="bogota---ethbogota">Bogota - EthBogota</h3>
<p>Kelsos, Alexey and I flew to Bogota, Colombia to participate in a few events there. First was the EthBogota hackathon</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/ethbogota1.jpg" />
<img class="post_image_not_set_size with_border" src="/public/post12/ethbogota2.jpg" /></p>
<p>There we met many like-minded hackers, hacked on rotki related issues and tried to get more people involved with rotki. Hackathons are a great place to find new contributors and to shill an opensource project.</p>
<h3 id="bogota---schelling-point">Bogota - Schelling point</h3>
<p>After that there was an one day event called <a href="https://schellingpoint.gitcoin.co/">schelling point</a>, where I participated in a <a href="https://www.youtube.com/watch?v=I_JMDUo09Z0&list=PLvTrX8LNPbPkQ3qDNpQDRZQClhUl_BJQp&index=14">panel</a></p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/schellingpoint1.jpg" />
<img class="post_image_not_set_size with_border" src="/public/post12/schellingpoint2.jpg" /></p>
<p>There we discussed about how opensource is a public good, what the challenges are but also what are the benefits. As usual the problem of sustainably funding opensource came up.</p>
<h3 id="bogota---devcon">Bogota - Devcon</h3>
<p>And finally we had our first ethereum devcon in 3 years. It was a very long time since Japan when the last devcon happened.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/devcon1.jpg" />
<img class="post_image_not_set_size with_border" src="/public/post12/devcon2.jpg" /></p>
<p>There I (Lefteris) <a href="https://archive.devcon.org/archive/watch/6/understanding-transactions-in-evm-compatible-blockchains-powered-by-opensource/?playlist=Developer%20Infrastructure&tab=YouTube">presented</a> about the modular opensource transaction decoding system we have in rotki and how this can be generalized and used by other applications.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/devcon-lef-presentation.jpg" /></p>
<p>Kelsos also presented about rotki in general, its architecture, our progress and about how opensource is core to what we do.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/devcon-kelsos-presentation.jpg" /></p>
<p>All in all it was an amazing experience. We met many like-minded people, many rotki users and external contributors and got re-affirmation that what we are building is useful. What’s more we got lots of feedback on things that could improve and have adjusted our future planning accordingly.</p>
<h3 id="bogota---team-building">Bogota - Team building</h3>
<p>Since we were on the other side of the world and we are a remote team, we took this chance to do some team building events. Mostly hikes and sightseeing so we can experience a different location together and create team bonds that will hopefully last for long. In the pictures below first is <a href="https://en.wikipedia.org/wiki/Lake_Guatavita">Lake Guatavita</a> where the legend of El Dorado comes from and second is <a href="http://ropewiki.com/Chorrera_(Colombia)">La Chorrera</a>, the tallest watterfal in Colombia.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/bogota-team1.jpg" />
<img class="post_image_not_set_size with_border" src="/public/post12/bogota-team2.jpg" /></p>
<h3 id="v1260">v1.26.0</h3>
<p>Right after coming back from Colombia, we released our latest major release for which we have been working since August, 1.26.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_26_0.png" /></p>
<p>This included among others:</p>
<ul>
<li>Internationalization</li>
<li>Bitcoin taproot support</li>
<li>Note taking</li>
<li>Convex finance support</li>
<li>Multi-chain assets</li>
<li>Custom assets and custom prices</li>
<li>LP balances in the dashboard</li>
</ul>
<h2 id="november">November</h2>
<p>November was a hands down and working month. The team was working on 3 things.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/november_commits.png" /></p>
<ul>
<li>Website Infrastructure</li>
<li>Bug fixes</li>
<li>Next major release</li>
</ul>
<p>And we also released 1.26.1, a release that fixed bugs seen since 1.26.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_26_1.png" /></p>
<h2 id="december">December</h2>
<p>And finally we come to the last month of the year that has not even ended yet.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/december_commits.png" /></p>
<p>The team had a lot of deserved time off for the holidays but also worked hard on putting out minor improvements and bug fixes while also working on the upcoming v1.27.0 release.</p>
<p>In December we released two patch releases.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_26_2.png" /></p>
<p>1.26.2 which among many other things replaced the default open ethereum nodes with modern ones which are faster and as such provided a big performance improvement for our ethereum users.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post12/v1_26_3.png" /></p>
<p>1.26.3 which fixed a lot of bugs our users saw and also provided minor improvements in the user experience.</p>
<p>In general the team is laser focused, as we go in the new year to release 1.27.0 which will, among other things, bring full Optimism support</p>
<h1 id="closing">Closing</h1>
<p>Looking back at 2022 we did a lot more than I expected we would. Achieved so much but also spent time growing. I think, it’s the year rotki “grew up”. Growing from 3 devs to 6 devs and 1 non-technical person is not a small feat! Neither was it easy. I hope we can continue to build rotki into the tool that you guys want and have a lot of happy users and contributors. Here is to a more productive, more succesful and happier new year 2023!</p>
<p>That’s all!</p>
<p>If you want more info on Rotki:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a></li>
<li><a href="https://rotki.com/products">Buy</a> premium, unlock all features and support our development.</li>
<li><a href="https://github.com/rotki/rotki">Check out</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us in Twitter.</li>
<li>Chat with us and other users of Rotki in <a href="https://discord.gg/aGCxHG7">Discord</a> or in <a href="https://t.me/rotkiportfolio">Telegram</a>.</li>
</ul>
Rotki wants you to work with us! Looking for a backend developer!2020-10-01T00:00:00+00:00https://blog.rotki.com/2020/10/01/job-backend-developer<h1 id="introduction">Introduction</h1>
<p><strong>Updated for 2021 - We are still looking</strong></p>
<p>Rotki is a true startup in the full sense of the word. A side-project trying to grow and get out into the world. At the moment we are a really small team and the issues and feature requests are piling up. Since rotki is opensource we have some help from amazing community volunteers but it’s time to grow the core team beyond 2-3 people. To do that we are looking for a backend developer to work with us and help us create opensource financial tools.</p>
<h1 id="role-requirements">Role requirements</h1>
<p>We are looking for a backend developer to help us improve Rotki. You will work mostly with the founder (Lefteris) who is the main developer working in the backend. The task is to help in the development of new features, supporting more exchanges, more blockchains, more DeFi protocols and solving all issues/bugs that are coming our way.</p>
<p>This role is for an experienced developer who <strong>can take initiative, does not need constant monitoring and can take on a lot of responsibility</strong>. We need someone who can take ownership of a big part of rotki’s backend and help us get it to the next level.</p>
<p>Since this is a startup you will probably wear a lot of hats and may need to also help with the backend/infrastructure of our website and API.</p>
<p>Technical requirements:</p>
<ul>
<li>Excellent command of python.</li>
<li>Experience in at least another programming language (Go, C/C++, Rust etc.).</li>
<li>Write tests for features you code and bugs you fix. Not strict TDD, but also not complete absence of tests.</li>
<li>Very Good technical understanding of Ethereum blockchain, interacting with it, querying it and knowing technical details of how it operates.</li>
<li>[Optional] Similar knowledge of another blockchain protocol (e.g. Bitcoin).</li>
<li>[Semi-Optional] Experience in django (should be easy to learn for a python dev).</li>
<li>[Optional] Understanding of frontend tech used in rotki: Typescript + vue.js + electron.</li>
<li>[Optional] Good understanding of docker and generally infrastructure related tech pertaining to web servers.</li>
</ul>
<p>Non-Technical requirements:</p>
<ul>
<li>Don’t be an asshole.</li>
<li>Be a team player.</li>
<li>Be an independent thinker and have a proactive can-do attitude. In the start You will be guided for most tasks and there is always going to be mentoring when required but the more you manage to fend off by yourself the smoother the whole team will work. Eventually this job is a for an individual who is both willing and capable to take on a lot of responsibility and take ownership of a big part of the codebase. No hand-holding.</li>
<li>Be user-minded. The user is king. Everything we implement in Rotki, we do so that our end users are happy and have their problems solved.</li>
<li>Have excellent English speaking skills.</li>
<li>[Optional] Be located in Berlin or somewhere close. 2 other full time members of Rotki are here and meeting face to face is valuable.</li>
</ul>
<h1 id="what-we-can-offer">What we can offer</h1>
<p>This position can be for either a half-time (50%) or a full-time (100%) role.</p>
<ul>
<li>WFH/Working remotely. We don’t care (as long as we meet up from time to time!) where you live, if you travel all the time, if you are in your underwear when coding etc.</li>
<li>Flexible working hours. Nobody will count your hours. As long as the output is there and the result is good, we don’t care.</li>
<li>Opportunity to work with some OGs in the Ethereum and general crypto space.</li>
<li>Opportunity to work in opensource, have your code visible and running at the systems of the ever-increasing Rotki userbase.</li>
<li>Potential for equity options in the company.</li>
<li>Working on a lean and mean team without micromanagement.</li>
</ul>
<h1 id="how-to-apply--more-info">How to apply / More Info</h1>
<p>Send an email to careers@rotki.com with your CV, a link to your Github profile and a small text about yourself and why you are interested to work with us on Rotki. Please include a link to a project you worked on and are the most proud about. Tell us why that is. If it’s opensource also include a link.</p>
<p>That’s all!</p>
<p>If you want more info on Rotki:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a></li>
<li><a href="https://github.com/rotki/rotki">Check out</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us in Twitter.</li>
<li>Chat with us and other users of Rotki in <a href="https://discord.gg/aGCxHG7">Discord</a> or in <a href="https://t.me/rotkiportfolio">Telegram</a>.</li>
</ul>
Decentralized Finance, the YAM fiasco and the road to DeFi sustainability2020-08-13T00:00:00+00:00https://blog.rotki.com/2020/08/13/sustainable-defi<h1 id="introduction">Introduction</h1>
<p>This post explores what is the concept of Decentralized Finance (DeFi), what new possibilities does it unlock and why it’s so cool and hot right now. On the other side of the coin it touches on the dark side of DeFi with the YOLO farming and unaudited contracts most recently highlighted by the YAM fiasco. Finally it takes a look on the road ahead, the lessons that the community needs to learn in order to create sustainable and responsible DeFi for decades to come. Finacial instruments and tools that will not only be used by a few Twitter bros but permisionlessly by everyone around the world.</p>
<h1 id="what-is-defi">What is DeFi</h1>
<p>In one sentence, decentralized finance is the permissionless decentralized version of various traditional financial instruments such as exchanges, lending, borrowing, synthetic assets e.t.c. There has been a lot of innovation in the sector in the past 2 years.</p>
<h2 id="decentralized-exchanges">Decentralized Exchanges</h2>
<p>We have various decentralized exchanges such as:</p>
<ul>
<li><a href="https://uniswap.org/">Uniswap</a></li>
<li><a href="https://kyberswap.com/swap">Kyber</a></li>
<li><a href="https://www.deversifi.com/">Deversifi</a></li>
</ul>
<p>They all operate in a decentralized way and are non-custodial in stark contrast with centralized exchanges such as Binance, Kraken to which you have to first deposit and give custody of your funds.</p>
<h2 id="lendingborrowing-protocols">Lending/Borrowing Protocols</h2>
<p>There are protocols such as <a href="https://app.compound.finance/">Compound</a> and <a href="https://app.aave.com/home">Aave</a> that allow users to lend their assets to earn interest or to borrow assets after staking some collateral. MakerDAO also offers a form of borrowing via <a href="https://oasis.app/borrow">vaults</a> that can mint the DAI stable token after depositing various forms of collateral.</p>
<h2 id="synthetic-assets">Synthetic Assets</h2>
<p>Synthetic asset protocols such as <a href="https://www.synthetix.io/">Synthetix</a> or <a href="https://www.tokensets.com/">Token Sets</a> combine a mix of different assets into a single asset. This way you can get exposure to multiple different assets by just holding a single synthetic asset.</p>
<h1 id="what-new-possibilities-does-defi-unlock">What new possibilities does DeFi unlock?</h1>
<p>What DeFi does is nothing new. All of this already exist in one form or another in the world of “traditional finance”. What is so amazing and revolutionary about DeFi is that it’s completely decentralized and permissionless. And that it is accessible to everyone regardless of location or background. It’s unlocking a ton of possibilities for people around the world, building a new permisionless financial system in the process.</p>
<h1 id="the-dark-side-of-defi">The dark side of DeFi</h1>
<p>Just like with everything involving money this sector also attracts short-termed myopic people and projects who are driven by greed.</p>
<p>There is the concept of a yield farmer, someone who provides liquidity or stakes in a protocol in return for interest, fees or some governance token. Yield farming is not bad per se. Everyone who provides liquidity in all the DeFi protocols is essentially yield farming. There is nothing wrong with that.</p>
<p><br /></p>
<p><img class="post_image_not_set_size with*border" src="/public/post8/defichad.jpeg" /></p>
<p><br />
<br /></p>
<p>The bad side of farming is the “DeFi chad” or “Defi Degen”. The kind of meme-driven farmer who jumps from protocol to protocol without any thought on contract safety, chasing the biggest yield, dumping their tokens to the new guys and then moving on. A practice that is obviously unsustainable.</p>
<h2 id="yam-finance">YAM finance.</h2>
<p>A very good example of the irresponsible approach to DeFi is YAM. An experiment that did not even manage to last 2 days. It <a href="https://medium.com/@yamfinance/yam-finance-d0ad577250c7">launched</a> in 19:00 UTC, August 11th, 2020 and <a href="https://medium.com/@yamfinance/yam-post-rescue-attempt-update-c9c90c05953f">died</a> 36 hours later.</p>
<h3 id="what-happened">What happened?</h3>
<p>YAM advertised itself as an experiment from the start. It was a mashup of code from various other DeFi projects, completely unaudited and without any safety hatches or deposit limits. For all intents and purposes a completely reckless enterprise. Despite that at its peak it had over $500m locked in it!</p>
<p>For a technical explanation of the bug read <a href="https://medium.com/@yamfinance/yam-post-rescue-attempt-update-c9c90c05953f">their post</a>. In short the bug made it impossible for the YAM holders to reach quorum on anything so essentially the governance part of the protocol was broken and without it the entire protocol could no longer function.</p>
<p>Once people realized that, the market cap of YAM went within minutes from $60m to 0. Everyone left holding YAM they bought took a loss as they can’t sell it, so did uniswap liquidity providers as they took a loss every time someone sold YAM through them.</p>
<h3 id="could-this-have-been-avoided">Could this have been avoided?</h3>
<p>ABSOLUTELY</p>
<p>There were multiple warnings from many prominet people in the crypto sector including myself that this is going to end in tears. The minimum precaution that could have been taken is:</p>
<ul>
<li>Write contract tests</li>
<li>Have some sort of security audit of the code</li>
<li>IF you claim it’s an experiment then treat it as such by:
<ul>
<li>Putting deposit limits in the code to protect your users</li>
<li>Put an escape hatch in the code to protect your users.</li>
</ul>
</li>
</ul>
<h3 id="ponzi">Ponzi</h3>
<p>What’s worse is that from the tokenomics of YAM it was obvious that this was a ponzi game. Note the difference between ponzi game and ponzi scheme as explained in <a href="https://jpkoning.blogspot.com/2018/05/ethereum-is-full-of-ponzis-is-that.html">this</a> article.</p>
<p>Every 12 hours the total supply of the token increased but the amount held by each user stayed the same through a process called rebasing. The first farmers were incentivized to pump and shill YAM via social media so they can find victims onto whom to dump their tokens after the rebase. The new holders had the exact same incentives to pump it even more so they can in turn dump their bags onto the poor sods after the second rebase. And so on and so forth.</p>
<p>It was a “fair” and transparent ponzi, but a ponzi nonetheless. And with the amount of due dilligence people do in Crypto I am 100% certain that most of the people who got shilled into it did not realize that and lost money as a result.</p>
<h3 id="shilling-in-twitter">Shilling in Twitter</h3>
<p>What I personally found <strong>absolutely disgusting</strong> was the incessant amount of shilling of YAM in Twitter by many people in the ethereum community whom I actually respect who were also farming it.</p>
<p>It’s inexcusable, reckless and irresponsible. They were shilling a protocol that had not seen any production use yet, had unaudited code, no tests, no deposit limits or anything. They were doing so only to get more people into the Ponzi game to sustain their profits and dump their bags onto them.</p>
<p>I sincerely hope lessons are now learned. If you are shilling an unaudited insecure ponzi you are part of the problem of why this sector is not taken seriously. We can’t have such irresponsible behavior if we are ever going to reach mass adoption.</p>
<h3 id="what-did-it-cost-us">What did it cost us?</h3>
<p><img class="post_image_not_set_size with*border" src="/public/post8/yamcrash.jpeg" /></p>
<p>Some people lost a lot of money</p>
<ul>
<li>Marketcap dropped from $60m to $0.</li>
<li>People who bought YAM are left holding a hot potato, got burned and lost everything they invested.</li>
<li>Uniswap liquidity providers lost money due to providing liquidity for sellers of a dying token.</li>
<li>Lots of money in gas fees (300+ gwei) for nothing</li>
</ul>
<p>The rest of the non yam farming ethereum users were left with 300 gwei gas prices and could not really use the ethereum blockchain.</p>
<p>And finally and most importantly, outsiders roll their eyes and we lose credibility. Every nocoiner I know that I tried to explain this to just get their view that crypto is only for scams and ponzi schemes reinforced. Can you blame them?</p>
<h1 id="responsible-decentralized-finance">Responsible Decentralized Finance</h1>
<p>If you are to keep anything from this post as a take-home message let it be this section. DeFi is good and is here to stay. We just all need to be more responsible about it.</p>
<h2 id="responsible-defi-user">Responsible DeFi user</h2>
<p>As a user don’t rush into every new thing that pops up and promises amazing 100%+ returns. Do you due dilligence, demand audit reports, ask people in the community about the history and portfolio of the founders of the protocol and if possible read the code and understand the tokenomics. DYOR. If something sounds too good to be true that’s because it’s probably a scam or a ponzi.</p>
<h2 id="responsible-defi-founder">Responsible DeFi founder</h2>
<p>As a founder/developer for the love of god DO NOT TEST IN PRODUCTION. Be responsible. Users do not heed warnings, or disclaimers. If it’s an experiment and you want to experiment in the mainnet that’s fine. Then put deposit limits and centralized escape hatches for the first X months. The safety of your users is your responsibility. Avoiding that responsbility through the veil of “just an experiment” won’t be accepted.</p>
<h2 id="towards-a-sustainable-defi-ecosystem">Towards a sustainable DeFi ecosystem</h2>
<p>It is only through responsible development and professionalism that this sector can mature. We won’t get any new users with the YOLO yield farming memes. For DeFi to fullfill its goals of a new permisionless financial system it needs to go mainstream. And it will not achieve that through ponzi games and chad memes in Twitter. This will only be achieved when the ecosystem is perceived by normies to be mature enough so that they can also come in and participante in it. Let’s all then do our part to advance the ecosystem through responsible building and sustainable development and build a new financial system for the many and not for the few.</p>
<h1 id="closing--about-the-author">Closing / About the author</h1>
<p>My name is <a href="https://twitter.com/LefterisJP">Lefteris Karapetsas</a>. I am the founder of <a href="https://rotki.com/">Rotki</a>. It is a project that deals with DeFi, among other things, and believes in the dream of a sustainable permissionless new financial system. We are a portfolio tracker and accounting tool that respect our users’ privacy and we are in this game for the long run and not to scam our users for short term gain.</p>
<p>Here is how you can help us:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a> and use it daily.</li>
<li><a href="https://rotki.com/products/">Buy</a> a premium subscription to unlock awesome premium features and also support our development.</li>
<li>Provide us with <a href="https://github.com/rotki/rotki/issues">feedback</a> in the form of bug reports and feature requests.</li>
<li><a href="https://github.com/rotki/rotki">Star</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us on Twitter.</li>
<li>Chat with us and other users of Rotki in <a href="https://discord.gg/aGCxHG7">Discord</a> or in <a href="https://t.me/rotkiportfolio">Telegram</a>.</li>
<li>Spread the word so that more people get to try and use Rotki and learn how to both manage their finances but also how to protect the privacy of their financial data.</li>
</ul>
Rotki progress in Q2 of 20202020-06-13T00:00:00+00:00https://blog.rotki.com/2020/06/13/rotki-2020-q2<h1 id="introduction">Introduction</h1>
<p>This post serves as an update of the work we have been doing in rotki during Q2 of 2020 and especially since the conclusion of the last gitcoin round.</p>
<p>A lot happened in those months. We have grown our community in <a href="https://discord.gg/aGCxHG7">Discord</a> and <a href="https://t.me/rotkiportfolio">Telegram</a> and the general userbase of rotki.</p>
<p>We made 2 big releases, <a href="https://github.com/rotki/rotki/releases/tag/v1.5.0">v1.5.0 - Barb</a> and <a href="https://github.com/rotki/rotki/releases/tag/v1.4.0">v1.4.0 - Axilla</a> containing a ton of features which will be detailed below.</p>
<p>We have also made 2 smaller releases, <a href="https://github.com/rotki/rotki/releases/tag/v1.4.1">v1.4.1 - Axillaries</a> and <a href="https://github.com/rotki/rotki/releases/tag/v1.4.2">v1.4.2 - Bird’s back</a> adding smaller features and fixing bugs.</p>
<h1 id="userbase-and-community">Userbase and Community</h1>
<p>Our community has grown considerably. From almost non existant in the start of the year we now have 83 members in discord, 42 members in Telegram and almost 1000 followers in our Twitter account! By far the most users are in discord where interesting conversations happen between users and developers and also where many feature requests are made. Discord is also where we, the rotki developers, coordinate and discuss development so if you wanna see how we do that do <a href="https://discord.gg/aGCxHG7">join in</a>!</p>
<p>Counting the actual users for a local opensource is not an exact science but the userbase of rotki has also grown considerably! Each new version gets ~300 downloads and we have almost 20 active premium users at the moment. Additionally from the users who have statistics activated we can see we get about 36 sign ins on average daily. This is a very big increase compared to last year where we had ~80 downloads per release, 4 active premium users and 5 sign ins per day.</p>
<h1 id="features">Features</h1>
<p>A lot of new features have been added in the past months. In this section we will see a detailed rundown of the most important of them.</p>
<h2 id="support-for-gemini-exchange">Support for Gemini Exchange</h2>
<p>Release v1.4.0 introduced support for the <a href="https://gemini.com/">Gemini</a> exchange.</p>
<p><img class="post_image_not_set_size with*border" src="/public/post7/gemini.png" /></p>
<p>Users simply need to add a Gemini key with the “auditor” permission and rotki will pull all balances, trades, deposits/withdrawals and display them inside the app.</p>
<h2 id="users-can-now-maintain-manually-tracked-balances">Users can now maintain manually tracked balances</h2>
<p>Release v1.4.0 introduced the ability for users to add manually tracked balances.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_manually_tracked_balances.png" /></p>
<p>Users can add any type of asset in any kind of location for tracking. This feature is very important since it allows users to track their balances in exchanges or blockchains which we do not currently support.</p>
<h2 id="improvements-for-kraken-users">Improvements for Kraken users</h2>
<p>Kraken users can now choose the tier of kraken account they have from the UI.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/kraken_account_choice.png" /></p>
<p>This allows them to take advantage of different API rate limits. Unfortunately kraken does not offer a way to auto-detect the account type and as such the user needs to select it from our user interface.</p>
<h2 id="support-for-compound-tokens-and-for-adai">Support for Compound tokens and for aDAI</h2>
<p>Rotki can now track all compound tokens and Aave’s aDAI. If you hold any in your accounts they will be auto-detected and their balance will be displayed for you and taken into account in your overall net worth.</p>
<h2 id="speedup-of-blockchain-queries">Speedup of blockchain queries</h2>
<p>We put some work on considerably increasing the speed by which the ethereum blockchain balances are queried by utilizing a set of special contracts in order to save on RPC calls.</p>
<h2 id="redesign-of-the-welcome-screen">Redesign of the welcome screen</h2>
<p>We have redesigned the welcome screen!</p>
<p>You are no longer greeted by a dull and boring background but by a patterned moving robin.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_newacc1.png" /></p>
<p>Moreover the account creation screen has slightly changed in order to make it easier for you to understand what needs to be filled in when creating a new account.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_newacc2.png" /></p>
<h2 id="redesign-of-the-dashboard">Redesign of the dashboard</h2>
<p>The dashboard’s design has changed considerably.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/dashboard.png" /></p>
<p>It has a more modern look with a heavy focus on the user’s total net worth, which comes as an aggregation of all assets over all locations.</p>
<p>Furthermore each exchange, blockchain and other location is shown in the dashboard along with how much value is saved in them. And just like before the list of all assets and their percentage of the netvalue is also present at the bottom of the dashboard.</p>
<h2 id="ability-to-change-the-password">Ability to change the password</h2>
<p>You have asked for this feature and we listened!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_user_password_change.png" /></p>
<p>It’s now possible for a user to change their password by visiting the account & security page. Simply type in a new password and you are good to go!</p>
<h2 id="privacy-changes">Privacy changes</h2>
<p>We have introduced a number of privacy related changes that allow users to share screenshots/videos of their rotki without actually sharing any of their sensitive data.</p>
<h3 id="data-scrambling">Data scrambling</h3>
<p>Users have the ability to activate data scrambling mode.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/privacy1.png" /></p>
<p>What this means is that in the dashboard and other pages real numbers are replaced by random numbers each time a page is loaded. This way you can share screenshots of your rotki app experience without sharing any of your data.</p>
<h3 id="privacy-mode">Privacy mode</h3>
<p>Another feature we introduced is called privacy mode.
<img class="post_image_not_set_size with_border" src="/public/post7/privacy2.png" /></p>
<p>Once privacy mode activated all numbers are blurred out.
<img class="post_image_not_set_size with_border" src="/public/post7/privacy3.png" /></p>
<p>This way you can be sure that nobody looking at your screen will see anything and you can share a screenshot or a video of a potential bug/problem with the interface and share with us without compomising any of your sensitive data.</p>
<h2 id="improvements-on-the-makerdao-dsr-page">Improvements on the MakerDAO DSR page</h2>
<p>The MakerDAO DSR page has been improved to have similar look and feel to the vaults page.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_dsr_premium_all.png" /></p>
<p>You can now filter the DSR balances and how much you have earned per account. Furthermore the list of DSR actions has been greatly improved compared to previous versions. Each action has both the DAI amount and the equivalent amount in USD value at the time of the transaction. Moreover you can check out each action in etherscan by simply clicking a link. Furthermore for each action you can see how much the user has earned in DAI and USD up to the point in time the action happened.</p>
<p>Here is a small demo showcasing the usage of DSR in v1.5.0:</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/dsr_premium_demo.gif" /></p>
<h2 id="support-for-makerdao-vaults">Support for MakerDAO vaults</h2>
<p>With v1.5.0 we have also added support for MakerDAO vaults.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_vaults_premium.png" /></p>
<p>The user’s vaults are now auto-detected from the tracked ethereum accounts. The aggregate deposit locked in all vaults can be seen. But also for each vault all the relevant information such as locked up collateral, liquidation rate and outstanding debt are shown.</p>
<p>Furthermore, for premium users, the list of historical actions along with how much DAI/USD is lost to paid interest is shown. Moreover they can create vault watchers.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/sc_vaults_premium_watchers.png" /></p>
<p>A watcher resides in the rotki server and watches the given vault for changes in the collateralization ratio. Users can have multiple watchers per vault. If the ratio becomes greater/less than the target ratio then an email alert is sent to the user so he can react quickly and either not be liquidated if the ratio becomes too small or not lose on potential profit if the ratio grows too big.</p>
<p>Here is a small demo showcasing the usage of vaults in v1.5.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post7/vaults_premium_demo.gif" /></p>
<h1 id="wrapup">Wrapup</h1>
<p>Rotki has progressed a lot during Q2 of 2020. We have taken the support of our community and of the people who donated to us during the last gitcoin round and turned it into code that created a better product with many improvements and new features. Rotki’s UI/UX has improved and more ethereum DeFi support has been added. Finally privacy and speed/performance improvements were made.</p>
<h1 id="conclusion---last-half-of-2020-and-beyond">Conclusion - last half of 2020 and beyond</h1>
<p>Heading into the next half of the year rotki is growing up!</p>
<p>We will focus on implementation of the new features requested by users, prioritizing those requested by our paid users and those features that deal with DeFi.</p>
<p>Our online presence will increase even more and so will our userbase which will allow us to perfect the software and make it the best tool for everyone by taking all of your feedback into account.</p>
<p>Stay tuned for more updates and please help us in building the best portfolio tracker and accounting tool that respects your privacy. Ways to do that are:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a> and use it daily.</li>
<li>Provide us with <a href="https://github.com/rotki/rotki/issues/new/choose">feedback</a> in the form of bug reports and feature requests.</li>
<li><a href="https://github.com/rotki/rotki">Star</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us in Twitter.</li>
<li><a href="https://rotki.com/products/">Buy</a> a premium subscription and/or <a href="https://github.com/rotki/rotki#financially">support us financially</a>.</li>
<li>Chat with us and other users of Rotki in <a href="https://t.me/rotkiportfolio">Telegram</a> or in <a href="https://discord.gg/aGCxHG7">Discord</a>.</li>
<li>Spread the word so that more people get to try and use Rotki and learn how to both manage their finances but also how to protect the privacy of their financial data.</li>
</ul>
Rotki 2019 - A year in review2019-12-30T00:00:00+00:00https://blog.rotki.com/2019/12/30/year-in-review<h1 id="introduction">Introduction</h1>
<p>What a year has this been for Rotki! With less than two days left in 2019 this post is meant to highlight the biggest things that happened in the project during the past 12 months, list what we have achieved and look to what is coming in the future.</p>
<h1 id="year-in-review">Year In Review</h1>
<h2 id="january">January</h2>
<p>January started with the publishing of <a href="https://github.com/rotki/rotki/releases">Rotki v0.6.0</a>, the last release before v1.0.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v0_6_0.png" /></p>
<p>It was a big release containing many bug fixes but also introducing some features like the API query caching or the tax report progress indicator that stay with Rotki even to this date.</p>
<p>Other than that development <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-01-01..2019-01-31+">continued</a> with a good pace.</p>
<h2 id="february">February</h2>
<p>Work on Rotki <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-02-01..2019-02-28">continued</a>. The project’s source code was <a href="https://twitter.com/LefterisJP/status/1100327186660245504">ported to Windows</a> and for the first time Rotki gets to run in a Windows environment.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/rotki_windows.jpeg" /></p>
<p>Trying to port code to Windows is not an easy thing, especially coming from a Linux background, but seeing the end result of the app running inside an all familiar looking windows themed frame is really rewarding.</p>
<p>Apart from that a lot of work on improving the experience of the application was done such as accomodating for Token upgrades starting with the <a href="https://github.com/rotki/rotki/pull/278">new MLN</a> token.</p>
<h2 id="march">March</h2>
<p>Rotki participated in <a href="https://ethcc.io/">ETHCC 2</a> in Paris and gave a talk on what Rotki is, what is the problem that we are trying to solve and what would v1.0 bring.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/rotki_ethcc.jpg" /></p>
<p>The reactions from the audience and the questions we got were really encouraging. People wanted to learn more about Rotki’s mission, how can they try it but most of all when would it be available in Windows and when would v1.0 be released?
To see the full recording of the talk check <a href="https://www.youtube.com/watch?v=oIT0L9GDYEg">here</a>.</p>
<p>Meanwhile development steadily <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-03-01..2019-03-31+">continued</a> with sneak peeks of the <a href="https://twitter.com/rotkiapp/status/1106129114388406272">premium graphs</a> and among other things a lot of <a href="https://github.com/rotki/rotki/pull/305">UI improvements</a>.</p>
<h2 id="april">April</h2>
<p>Development <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-04-01..2019-04-30">continued</a> in April but rather slowly. This month was dominated by events in Lefteris’ personal life as he became a father!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/hania.jpeg" /></p>
<h2 id="may">May</h2>
<p>Slowly development <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-05-01..2019-05-31+">picked up its pace</a> again with various bug fixes done to the app but also some features being implemented. Most notable change that got implemented in May was a complete change in the way assets are handled by Rotki. The application no longer trusted any single token/asset symbol it is given. Instead from here and on it maintains <a href="https://github.com/rotki/rotki/pull/342/">a list of known asset symbols</a> along with their conversions from/to external services. Any asset not in that list is not supported by Rotki. This lets us stop the guessing games about what assets the user has and instead allows us to know all details about each token in question and how it translates in each exchange or price querying website.</p>
<figure class="highlight"><pre><code class="language-json" data-lang="json"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre><span class="nl">"KEY"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"ethereum_address"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0x4CC19356f2D37338b9802aa8E8fc58B0373296E7"</span><span class="p">,</span><span class="w">
</span><span class="nl">"ethereum_token_decimals"</span><span class="p">:</span><span class="w"> </span><span class="mi">18</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Selfkey"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1508803200</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ethereum token"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span><span class="w">
</span><span class="nl">"KEY-2"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"ethereum_address"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0x4Cd988AfBad37289BAAf53C13e98E2BD46aAEa8c"</span><span class="p">,</span><span class="w">
</span><span class="nl">"ethereum_token_decimals"</span><span class="p">:</span><span class="w"> </span><span class="mi">18</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Bihu KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1507822985</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ethereum token"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span><span class="w">
</span><span class="nl">"KEY-3"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"active"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
</span><span class="nl">"ended"</span><span class="p">:</span><span class="w"> </span><span class="mi">1452038400</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KeyCoin"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1405382400</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"own chain"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span>
</pre></td></tr></tbody></table></code></pre></figure>
<p>If you are interested to learn more about this topic it has been covered extensively in <a href="https://blog.rotki.com/2019/09/01/crypto-assets-database/">this</a> post.</p>
<h2 id="june">June</h2>
<p>Development <a href="https://github.com/rotki/rotki/pull/371">continued</a> with a steady pace towards v1.0.</p>
<p>A lot of work is also happening outside of Github as a website is being built for Rotki which also contains a system that allows premium users to purchase and manage premium subscriptions. Also an API server is being developed for the premiums users of Rotki.</p>
<p><img class="post_image_wide with_border" src="/public/post6/june_website_work.png" /></p>
<p>In parallel to all that <a href="https://twitter.com/kelsos86">Kelsos</a> started the slow and painful process of <a href="https://github.com/rotki/rotki/pull/371">rewriting the UI code using the vue.js framework</a></p>
<h2 id="july">July</h2>
<p>July is definitely dominated by finally reaching the v1.0 milestone.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_0.png" /></p>
<p>The Rotki v1.0 release was the biggest release of Rotki up to now (probably will be overshadowed by v1.1.0 though ;)).</p>
<p>It officially launched the purchasing of Rotki premium subscriptions and the website to support it. It also was the first release to utilize the premium API server to provide the users with the ability to save their data in our servers and get extra statistics and graphs for their assets and activity.</p>
<p>Rotki v1.0 also was the first release to be able to run in Windows.</p>
<p>With Rotki v1.0 the users could now for the first time conveniently see notifications in the top right of the front-end about information or warnings that the software wants to show them instead of always having to read the logfiles.</p>
<p>Finally this version had a ton of bug fixes, and new features for a full list of which you should check the <a href="https://github.com/rotki/rotki/releases/tag/v1.0.0">release notes</a>.</p>
<h2 id="august">August</h2>
<p>As if v1.0 in July was not enough, August was a <strong>really</strong> busy month for Rotki!</p>
<p>As the users <a href="https://twitter.com/bitfalls/status/1157011467478155264">started using v1.0</a>, August started with bugfixing of various issues that were reported. Not one, but two bugfixing releases were made within a few days!</p>
<ul>
<li><a href="https://github.com/rotki/rotki/releases/tag/v1.0.1">v1.0.1 - Afterfeather</a></li>
</ul>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_1.png" /></p>
<ul>
<li><a href="https://github.com/rotki/rotki/releases/tag/v1.0.2">v1.0.2 - Afterafterfeather</a></li>
</ul>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_2.png" /></p>
<p>In August we also got our first paying premium subscribers, something that boosted our confidence that what we are building is something that people need and that the problem we are solving is worth all the effort we are putting into the project.</p>
<p>We also started getting a lot of feature requests from people in social media and Github</p>
<ul>
<li><a href="https://twitter.com/bmann/status/1164920035510509568">Allow authentication with WalletConnect</a></li>
<li><a href="https://twitter.com/Marsmensch/status/1160235755479949312">Bitstamp support</a></li>
<li><a href="https://twitter.com/jrmoreau/status/1160668837370617858">POS chains staking support</a></li>
<li><a href="https://github.com/rotki/rotki/issues/296#issuecomment-519070786">Coinbase support</a></li>
</ul>
<p>This blog was also started in August with the very first <a href="https://blog.rotki.com/2019/08/03/rotkehlchen-value-vision/">post</a> explaining what Rotki is, what are our values and the vision for the future of the project.</p>
<p>An unforgettable event was our <a href="https://twitter.com/LefterisJP/status/1165188514499223552">participation</a> in <a href="https://ethberlinzwei.com/">EthBerlinzwei</a> and <a href="https://dappcon.io/">Dappcon</a> which we even <a href="https://twitter.com/LefterisJP/status/1164525082477072384">sponsored</a>!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/ethberlinzwei.png" /></p>
<p>There we talked with many users who were interested in what’s in store for Rotki and we got lots of <a href="https://twitter.com/LefterisJP/status/1165350054762356736">feedback</a> and advice on how to go forward.</p>
<p>Finally at the very end of the month, a big release containing bug fixes and the most requested features was made. Release <a href="https://github.com/rotki/rotki/releases/tag/v1.0.3">v1.0.3</a> added support for Coinbase which was a feature prioritized via request of a premium subscriber.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_3.png" /></p>
<p>It also introduced a dmg installer for OSX users, added a popup warning users when new releases are available and added various smaller features and lots of bug fixes. Check the <a href="https://github.com/rotki/rotki/releases/tag/v1.0.3">changelog</a> for more details.</p>
<h2 id="september">September</h2>
<p>Development <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-09-01..2019-09-30+">continued</a> also in September. The biggest change implemented this month was <a href="https://github.com/rotki/rotki/pull/508">saving all actions inside the database</a> so that users won’t have to re-query each time they run Rotki.</p>
<p>In the meantime traction in social media is slowly <a href="https://twitter.com/rotkiapp/status/1176579879560765440">increasing</a>. To further improve our online presence we are trying to <a href="https://twitter.com/LefterisJP/status/1174645492095102977">educate</a> current and potential future users on why Rotki is needed by explaining the problems of centralization, lack of privacy and lack of data ownership that all other portfolio tracking and accounting solutions are facing.</p>
<p>In the meantime yet another post is made in this blog, this time to explain <a href="https://blog.rotki.com/2019/09/01/crypto-assets-database/">why Rotki maintains its own list of assets and their mappings</a>.</p>
<p>Finally in order to support the Ethereum ecosystem from which we came we also became sponsors of ethereum’s <a href="https://devcon.org/">devcon 5</a> that would take place next month in Osaka, Japan.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/sponsor_devcon.jpeg" /></p>
<h2 id="october">October</h2>
<p>October started by unleashing a new Rotki release!</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_4.png" /></p>
<p>Release v1.0.4 contained multiple features and bug fixes. The most noteworthy feature of that release was the ability to <a href="https://github.com/rotki/rotki/issues/498">import data from cointracking.info</a>. That feature was requested by a premium subscriber and as such was prioritized. For a full list of changes take a look at the <a href="https://github.com/rotki/rotki/releases/tag/v1.0.4">changelog</a>.</p>
<p>The most seminal event of October was of course our participation in Ethereum’s <a href="https://devcon.org/">Devcon 5</a> in Osaka, Japan and the <a href="https://twitter.com/LefterisJP/status/1182203276936114176">talk</a> we gave there regarding the problems of using centralized tools in order to do accounting for the world of decentralized finance. You can find a recorded video of the talk <a href="https://www.youtube.com/watch?v=hEwcDjjcUhk">here</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/devcon5_talk.jpg" /></p>
<p>There was a lot of feedback given to us after the talk and during our presence in the conference. The feedback and questions revolved around upcoming DeFi features but also ideas of monetization for the project. There were ample discussions about the direction Rotki is taking as an opensource application trying to monetize itself and we got many ideas on potential ways forward.</p>
<p>Development also <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-10-01..2019-10-31+">continued</a> albeit in a slower pace due to travelling to the other side of the world for the conference.</p>
<h2 id="november">November</h2>
<p>In November development <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-11-01..2019-11-30+">continued</a> trying to fix various bugs and prepare the next upcoming release.</p>
<p>The most noteworthy change that occured in November was the rebranding of the project from <code class="language-plaintext highlighter-rouge">Rotkehlchen</code> to <code class="language-plaintext highlighter-rouge">Rotki</code>. Since even before v1.0 many people were complaining about the difficulty they faced when trying to pronounce or spell the original name. It made it really hard to spread the word about it, recommend it to friends or even google it. As such rebranding to the diminutive form was absolutely necessary. Github, twitter, website all got renamed. For a full list of what changed check <a href="https://blog.rotki.com/2019/11/14/rotki-rebranding/">this post</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/rebranding.png" /></p>
<p>In November we also had to face the problems introduced by the <a href="https://blog.makerdao.com/multi-collateral-dai-is-live/">introduction</a> of Maker DAO Multi-collateral DAI and the renaming of the old DAI to SAI. We developed the required <a href="https://github.com/rotki/rotki/pull/551">code and DB upgrades</a> to handle it and also explained our view on why renaming an asset like that is misguided in <a href="https://blog.rotki.com/2019/11/19/why-renaming-asset-is-misguided/">this blogpost</a>.</p>
<h2 id="december">December</h2>
<p>This month, Rotki has been <strong>on fire</strong>!</p>
<p>December started with the publishing of the last release for the year. Rotki <a href="https://github.com/rotki/rotki/releases/tag/v1.0.5">v1.0.5</a> was released mainly containing the work done for the Maker DAO multi-collateral DAI upgrade. Some minor features and bug fixes were also included in this release. For a full list of changes check the <a href="https://github.com/rotki/rotki/releases/tag/v1.0.5">changelog</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/release_v1_0_5.png" /></p>
<p>After requests from our users we also created two chatrooms where users can chat about Rotki. A <a href="https://t.me/rotkiportfolio">Telegram chat</a> and a <a href="https://discordapp.com/invite/aGCxHG7">discord room</a>.</p>
<p>But December, presumably due to the holidays, has been one of our most productive months of work.</p>
<p>We started having two different branches in the project due to the sheer amount of changes happening. The master branch stays as the stable branch where releases are published from. The development branch is where all new work is going to.</p>
<p>The work that Kelsos had started in June in order to switch the entire front-end code to utilize the <a href="https://vuejs.org/">Vue.js framework</a> was finally finished and got <a href="https://github.com/rotki/rotki/pull/371">merged</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post6/monster_merge.jpeg" /></p>
<p>At the same time a lot of work <a href="https://github.com/rotki/rotki/projects/2">preparing the project for v.1.1.0</a> was done. Most noteable of which was the <a href="https://github.com/rotki/rotki/pull/526">complete removal of ZMQ and replacing it with a full-fledged REST API</a>.
Even as of the writing of this post work <a href="https://github.com/rotki/rotki/pull/584">continues</a> so that v1.1.0 can be ready in January 2020. I can’t describe how much work has been going on in Rotki the past few days. Best way to see it for yourself is to <a href="https://github.com/rotki/rotki/pulls?utf8=%E2%9C%93&q=is%3Apr+created%3A2019-12-01..2019-12-31">check the PRs in Github</a>.</p>
<p>We also described how would v1.1.0 look in our <a href="https://blog.rotki.com/2019/12/13/rotki-new-years-resolutions/">new year resolutions for 2020 post</a>. Check it out if you would like to see some hints about how v1.1.0 will look like and also some more long-term ideas about Rotki.</p>
<h1 id="wrapup">Wrapup</h1>
<p>What a year has 2019 been for Rotki! We are beaming with pride! So much work has been done, the userbase is steadily growing, we acquired the first paid users and we have gotten more feature requests than we can currently cope with.</p>
<p>We would like to thank all the users who have entrusted us with their business and for all the good wishes and words of support we have gotten over social media. We promise that as we head into 2020 we will not let you down!</p>
<h1 id="conclusion---2020-and-beyond">Conclusion - 2020 and beyond</h1>
<p>Heading into the new decade, we can only be positive about the future of Rotki!</p>
<p>A lot more work will be going into the project in order to fullfill all the feature requests we have been getting. Expect a lot more coming from us and for our online presence to increase and become stronger. The userbase will also steadily keep increasing, which will allow us to perfect the software and make it the best tool for everyone by taking all of your feedback into account.</p>
<p>Stay tuned for more updates and please help us in building the best transparent financial tool that enables you to take ownership of your financial data. Ways to do that are:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a>.</li>
<li>Provide us with <a href="https://github.com/rotki/rotki/issues/new/choose">feedback</a> in the form of bug reports and feature requests.</li>
<li><a href="https://github.com/rotki/rotki">Star</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us in Twitter.</li>
<li><a href="https://rotki.com/products/">Buy</a> a premium subscription and/or <a href="https://github.com/rotki/rotki#financially">support us financially</a>.</li>
<li>Chat with us and other users of Rotki in <a href="https://t.me/rotkiportfolio">Telegram</a> or in <a href="https://discord.gg/aGCxHG7">Discord</a>.</li>
<li>Spread the word so that more people get to try and use Rotki and learn how to both manage their finances but also how to protect the privacy of their financial data.</li>
</ul>
Rotki's New Year Resolutions2019-12-13T00:00:00+00:00https://blog.rotki.com/2019/12/13/rotki-new-years-resolutions<h1 id="introduction">Introduction</h1>
<p>As 2019 draws to a close, a lot of users have been asking us when will certain features be implemented, which features are in the pipeline and generally what’s the roadmap for the future of Rotki as an application. This short post attempts to serve as a go-to answer for these questions, clarify the short-term roadmap and give some hints on what will come in the long-term future.</p>
<h1 id="short-term">Short term</h1>
<p>Very recently we have created a <a href="https://github.com/rotki/rotki/tree/develop">develop</a> branch in Rotki in order to facilitate all the big breaking changes that are coming. All PRs by default will now be done against develop and thus all big changes that need to be done will stay in that branch. Once a release is done, develop will merge to master and binaries will be published. PRs against master will be reserved for quick patch fixes that can be done independently of any breaking changes in develop.</p>
<p>The next release coming out of will be <a href="https://github.com/rotki/rotki/projects/2">v1.1.0</a> and it will contain, among other things, two major features.</p>
<h2 id="release-v110">Release v1.1.0</h2>
<h3 id="modern-ui">Modern UI</h3>
<p>The entire UI is being <a href="https://github.com/rotki/rotki/issues/354">rewritten</a> and turned from the old-school hand-made <code class="language-plaintext highlighter-rouge">CSS</code> + <code class="language-plaintext highlighter-rouge">bootstrap</code> abominaton to a proper modern framework thanks to the tireless work done by <a href="https://twitter.com/kelsos86">kelsos</a>. At the time of writing this post the work is almost done and the <a href="https://github.com/rotki/rotki/pull/371">PR</a> is about to be merged.</p>
<p>What does the average user care you may ask? By far the most important advantage of this change is that adding new UI components and thus features will become much easier. <a href="https://vuejs.org/">Vue.js</a> is a modular framework which makes it trivial to add new components or modify the looks of the UI. In short adding new features is now going to be made easier. God knows there is a lot in the pipeline that needs to be implemented!</p>
<p>Apart from that the looks of the entire app are getting modernized. All components are now more sleek and pleasing to the eye. For example here is the ethereum token selection.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post5/v105_v110.png" /></p>
<h3 id="proper-rest-api">Proper REST API</h3>
<p>The current version of Rotki uses the <a href="https://zeromq.org/">ZMQ</a> protocol in order for the front-end (UI) to communicate with the backend. The API developed for that communication was crude but what’s worse ZMQ libraries for both python and javascript are not kept up to date and are pulling very old dependencies. The ZMQ library is why rotki is stuck in an old version of electron and also why we maintain our own fork of an abandoned node project, the <a href="https://github.com/rotki/zerorpc-node-rotkehlchen">node-zerorpc</a> client.</p>
<p>The entire ZMQ messaging layer is getting rooted out and replaced by a proper <a href="https://github.com/rotki/rotki/issues/404">REST API</a>.</p>
<p>What does the average user care about this you may ask? Higher electron versions allow us to have more security in the application and take advantage of all the new electron features. Also with ZMQ no longer being a dependency, a very big and fat dependency is out and final binaries would probably be smaller in size.</p>
<p>But more importantly this opens up the way to be able to <a href="https://github.com/rotki/rotki/issues/523">run Rotki in a headless machine</a> and communicate with it only via the API. That would also enable you to <a href="https://github.com/rotki/rotki/issues/522">run rotki’s backend in a different machine than the UI</a>.</p>
<p>Finally with this change Rotki will be getting a very good, well documented and tested REST API. Users will now also be able to work with Rotki via command line interfaces. Below is a screenshot of the docs in the <a href="https://github.com/rotki/rotki/pull/526">work in progress PR</a> that implements the ZMQ to REST API switch.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post5/rotki_api_docs.png" /></p>
<h3 id="when">When?</h3>
<p>When it’s ready. Soon ™.</p>
<h2 id="other-releases-after-v110">Other releases after v1.1.0</h2>
<p>The next big feature planned after that is implementation of support for <a href="https://github.com/rotki/rotki/projects/3">Coinbase PRO</a> which should hit in the release right after v1.1.0, presumably <a href="https://github.com/rotki/rotki/projects/3">v1.2.0</a>.</p>
<p>Apart from that there is a lot of issues and feature requests in the <a href="https://github.com/rotki/rotki/issues">backlog</a> that should be handled. Priority will go to supporting new exchanges such as <a href="https://github.com/rotki/rotki/issues/436">Bitstamp</a> and generally fulfilling user’s wishes such as <a href="https://github.com/rotki/rotki/issues/473">support for staking in PoS cryptocurrencies</a>.</p>
<p>What would <strong>you</strong> like to see in the near future implemented in Rotki? Don’t be shy, join us and write up a feature request as a github issue <a href="https://github.com/rotki/rotki/issues/new/choose">here</a>.</p>
<h1 id="how-can-i-follow-the-evolution-of-the-roadmap">How can I follow the evolution of the roadmap?</h1>
<p>As an opensource application, transparency is in the core of Rotki’s ethos. As of the writing of this post our milestones are tracked by Github projects. You can see the current milestones <a href="https://github.com/rotki/rotki/projects">here</a> and inspect which features will be implemented and which bugs will be fixed in which releases.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post5/projects.png" /></p>
<p>The current milestones are:</p>
<ul>
<li><strong>Next patch release</strong>: Small issues that may pop up and need quick fixes go here. Patch releases are made if required to make quick fixes to an already existing release.</li>
<li><strong>Next minor release (currently v1.1.0)</strong>: Most of the current development always targets the next minor release. All new features that are going to be included in the next release end up going there.</li>
<li><strong>Minor release after the next (currently v1.2.0)</strong>: This is where features that are planned for development go but which we know will not be included in the next minor (feature) release.</li>
</ul>
<h1 id="long-term">Long term</h1>
<p>The long term vision for Rotki is for it to become <strong>the best</strong> portfolio management, tracking and accounting application for both crypto and traditional assets. The tool that not only <strong>enables you to manage your finances</strong> but also <strong>does this in an opensource, transparent way allowing you to own your financial data</strong> and not have them lying on a centralized server somewhere in the cloud ready to fall into the hands of malicious actors.</p>
<p>In an ideal future it would also be able to track not only one’s investments but also everyday expenses and provide insight and analytics about the entire spectrum of a user’s finances.</p>
<p>There are no specific Github issues made yet for the various things that we are thinking about the long-term future but as a general idea:</p>
<ul>
<li>Rotki should be able to track traditional assets such as stocks, bonds, real estate and so on.</li>
<li>Rotki should be able to manage a user’s daily expenses and provide insights and analytics into spending habits, savings and so on.</li>
<li>Users of Rotki should be able to track part of their expenses while on the move so a companion mobile app to Rotki desktop should be made.</li>
</ul>
<p>What else would <strong>you</strong> like to see implemented in the long run in Rotki? What would you require from an application that is supposed to be the constant and trusted companion to all your financial analysis needs?</p>
<p>Naturally all the above largely depend on how the current userbase of Rotki grows and how succesfull is the monetization of the application. Without any steady revenue stream or funding all of the above are probably really hard to accomplish.</p>
<h1 id="conclusion">Conclusion</h1>
<p>The future of Rotki is bright! There is a lot of demand in the form of feature requests, and the userbase is steadily increasing. Stay tuned for more updates and please help us in building the best transparent financial tool that enables you to take ownership of your data. Ways to do that are:</p>
<ul>
<li>Try out Rotki’s <a href="https://github.com/rotki/rotki/releases">latest release</a>.</li>
<li>Provide us with <a href="https://github.com/rotki/rotki/issues/new/choose">feedback</a> in the form of bug reports and feature requests.</li>
<li><a href="https://github.com/rotki/rotki">Star</a> our Github repo and <a href="https://twitter.com/rotkiapp">follow</a> us in Twitter.</li>
<li><a href="https://rotki.com/products/">Buy</a> a premium subscription and/or <a href="https://github.com/rotki/rotki#financially">support us financially</a>.</li>
<li>Spread the word so that more people get to try and use Rotki and learn how to both manage their finances but also how to protect the privacy of their financial data.</li>
</ul>
Why creating a new asset in an immutable ledger should not reuse an old name2019-11-19T00:00:00+00:00https://blog.rotki.com/2019/11/19/why-renaming-asset-is-misguided<h1 id="introduction">Introduction</h1>
<p>Yesterday MakerDAO <a href="https://blog.makerdao.com/multi-collateral-dai-is-live/">reached</a> a very important milestone. It introduced a new type of <code class="language-plaintext highlighter-rouge">DAI</code> stablecoin that can have multiple underlying assets used for collateral as opposed to the old <code class="language-plaintext highlighter-rouge">DAI</code> which could only be supported by collateralizing <code class="language-plaintext highlighter-rouge">ETH</code>.</p>
<p>Unfortunately at the same time they decided that they were so attached to the name <code class="language-plaintext highlighter-rouge">DAI</code> that they wanted to give the same name to the new token. And they could only do this by renaming the old token. Which is exactly what MakerDAO went with as you can see <a href="https://blog.makerdao.com/what-to-expect-with-the-launch-of-multi-collateral-dai/">here</a>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post4/maker_new_terminology.jpg" /></p>
<p>This post is going to explain in detail why from a user’s or an application’s perspective the decision to change the name is quite bluntly put <strong>idiotic</strong>. Renaming <code class="language-plaintext highlighter-rouge">DAI</code> to <code class="language-plaintext highlighter-rouge">SAI</code> has zero advantages and introduces a long list of problems as seen below.</p>
<h1 id="problems-introduced-by-renaming">Problems introduced by renaming</h1>
<p>In this section we will see a writeup of all the problems that the renaming is introducing along with a short explanation for each one.</p>
<h2 id="token-symbol">Token Symbol</h2>
<p>A contract deployed in the Ethereum blockchain is immutable. The <code class="language-plaintext highlighter-rouge">DAI</code> contract is <a href="https://etherscan.io/address/0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359#readContract">here</a>. If you try to read the <code class="language-plaintext highlighter-rouge">symbol</code> attribute it will be <code class="language-plaintext highlighter-rouge">DAI</code>. The <code class="language-plaintext highlighter-rouge">symbol</code> attribute is part of the ERC20 interface and ignoring it breaks that interface. You can not arbitrarily decide to now call the token by a different name (<code class="language-plaintext highlighter-rouge">SAI</code>) while the <code class="language-plaintext highlighter-rouge">symbol</code> of the token is <code class="language-plaintext highlighter-rouge">DAI</code>.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post4/dai_symbol.png" /></p>
<h2 id="centralized-exchanges">Centralized Exchanges</h2>
<p>Right now centralized exchanges are in a tough spot. They have to perform <code class="language-plaintext highlighter-rouge">DAI</code> to <code class="language-plaintext highlighter-rouge">MCDAI</code> upgrades for their users and then decide on how to name the new assets. If an exchange intends to keep both tokens listed then the naming becomes a problem.</p>
<p><img class="post_image_not_set_size with_border" src="/public/post4/kraken_deposit.png" /></p>
<p>In the end the problem is pushed to the users as can be seen from above. For users <code class="language-plaintext highlighter-rouge">SAI</code> is <code class="language-plaintext highlighter-rouge">DAI</code> but if as a user you attempt to deposit what you think is <code class="language-plaintext highlighter-rouge">DAI</code> to Kraken you will lose it. If that does not constitute a UX nightmare I honestly do not know what does.</p>
<h2 id="decentralized-exchanges">Decentralized Exchanges</h2>
<p>Decentralized exchanges do not have much of a choice. They do not hold the tokens for their users so they will not be able to automatically upgrade <code class="language-plaintext highlighter-rouge">DAI</code> for them. They need to offer trades in both tokens and then the naming does indeed become a problem.</p>
<h2 id="software-libraries">Software libraries</h2>
<p>Software needs to be making assumptions for some basic things. One of these assumptions that software in our field make is on the immutability of contracts and by extension the token contract symbols.</p>
<p>Software libraries that made correct assumptions in the past will now break.
As an example, one of the most used javascript libraries in crypto UI applications is <a href="https://github.com/atomiclabs/cryptocurrency-icons">cryptocurrency-icons</a>. It pulls icons for crypto assets based on the symbol name.</p>
<p>At the moment, the <code class="language-plaintext highlighter-rouge">DAI</code> symbol returns the old logo of <code class="language-plaintext highlighter-rouge">DAI</code> and the <code class="language-plaintext highlighter-rouge">SAI</code> symbol will return an error. All projects using this library (and it’s a lot) will have to update whenever a new version comes out. At the moment there is no version supporting the new naming so all projects using it are displaying the wrong icons.</p>
<h2 id="external-apis">External APIS</h2>
<p>A lot of APIs, for example price feeds such as <a href="https://www.cryptocompare.com/coins/dai/overview">cryptocompare</a> have had <code class="language-plaintext highlighter-rouge">DAI</code> listed. Now they need to update their APIs in order to point <code class="language-plaintext highlighter-rouge">DAI</code> to the price of the new multicollateral <code class="language-plaintext highlighter-rouge">DAI</code> and create a new entry for the <code class="language-plaintext highlighter-rouge">SAI</code> token which points to the old <code class="language-plaintext highlighter-rouge">DAI</code> price. And that is hoping that there is no other cryptocurrency with the <code class="language-plaintext highlighter-rouge">SAI</code> symbol. I am pretty sure not every one of these price feeds will follow the new naming and then end-user applications will have to maintain converters between different price feeds using different symbols. It’s a mess.</p>
<h2 id="end-user-applications">End user applications</h2>
<p>Every single end-user application that deals with crypto and <code class="language-plaintext highlighter-rouge">DAI</code> has to adjust. As an example we can take Rotki. If we go with renaming <code class="language-plaintext highlighter-rouge">DAI</code> to <code class="language-plaintext highlighter-rouge">SAI</code> we have to create a new release that will upgrade the user’s databases renaming the assets and rewritting history. If we do not we will confuse our users.</p>
<h1 id="what-is-the-solution">What is the solution?</h1>
<p>At this point nothing can be done. The renaming has to go through since it has already started. But due to all the reasons outlined above it was a terrible decision.</p>
<p>The proper solution would have been a very simple one. <code class="language-plaintext highlighter-rouge">DAI</code> stays as <code class="language-plaintext highlighter-rouge">DAI</code> and is the symbol of the single collateral <code class="language-plaintext highlighter-rouge">DAI</code>. And then the new multi-collateral token is called <code class="language-plaintext highlighter-rouge">MCDAI</code> or well … anything other than the same name as the previous token.</p>
<h1 id="conclusion">Conclusion</h1>
<p>Despite all the problems with the renaming the achievement of having a multicollateral <code class="language-plaintext highlighter-rouge">DAI</code> is something to be proud of.</p>
<p>All of the above problems in isolation do not sound really bad but if you sum them all up it ends up as a nightmare for all actors involved. It’s a mess for application developers, a mess for users and a mess for service providers. And all of these could have been avoided by simply doing the obvious thing and providing a <strong>new</strong> name for a <strong>new</strong> token!</p>
<p>For Rotki a blog post will follow explaining how we will handle the switch from <code class="language-plaintext highlighter-rouge">SAI</code> to <code class="language-plaintext highlighter-rouge">DAI</code> and how it will be reflected in the databases of our users. If you liked this post and have not tried Rotki yet you can get the latest release from <a href="https://github.com/rotki/rotki/releases">here</a>. By using Rotki you can take ownership of your financial data! Please try it out and provide us with feedback so that the software can improve.</p>
Rebranding to Rotki2019-11-14T00:00:00+00:00https://blog.rotki.com/2019/11/14/rotki-rebranding<h1 id="why-rebrand">Why rebrand?</h1>
<p>Since launching v1.0 of the Rotkehlchen application a common theme on feedback was that it’s a nice app with a definitive use case but people simply can not spell and much less pronounce the name.</p>
<p>No matter the attachment to the name rebranding becomes very important when people can not write down the name of the project to recommend it to their friends or can not even google it successfuly. Projects like Rotki live and die from word of mouth so everything that can be done to facilitate it should be done.</p>
<p>To that end as of right now the project name has been rebranded to Rotki.</p>
<h1 id="what-has-changed">What has changed?</h1>
<ul>
<li>The github repo has been moved from <code class="language-plaintext highlighter-rouge">rotkehlchenio/rotkehlchen</code> to <a href="https://github.com/rotki/rotki">https://github.com/rotki/rotki</a>.</li>
<li>We got a new domain name and the entire website can now be found at <a href="https://rotki.com/">rotki.com</a>. Same applies for the blog and the api under the equivalent subdomains.</li>
<li>All <code class="language-plaintext highlighter-rouge">@rotkehlchen.io</code> emails now have <code class="language-plaintext highlighter-rouge">@rotki.com</code> equivalents.</li>
<li>The twitter handle was renamed from <code class="language-plaintext highlighter-rouge">rotkehlchenio</code> to <a href="https://twitter.com/rotkiapp">rotkiapp</a></li>
<li>The documentation was moved to <a href="https://rotki.readthedocs.io/en/latest/">https://rotki.readthedocs.io/en/latest/</a>.</li>
<li>We now own the <a href="https://twitter.com/LefterisJP/status/1194273848994254848">rotki.eth</a> ethereum ENS name and it points to the ethereum donation address for the project.</li>
</ul>
<p>The old rotkehlchen.io domain name is still ours and will keep working for at least 1 more year.</p>
<h1 id="thank-you">Thank you</h1>
<p>Thank you for your continued support! It is only through feedback from our users that Rotki can become a better tool that will enable you to take ownership of your financial data.</p>
<p>If you see any remaining places where the name needs to be changed just let us know via Twitter and we will get to it.</p>
<p>If you haven’t done so yet please download the <a href="https://github.com/rotki/rotki/releases">latest Release</a> for your OS, try Rotki out and give us feedback on what you would like to see improved.</p>
Dealing with ambiguity in token symbols2019-09-01T00:00:00+00:00https://blog.rotki.com/2019/09/01/crypto-assets-database<h1 id="introduction">Introduction</h1>
<p><img class="post_image with_border" src="/public/post2/whatis_acc.png" /></p>
<p>This post tries to explain why Rotki’s approach to dealing with ambiguity in crypto assets is needed and why other approaches are error prone and most probably lead to broken results.</p>
<p>We will see what Rotki does in detail and what challenges exist when interfacing with multiple exchanges and other external services.</p>
<h1 id="understanding-the-problem">Understanding The Problem</h1>
<p>The best way to understand the problem is by example. Take the cryptoasset with the symbol <code class="language-plaintext highlighter-rouge">KEY</code>. Most of our competitors would simply see you have a <code class="language-plaintext highlighter-rouge">KEY</code> balance and query for its price at any given moment from a website such as <a href="https://www.cryptocompare.com/">cryptocompare.com</a>.</p>
<p>The problem is that as of the writing of this post three different tokens exist that use that symbol.</p>
<ul>
<li><a href="https://coinmarketcap.com/currencies/selfkey/">SelfKey</a></li>
<li><a href="https://coinmarketcap.com/currencies/key/">Bihu Key</a></li>
<li><a href="https://coinmarketcap.com/currencies/keycoin/">KeyCoin</a></li>
</ul>
<p>To make matters worse, price aggregator websites such as cryptocompare and coinpaprika have different representations.</p>
<p>For example:</p>
<ul>
<li>SelfKey is known as <a href="https://www.cryptocompare.com/coins/key/overview">KEY</a> in cryptocompare</li>
<li>Bihu Key is known as <a href="https://www.cryptocompare.com/coins/bihu/overview">BIHU</a> cryptocompare</li>
<li>
<p>KeyCoin is known as <a href="https://www.cryptocompare.com/coins/keyc/overview">KEYC</a> in cryptocompare</p>
</li>
<li>SelfKey is known as <a href="https://api.coinpaprika.com/v1/coins/key-selfkey">key-selfkey</a> in coinpaprika</li>
<li>BihuKey is known as <a href="https://api.coinpaprika.com/v1/coins/key-key">key-key</a> in coinpaprika</li>
<li>KeyCoin is not known in coinpaprika</li>
</ul>
<p>Add different representations for each symbol in different exchanges in the mix and then the whole situations gets even more entangled as we can see with <code class="language-plaintext highlighter-rouge">ETHOS</code> and <code class="language-plaintext highlighter-rouge">BQX</code> below.</p>
<p><img class="post_image with_border" src="/public/post2/ethos_or_bqx.png" /></p>
<p>Do you believe that competitor webapps take all these different situations into account? Want a bet? Let’s go and check their implementation … oh wait … we can’t. Not only do they need you to upload all your data to them but their sourcecode is not open and thus you can’t audit their calculations.</p>
<p>Your SelfKey could be priced as Keycoin or viceversa, or worse bail out since it can’t find a price and not consider it in any profit/loss calculations.</p>
<h1 id="solving-the-problem">Solving the Problem</h1>
<p>The only way to handle this problem is by maintaing a database of all assets that are supported. Rotki does this by maintaining the <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/master/rotkehlchen/data/all_assets.json">all_assets.json</a> file.</p>
<p>What are the rules for an asset to get listed? Rather simple actually:</p>
<ol>
<li>If a user asks for an asset it will be added as long as a price for it exists in a supported price aggregator website (for the moment either in coinpaprika or cryptocompare).</li>
<li>If it’s listed in any of the supported exchanges.</li>
<li>In both of the above cases historical prices need to also be discoverable in a price aggregator website. The lack of price discovery is for example why the <a href="https://github.com/rotkehlchenio/rotkehlchen/pull/476">STL token PR</a> is blocked as of the time of writing this post.</li>
</ol>
<p>For assets with identical symbols like <code class="language-plaintext highlighter-rouge">KEY</code> we end up with the following in <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/master/rotkehlchen/data/all_assets.json#L4702">assets.json</a></p>
<figure class="highlight"><pre><code class="language-json" data-lang="json"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre><span class="nl">"KEY"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"ethereum_address"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0x4CC19356f2D37338b9802aa8E8fc58B0373296E7"</span><span class="p">,</span><span class="w">
</span><span class="nl">"ethereum_token_decimals"</span><span class="p">:</span><span class="w"> </span><span class="mi">18</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Selfkey"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1508803200</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ethereum token"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span><span class="w">
</span><span class="nl">"KEY-2"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"ethereum_address"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0x4Cd988AfBad37289BAAf53C13e98E2BD46aAEa8c"</span><span class="p">,</span><span class="w">
</span><span class="nl">"ethereum_token_decimals"</span><span class="p">:</span><span class="w"> </span><span class="mi">18</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Bihu KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1507822985</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ethereum token"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span><span class="w">
</span><span class="nl">"KEY-3"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"active"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
</span><span class="nl">"ended"</span><span class="p">:</span><span class="w"> </span><span class="mi">1452038400</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KeyCoin"</span><span class="p">,</span><span class="w">
</span><span class="nl">"started"</span><span class="p">:</span><span class="w"> </span><span class="mi">1405382400</span><span class="p">,</span><span class="w">
</span><span class="nl">"symbol"</span><span class="p">:</span><span class="w"> </span><span class="s2">"KEY"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"own chain"</span><span class="w">
</span><span class="p">}</span><span class="err">,</span>
</pre></td></tr></tbody></table></code></pre></figure>
<h2 id="asset-entry">Asset Entry</h2>
<p>All entries are comprised of a unique asset identifier, which is the key in the above JSON object. The identifier is always the symbol of the asset, and if an asset with the same symbol already exists then the identifier get a number prefix as seen above.</p>
<p>The rest of the attributes will be explored below. The attributes of an asset may change in future iterations of Rotki but as of v1.0.3 it’s the following:</p>
<h3 id="name">name</h3>
<p>This is a required attribute. It’s the name by which the asset is commonly known.</p>
<h3 id="symbol">symbol</h3>
<p>This is a required attribute. It’s the symbol the asset has. This is not guaranteed to be unique across all the supported assets as is also made clear by the <code class="language-plaintext highlighter-rouge">KEY</code> token example.</p>
<h3 id="type">type</h3>
<p>This is a required attribute. It’s the type of asset this is. Determines if it’s a blockchain asset and if yes on which chain it is. Valid values as of writing this post can be seen <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/07e014fe6121a92608638ef517350d03aaa78f34/rotkehlchen/assets/resolver.py#L7">here</a>:</p>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre><span class="n">asset_type_mapping</span> <span class="o">=</span> <span class="p">{</span>
<span class="s">'fiat'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">FIAT</span><span class="p">,</span>
<span class="s">'own chain'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">OWN_CHAIN</span><span class="p">,</span>
<span class="s">'ethereum token and own chain'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">OWN_CHAIN</span><span class="p">,</span>
<span class="s">'ethereum token and more'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">ETH_TOKEN_AND_MORE</span><span class="p">,</span>
<span class="s">'ethereum token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">ETH_TOKEN</span><span class="p">,</span>
<span class="s">'omni token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">OMNI_TOKEN</span><span class="p">,</span>
<span class="s">'neo token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">NEO_TOKEN</span><span class="p">,</span>
<span class="s">'counterparty token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">XCP_TOKEN</span><span class="p">,</span>
<span class="s">'bitshares token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">BTS_TOKEN</span><span class="p">,</span>
<span class="s">'ardor token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">ARDOR_TOKEN</span><span class="p">,</span>
<span class="s">'nxt token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">NXT_TOKEN</span><span class="p">,</span>
<span class="s">'Ubiq token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">UBIQ_TOKEN</span><span class="p">,</span>
<span class="s">'Nubits token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">NUBITS_TOKEN</span><span class="p">,</span>
<span class="s">'Burst token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">BURST_TOKEN</span><span class="p">,</span>
<span class="s">'waves token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">WAVES_TOKEN</span><span class="p">,</span>
<span class="s">'qtum token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">QTUM_TOKEN</span><span class="p">,</span>
<span class="s">'stellar token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">STELLAR_TOKEN</span><span class="p">,</span>
<span class="s">'tron token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">TRON_TOKEN</span><span class="p">,</span>
<span class="s">'ontology token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">ONTOLOGY_TOKEN</span><span class="p">,</span>
<span class="s">'exchange specific'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">EXCHANGE_SPECIFIC</span><span class="p">,</span>
<span class="s">'vechain token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">VECHAIN_TOKEN</span><span class="p">,</span>
<span class="s">'binance token'</span><span class="p">:</span> <span class="n">AssetType</span><span class="p">.</span><span class="n">BINANCE_TOKEN</span><span class="p">,</span>
<span class="p">}</span>
</pre></td></tr></tbody></table></code></pre></figure>
<h3 id="active">active</h3>
<p>The active attribute is optional. If missing, a <code class="language-plaintext highlighter-rouge">true</code> value is implied. It signifies if the asset is actively traded in any exchange and has a price.</p>
<h3 id="ended">ended</h3>
<p>This is an optional attribute but is required if an asset is not active. If an asset is not active this attribute signifies the timestamp at which all trading (and thus price) ceased for the asset.</p>
<h3 id="ethereum_address">ethereum_address</h3>
<p>If the type of the asset is <code class="language-plaintext highlighter-rouge">ethereum_token</code> or related then it should also contain this entry. This entry contains the EIP55 encoded address of the token’s contract address in the main ethereum chain.</p>
<h3 id="ethereum_token_decimals">ethereum_token_decimals</h3>
<p>Just like the previous entry if the asset is an ethereum token we also need to know its decimals in order to know how to display it to the user.</p>
<h3 id="forked">forked</h3>
<p>This is an optional attribute. If the asset is a fork of another asset then the originating asset before the fork should be shown here.</p>
<p>For example <code class="language-plaintext highlighter-rouge">BCH</code> has the <code class="language-plaintext highlighter-rouge">BTC</code> forked attribute since it’s a fork off Bitcoin.</p>
<h3 id="swapped_for">swapped_for</h3>
<p>This is an optional attribute. If the asset ceased to exist but was swapped for another asset then this attribute points to the new asset.</p>
<p>For example <code class="language-plaintext highlighter-rouge">SCJX</code> was a counterparty token which got swapped for the <code class="language-plaintext highlighter-rouge">STORJ</code> ethereum token.</p>
<h2 id="conversions">Conversions</h2>
<p>With our list of assets at hand we need to be able to interact with other websites such as price aggregators or exchanges. The idea is that we maintain the Rotki database of assets which is our local “truth”. And when serializing our assets to communicate with another website or deserializing the assets we read from a website we need converters.</p>
<p>This is where the <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/07e014fe6121a92608638ef517350d03aaa78f34/rotkehlchen/assets/converters.py">assets/converters.py</a> module comes in.</p>
<p>For all incoming assets we convert to the Rotki format when necessary:</p>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
</pre></td><td class="code"><pre><span class="k">def</span> <span class="nf">asset_from_kraken</span><span class="p">(</span><span class="n">kraken_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-></span> <span class="n">Asset</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">kraken_name</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="k">raise</span> <span class="n">DeserializationError</span><span class="p">(</span><span class="sa">f</span><span class="s">'Got non-string type </span><span class="si">{</span><span class="nb">type</span><span class="p">(</span><span class="n">kraken_name</span><span class="p">)</span><span class="si">}</span><span class="s"> for kraken asset'</span><span class="p">)</span>
<span class="n">name</span> <span class="o">=</span> <span class="n">KRAKEN_TO_WORLD</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">kraken_name</span><span class="p">,</span> <span class="n">kraken_name</span><span class="p">)</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">name</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">asset_from_cryptocompare</span><span class="p">(</span><span class="n">cc_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-></span> <span class="n">Asset</span><span class="p">:</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">CRYPTOCOMPARE_TO_WORLD</span><span class="p">[</span><span class="n">cc_name</span><span class="p">])</span>
<span class="k">def</span> <span class="nf">asset_from_poloniex</span><span class="p">(</span><span class="n">poloniex_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-></span> <span class="n">Asset</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">poloniex_name</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="k">raise</span> <span class="n">DeserializationError</span><span class="p">(</span><span class="sa">f</span><span class="s">'Got non-string type </span><span class="si">{</span><span class="nb">type</span><span class="p">(</span><span class="n">poloniex_name</span><span class="p">)</span><span class="si">}</span><span class="s"> for poloniex asset'</span><span class="p">)</span>
<span class="k">if</span> <span class="n">poloniex_name</span> <span class="ow">in</span> <span class="n">UNSUPPORTED_POLONIEX_ASSETS</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">UnsupportedAsset</span><span class="p">(</span><span class="n">poloniex_name</span><span class="p">)</span>
<span class="n">our_name</span> <span class="o">=</span> <span class="n">POLONIEX_TO_WORLD</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">poloniex_name</span><span class="p">,</span> <span class="n">poloniex_name</span><span class="p">)</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">our_name</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">asset_from_bittrex</span><span class="p">(</span><span class="n">bittrex_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-></span> <span class="n">Asset</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">bittrex_name</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="k">raise</span> <span class="n">DeserializationError</span><span class="p">(</span><span class="sa">f</span><span class="s">'Got non-string type </span><span class="si">{</span><span class="nb">type</span><span class="p">(</span><span class="n">bittrex_name</span><span class="p">)</span><span class="si">}</span><span class="s"> for bittrex asset'</span><span class="p">)</span>
<span class="k">if</span> <span class="n">bittrex_name</span> <span class="ow">in</span> <span class="n">UNSUPPORTED_BITTREX_ASSETS</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">UnsupportedAsset</span><span class="p">(</span><span class="n">bittrex_name</span><span class="p">)</span>
<span class="n">name</span> <span class="o">=</span> <span class="n">BITTREX_TO_WORLD</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">bittrex_name</span><span class="p">,</span> <span class="n">bittrex_name</span><span class="p">)</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">name</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">asset_from_binance</span><span class="p">(</span><span class="n">binance_name</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-></span> <span class="n">Asset</span><span class="p">:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">binance_name</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span>
<span class="k">raise</span> <span class="n">DeserializationError</span><span class="p">(</span><span class="sa">f</span><span class="s">'Got non-string type </span><span class="si">{</span><span class="nb">type</span><span class="p">(</span><span class="n">binance_name</span><span class="p">)</span><span class="si">}</span><span class="s"> for binance asset'</span><span class="p">)</span>
<span class="k">if</span> <span class="n">binance_name</span> <span class="ow">in</span> <span class="n">UNSUPPORTED_BINANCE_ASSETS</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">UnsupportedAsset</span><span class="p">(</span><span class="n">binance_name</span><span class="p">)</span>
<span class="k">if</span> <span class="n">binance_name</span> <span class="ow">in</span> <span class="n">RENAMED_BINANCE_ASSETS</span><span class="p">:</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">RENAMED_BINANCE_ASSETS</span><span class="p">[</span><span class="n">binance_name</span><span class="p">])</span>
<span class="n">name</span> <span class="o">=</span> <span class="n">BINANCE_TO_WORLD</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">binance_name</span><span class="p">,</span> <span class="n">binance_name</span><span class="p">)</span>
<span class="k">return</span> <span class="n">Asset</span><span class="p">(</span><span class="n">name</span><span class="p">)</span>
</pre></td></tr></tbody></table></code></pre></figure>
<p>and the <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/07e014fe6121a92608638ef517350d03aaa78f34/rotkehlchen/assets/asset.py#L167">asset.py</a> module itself has code to export from the Rotki format to all websites that need conversions:</p>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code"><pre><span class="k">def</span> <span class="nf">to_kraken</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-></span> <span class="nb">str</span><span class="p">:</span>
<span class="k">return</span> <span class="n">WORLD_TO_KRAKEN</span><span class="p">[</span><span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">]</span>
<span class="k">def</span> <span class="nf">to_bittrex</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-></span> <span class="nb">str</span><span class="p">:</span>
<span class="k">return</span> <span class="n">WORLD_TO_BITTREX</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">,</span> <span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">to_binance</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-></span> <span class="nb">str</span><span class="p">:</span>
<span class="k">return</span> <span class="n">WORLD_TO_BINANCE</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">,</span> <span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">)</span>
<span class="k">def</span> <span class="nf">to_cryptocompare</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-></span> <span class="nb">str</span><span class="p">:</span>
<span class="n">cryptocompare_str</span> <span class="o">=</span> <span class="n">WORLD_TO_CRYPTOCOMPARE</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">,</span> <span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="p">)</span>
<span class="c1"># There is an asset which should not be queried in cryptocompare
</span> <span class="k">if</span> <span class="n">cryptocompare_str</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span>
<span class="k">if</span> <span class="bp">self</span><span class="p">.</span><span class="n">identifier</span> <span class="o">==</span> <span class="s">'MRS'</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">UnsupportedAsset</span><span class="p">(</span>
<span class="s">'Marginless is not in cryptocompare. Asking for MRS '</span>
<span class="s">'will return MARScoin'</span><span class="p">,</span>
<span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="nb">RuntimeError</span><span class="p">(</span>
<span class="sa">f</span><span class="s">'Got </span><span class="si">{</span><span class="bp">self</span><span class="p">.</span><span class="n">identifier</span><span class="si">}</span><span class="s"> as a cryptocompare query but it is '</span>
<span class="sa">f</span><span class="s">'documented as returning None and is not handled'</span><span class="p">,</span>
<span class="p">)</span>
<span class="k">return</span> <span class="n">cryptocompare_str</span>
</pre></td></tr></tbody></table></code></pre></figure>
<p>Whenever a new asset is added and a conversion needs to be included then it is appropriately plugged into any of the above modules.</p>
<h1 id="how-to-keep-this-all-up-to-date">How to keep this all up to date?</h1>
<p>There are two ways to keep all these mappings and the asset database up to date:</p>
<ol>
<li>
<p>Automated CI testing. We have tests for every exchange (for example here is <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/master/rotkehlchen/tests/test_binance.py#L195">binance</a>) which will warn us when an exchange adds or changes something.</p>
</li>
<li>
<p>Our users will be warned when they are trying to interact with something that is not supported or when something breaks and as such are incentivized to <a href="https://github.com/rotkehlchenio/rotkehlchen/issues/new">open issues</a> at the Rotki repo.</p>
</li>
</ol>
<h1 id="why-not-use-other-asset-databases">Why not use other asset databases?</h1>
<p>The reason is simple. That would be adding yet another conversion for us to maintain. For a project like Rotki, where certainty for what each symbol means needs to exist the only way to go is to have our own database as most of the currently known token databases out there are either ethereum specific or incomplete.</p>
<p>The only thing that could work is a standardized database of all crypto assets maintained by multiple different entities.</p>
<p><a href="https://itsa.global/data/">ITSA</a> is trying to do something similar, but the entire dataset seems to be for “members only” and the way they operate seems to be non-transparent. We believe that any such standardization effort should be open-source and use collaborative tools such as Github.</p>
<p>It would be really neat to see people collaborate on Github in the Rotki database of assets and conversions. If that happens, perhaps it can become a standard that other projects can also use.</p>
<h1 id="conclusions">Conclusions</h1>
<p>Working with multiple tokens across different websites is a hard problem. The Rotki approach took a lot of work to build but now that it’s there maintaining it is not that hard. Our database is <a href="https://github.com/rotkehlchenio/rotkehlchen/blob/master/rotkehlchen/data/all_assets.json">open for everyone</a> to use and contribute. If you want to edit information on a token or add a new one simply open a <a href="https://github.com/rotkehlchenio/rotkehlchen/compare">pull request</a>.</p>
<p>Finally remember that Rotki is opensource and self-funded software. If you appreciate what we are doing please consider <a href="https://rotkehlchen.io/products/">purchasing a premium subscription</a> in order to help us keep developing and also enjoy premium only features such as analytics and priority support and feature requests.</p>
Rotki's Values and Vision2019-08-03T00:00:00+00:00https://blog.rotki.com/2019/08/03/rotkehlchen-value-vision<h1 id="introduction">Introduction</h1>
<p>In this post we are going to see what Rotki is, what is it trying to solve, what is the value proposition of the application compared to competitors, the values we stand for, our vision for the future and more.</p>
<h1 id="our-values">Our values</h1>
<p>The casual reader may think: “Okay so what the heck am I here for? I see a hard to pronounce German name and a cute bird picture.”</p>
<p>Read on to see what is the problem we are trying to solve, how we do that and what our value proposition is.</p>
<h2 id="what-is-the-problem">What is the Problem?</h2>
<p>Does the following situation sound familiar?</p>
<p>You have bought a few different cryptocurrencies, traded a bit, even bought something with your cryptocurrencies and now you are at a loss with what you have and where. In which account was <code class="language-plaintext highlighter-rouge">Token X</code>, did you deposit <code class="language-plaintext highlighter-rouge">Token Y</code> to <code class="language-plaintext highlighter-rouge">Exchange Z</code> and so on.</p>
<p>Also if you ever wanted an overview of the performance of your portfolio you have no idea how to even begin to calculate your profit/loss. What about taxes? How can you take into account all the different rules your jurisdiction imposes?</p>
<h2 id="how-does-rotki-help">How does Rotki help?</h2>
<p>This is where Rotki comes in.</p>
<p>It allows tracking of all your crypto assets, no matter if they are located on a blockchain account or on an exchange. It gives you an overview of all assets you own as well as provides you with the ability to analyze your transaction history in exchanges thus enabling calculation of profit/loss over a time period.</p>
<p><img class="post_image" src="/public/post1/rk-screenshot-1.png" /></p>
<p>With a <a href="#rotkehlchen-premium">premium</a> subscription it also provides very nice visualizations of the above in easy to read graphs such as the one below showcasing a test user’s total USD value in BTC and their total BTC amount graphed over time.</p>
<p><img class="post_image" src="/public/post1/graph1.jpeg" /></p>
<p>Our test user sold when BTC price was high to rebalance his portfolio and bought again when it was low according to the graph.</p>
<p>You can also customize the profit/loss calculation to adjust it to the requirements of your jurisdiction and get a detailed report which can be exported in CSV and handed over to your accountant.</p>
<p><img class="post_image" src="/public/post1/rk-screenshot-2.png" /></p>
<h2 id="rotkis-value-proposition">Rotki’s value proposition</h2>
<p>Okay so what? There are many other applications which offer similar services. cointracking.info cryptotax.de to name just a few.</p>
<p>It’s true. We are surrounded by coin tracking applications. We see a new one pop up every day. But they all share the same common flaw. They are <strong>centralized online</strong> applications onto which you have to <strong>relinquish all your data</strong>.</p>
<p>Arguably there is few data more important than the entire history of your financial transactions. And to simply hand it over to a centralized closed-source service is unthinkable! Especially for people who are prominent defendants of privacy and decentralization as most crypto users are.</p>
<p>Using any of the above applications is dangerous to you and to your financial privacy. Avoid them like the plague!</p>
<p>Here in Rotki we won’t have any of that and this is the strongest point in our value proposition:</p>
<ul>
<li>
<p>Rotki is a <strong>local</strong> application available in all major Operating systems. You don’t need to send your data anywhere and worry about their eventual misusage. They are all local to your system.</p>
</li>
<li>
<p>Rotki is <strong>opensource</strong>. You don’t need to wonder what it does with your data, how it calculates what it does or even believe us at all. Just go to the <a href="https://github.com/rotki/rotki">source</a> and verify that what we are saying here is true.</p>
</li>
<li>
<p>Rotki keeps all data <strong>encrypted</strong> locally. Your data is yours and encrypted locally with a password of your choice when you make your account.</p>
</li>
<li>
<p>Rotki is <strong>transparent</strong> and <strong>auditable</strong>. Since everything is open you will never have to question why something has been calculated as it is and neither will your accountant or your tax authority or whomever you choose to share your data with.</p>
</li>
</ul>
<h1 id="our-vision">Our Vision</h1>
<p>Our vision for tracking, accounting and analytics of finance is one of transparency, openness and empowering of the individual. The development of Rotki and our roadmap reflects those values. We want to enable you to <strong>take ownership of your financial data</strong>.</p>
<h2 id="planned-features">Planned Features</h2>
<p>This is a rough outline of some of the features we have planned for Rotki both in the near but also long-term future.</p>
<h3 id="tighter-integration-with-defi">Tighter integration with DeFi</h3>
<p>A very hot topic in Ethereum these days is Decentralized Finance (DeFi). From lending protocols, decentralized exchanges, derivatives there is a lot of ways to get involved.</p>
<p>It is our goal to slowly but steadily integrate Rotki with as much of the DeFi ecosystem as possible so that you can track, analyze and interact with it through the privacy of Rotki’s local application.</p>
<h3 id="frontend-rewrite-in-vuejs">Frontend rewrite in Vue.js</h3>
<p>As seen <a href="https://github.com/rotki/rotki/issues/354">here</a> the frontend of the application will be rewritten in Vue.js. This will allow for prettier and more usable frontend and also better maintanability of the frontend code.</p>
<h3 id="track-other-financial-assets">Track other financial assets</h3>
<p>Rotki started as a crypto asset tracking and analytics application. But some of our users have also asked for the ability to track other more traditional assets such as stocks, real estate … even so far down as tracking every day expenses.</p>
<p>We would like to cater to most people’s needs and as such will slowly roll out support for extra assets as long as time and resources allow.</p>
<h3 id="android-companion-application">Android companion application</h3>
<p>The need to check a portfolio on the-go or to add and track expenses arises pretty often. At the moment as a user you would have to wait until you get to your computer to open the Rotki application.</p>
<p>In order to solve this problem we would like to, in the long term, offer an android companion application that will allow tracking of every day expenses, monitoring of all your crypto assets and syncing with the main application.</p>
<h3 id="integrating-with-more-exchanges">Integrating with more Exchanges</h3>
<p>There are so many exchanges out there that it’s hard to integrate with all of them. Each integration requires quite a bit of coding time in order to make sure that the API is integrated properly and that all assets offered by the exchange are supported.</p>
<p>We want to support as many exchanges as possible and so far <a href="https://github.com/rotki/rotki/issues?q=is%3Aissue+is%3Aopen+label%3A%22Exchange+Addition+Request%22">these</a> are the exchange support requests we have gotten.</p>
<p><img class="post_image" src="/public/post1/exchange_support_requests.png" /></p>
<p>We will prioritize on what most users need, judged by the number of thumbs up in each issue. If you would like to see Rotki support an exchange please put a thumbs up on the respective issue or create a new one if no issue exists for the exchange you would like to see supported.</p>
<h3 id="multiple-cryptocurrency-price-sources">Multiple cryptocurrency price sources.</h3>
<p>At the moment we are solely relying on <a href="https://www.cryptocompare.com/">cryptocompare</a> for cryptocurrency historical price data. They are by far the most advanced data provider out there but fallbacks are needed.</p>
<p>As can be seen by <a href="https://github.com/rotki/rotki/issues/224">this</a> issue we will integrate other data providers such as <a href="https://coinpaprika.com/">coin paprika</a> and no longer rely on a single soure for price data.</p>
<h2 id="what-features-do-you-need">What features do you need?</h2>
<p>If there is something else that you would like to see added to Rotki please visit our <a href="https://github.com/rotki/rotki/issues">issue tracker</a> and open a feature request.</p>
<p>We want to build an application that you will find useful. Help us make Rotki an application you would love to use on a daily basis.</p>
<h1 id="supporting-us">Supporting us</h1>
<p>The vision of data ownership and transparency in accounting is something we strongly believe in. That is the reason we are an opensource local application, so that we can enable you to take ownership of your data and that you can transparently see what is being calculated and how.</p>
<h2 id="rotki-premium">Rotki Premium</h2>
<p>Funding an opensource project is not an easy task. Our approach to funding and to at the same time maintaining our values is to offer a premium subscription on top of the normal Rotki experience.</p>
<p>With a premium subscription you get statistics, graphs and analytics, data sync between devices and more. For more information and to also purchase a premium subscription go <a href="https://rotkehlchen.io/products/">here</a>.</p>
<p>By purchasing a premium Rotki subscription not only do you get to enjoy extra features but you are funding opensource without the use of any middlemen! We accept both fiat and crypto currencies.</p>
<p>Please help us develop Rotki and protect your financial privacy.</p>
<h2 id="donations">Donations</h2>
<p>If for some reason you don’t want to purchase a premium subscription but would still like to support us we accept cryptocurrency donations in ETH and BTC at the addresses seen <a href="https://github.com/rotki/rotki#donations">here</a>.</p>
<h2 id="tipping-on-brave-browser">Tipping on Brave Browser</h2>
<p>If you are using brave you can tip us with BAT both at our <a href="http://rotkehlchen.io">website</a> and our <a href="https://twitter.com/rotkiapp">twitter</a>. For more information on brave tipping check the <a href="https://support.brave.com/hc/en-us/articles/360021123971-How-do-I-tip-websites-and-Content-Creators-in-Brave-Rewards-">documentation</a>.</p>
<h1 id="conclusion">Conclusion</h1>
<p><strong>Do not</strong> fall for all those centralized cointracking services that devour of your financial data and also have a rather steep price tag. <strong>Take ownership of your financial data</strong> today by using Rotki.</p>
<ul>
<li>Get the latest version <a href="https://github.com/rotki/rotki/releases">here</a></li>
<li>For information on usage and installation check out our <a href="https://rotki.readthedocs.io/en/latest/">documentation</a>.</li>
<li>Read our code on <a href="https://github.com/rotki/rotki">Github</a></li>
<li>For updates follow us on twitter:
<ul>
<li><a href="https://twitter.com/rotkiapp">rotki</a></li>
<li><a href="https://twitter.com/lefterisjp">lefterisjp</a></li>
</ul>
</li>
</ul>