DarkFi: Anonymous Engineering for Dank Net Markets - Amir Taaki
ETHBarcelona 2022 · 28 Jul 2022 · 22:20
Amir Taaki presents DarkFi and what the team calls anonymous engineering: assembling cryptographic primitives such as zero-knowledge proofs into anonymous applications. He sets out the project's philosophy, reacts to new European regulation, and demonstrates a zk compiler and examples including anonymous voting, swaps, DAOs and staking, plus a peer-to-peer chat built to avoid centralized platforms.
Speakers
Topics
From ETHBarcelona 2022, hosted by ETH Barcelona.
Transcript
now um you have to prepare for your ears for the ride of the day i welcome the stage amir taki and uh he doesn't need introduction especially that i promised him that i'll give him lots of time to really capitalize on everything he has to say welcome amin oh my speech can i have my slides okay um i'm going to talk about darkfy which is a new
layer 1 which is specially built for anonymous smart contracts um and uh it's has its own virtual machine which is specially built for programming anonymous applications everybody and while i've been here i've been hearing a lot of people speaking about this new legislation that just came out in europe which effectively makes uh defy heavily restricted or banned but you know darkfight doesn't care it makes us stronger because we are unstoppable and completely anonymous in
the paradigm we're creating we want to liberate the free democratic society and we are opposed to the state and the pedophiles and the reptiles that are all inside of them [Applause] uh i need my notes actually forgot about that i need my phone with the elder uh yeah i forgot about that sorry
uh so me get this sorry one sec okay so oh yes so let's go to here so in ancient egypt they had this uh the god of the moon which is thoth and he was the god of uh wisdom writing hieroglyphs science magic art and judgment and in egypt they had a man god and a woman god they're governed together which reflected their society and the feminine counterpart of thoth
was sesha who was the god of uh accounting architecture astronomy uh astrology building mathematics and surveying and um thoth was the moon god the in the age of the dark uh or in in the night time he would illuminate the path for the night walkers the people that would walk uh at night and um in comparison um you know uh some gods uh are you like it says here the sun gods uh usually represent uh power and strength
the sun this hot static object in the sky uh usually rep is a symbol of authority and and power and also monotheism is is deeply connected with sun worship uh the the abrahamic god he come he came from the sun god elohim and the war god yahweh and also the son also represent in the cycle of history you know when we go when civilization is ascendant the it represents that age for example the renaissance the dawning of the sun and um
and and in particular the sun um is the sun as a symbol it illuminates everything and and so that's why as well it's it's connected with the idea of surveillance like the desert is an area that lacks all distinction like everything is completely visible which is the tendency of of of power and system of state um and hence and it's kind of interesting now the ethereum as a culture which has been trying to make overtures to regulators attaches itself to this symbolism and we see that for example with a lot of the focus on public goods funding and identity systems which a lot of these systems like
universal basic income they can only work if we have total complete monitoring and surveillance of all of society so you know example of some sun gods you know in egypt they had ra which was the god of the gods you know the god of the order and all the other kings of the sky the aztecs you know the uh he was a this is a god of of war and utsu which is all the civilization the western civilization come from ancient mesopotamia and ancient sumeria and utu or shamash which was the god of the sun was also the god of justice he was basically a police god he was like he policed everyone
and um you know right now we're we're at the dawning of western civilization they're phasing out uh we are essentially between two epochs a dying sensei culture of of over yesterday that was magnificent and the coming ideational idealistic culture of a tomorrow that will be creative and the rays of sun they still illuminate the glory of this passing epoch but the light itself is fading and in the deepening shadows it becomes more and more difficult to see clearly in the confusion of the twilight
and the night of the transitory period stands before us with all of its nightmares shadows and horrors but beyond it is the dawn of a great culture that is waiting to greet the people of the future and the moon illuminates the path of the revolutionaries during which allows them to walk in this looming darkness so also we are influenced by um what we term organotechnics which is you know organic mindset which is the you know we believe that evolution happens as a process of divergence and
speciation you know stephen j gourd's punctuated equilibrium evolutionary process and networks uh the the the selection process happens on multiple levels in in the aggregate of tribes of groups and so therefore like when we conceptualize uh software we don't think just about products we think about ecosystems and this is reflect and is also reflecting how we design the software you know for example linux as a system which is built out of tiny modular tools that can be chained together but right now the dominant philosophy in software is mega technics which we which we see even in cryptocurrency the the
sprawling complexity that is the ethereum uh software and you know you see that for example with the way the products today they're made by marketers to generate sales they become obsolete they're not made to serve the users or the community and you see that with silicon valley products you know they're essentially garbage they're just churned out so and when we talk about nature uh we don't just mean uh the number of trees or the number of grass we we're talking about mindset we're talking about the autonomy and the strength uh the human spirit uh the moral and political society and and politics itself is synonymous with
democracy that's why dao is a transformative and very interesting so we have a lot of interest in that when we talk about bank net markets uh what are we talking about we're talking about the people's economy the free economy which is in contrast to the state-dominated economy you know uh agarism which is our political philosophy was a political philosophy that was very uh important in the early days of bitcoin in 2010 2011 and uh ross albrecht who founded the silk road he was an agaris you would go onto the silk road and it would not just be like buying drugs it was like you're logging
into the revolution you're like using markets to fund to create revolution and uh and they would have manifestos and ross albrecht's favorite book was a book called alongside night which is about a group of revolutionary cadre who overthrow the us government through free market economics so the the people's economy the democratic economy is generative it's liberatory it's the artisans the creatives the small producers and we can use free market economics to defund the state to create our own paradigm that's essentially what cryptocurrency is doing that's the real value of cryptocurrency
and in particular in a very special period now because the regulations are coming and crypto is going to split into two there will be the above above ground regulated kyc crypto and there will be dark phi and that will be underground and the more that we the more that they push back against us the more we push back against them and the more we push back against them causing a feedback loop that will they will radicalize the community so now let's talk about the third pillar we talked about the lunapunk uh and algorithm we talked about organotechnics now let's talk about anonymous engineering anonymous engineering like now we're at a very
we're another special phase in technology renaissance in cryptography uh which has been spawned by um you know uh cryptocurrency uh which is uh there is now all these cryptography primitives that can be assembled to create a huge new landscape of anonymous applications this landscape has not been explored before so it's like a door that we can go through and behind it we find many more we find a huge open space for us to explore and anonymous engineering is different to designing new cryptography primitives um like you know for example vrfs or or or pedestal commitments or whatever it's different to designing software
which is you know linear instructions that run on the cpu instead anonymity engineering is assembling those cryptography primitives to create an anonymous application and it is fundamentally different to the other paradigms it's algebraic by by nature uh also uh zk contracts you know i've only got six minutes so i'll be quick like zk contract is very different to a normal contract so it forces a change this is why it's a paradigm shift because it forces a change in the way that we conceptualize applications like in a normal if smart contracts everybody executes a function uh the same but with a zk contract there's approver and a verifier somebody
that constructs a statement and somebody who verify a statement so i can just show you know here is like uh our zk compiler if i run the help you see some help stuff and you see i have a very simple uh zk proof here which is to take two secret values and it produce it produced some instructions and when it says constrain instance is revealing that publicly so you know if i if i uh run this it will show what happens with the virtual machine when you load
that contract into it and you see all the instructions that will be executed underneath in the in the zero knowledge virtual machine and also i can also run here and i can see the the actual output of the of the uh the bina the bin code this when it's when it's compiled so if i want to compile it i just do like i just do like that and it's compiled so anyway let's now go through some examples of anonymous applications so a vote you know you have a serial number where before the voting begins everybody constructs a serial number everybody commits to that but the serial number is
not secret everybody has their own random serial number and when we want to actually do the vote then we reveal that serial number invalidating that commitment but then we construct a proof that says you know there's a coin derived from the serial number and that this coin is in the set of all the valid coin coin commitments that have been accepted without revealing which coin it was so that's that's the unlinkability of that anonymous vote and you can also extend that further by adding more attributes inside of that coin so you can for example add a value you can add a token id you can add other stuff the value allow you to have payments uh you can do swaps so swaps is just
like you add more rules to your consensus about the structure of the transaction where you say for example you know like um even though the asset and the amounts and the keys are completely encrypted uh you can still do comparisons between those encrypted values because those values are encrypted using the same blinding factor so enables you to say you know there's this amount of value coming from this key but it's the same amount of value on the other output going to the same key so there you so you already have swaps and then you know if you chain all these rules together then you can construct an anonymous dial so then you know you can have people make proposals
they have to have a certain number of governance tokens people can submit encrypted votes and then at the end of the voting period um you know somebody from the dao is able to construct the proof saying that uh that this proposal passed and that therefore the funds are transferred out of the treasury of the dao all of this completely anonymous all the parties uh everything uh participants there are votes nothing is revealed it's completely uh anonymous but it's settled on chain so we're gonna release a demo of that this month or maybe next month uh you can also do staking you know you put uh when you stake your token you want to anonymously earn yield
so you you earn a token as one one-to-one but then the reward is dripped into a pool and um and so anytime you can take that one-to-one intermediate token and redeem it for the reward and everybody else can do it from the same pool with and so you don't reveal how much you are staking this is example of using a financial engineering technique to have to get around a limitation of anonymous engineering so also for anonymous styles uh you know we built our own peer-to-peer task management system we built uh our own peer-to-peer chat because all the projects now crypto projects they all use uh the centralized uh normies
silicon valley platforms like discord or github and like you're giving all of your value away to these platforms so we wanted to keep our community here so we made our own anonymous uncensored uh chat application which is peer-to-peer which um on the back end connects to the peer-to-peer network and then you just you can use any irc front end to connect to the local daemon and then yeah the internet here i guess not great and then you can uh chat with other people try again oh yeah i guess
not yeah and so then uh our goal is to make um after we've made the the dal is then to make uh markets swaps information markets all kind of all kind of stuff but all completely uh anonymous oh yeah by the way anybody wants stickers and merchandise come up now on this table here is an entire table full of gl like shiny glow-in-the-dark stickers all right that's the end of my talk by the way check out this article as well if you're interested in the thesis about the divergence between reg fine dark phi that i mentioned earlier excellent
article thank you everyone [Applause] [Music] so
[Music] [Music] so
[Music] so you
Related talks
- DarkFi: The Coming Storm
- DarkFi kills glowies: intro to the world's first anon DAO, anon markets, anon chat, the coming RegFi vs DarkFi split, the dark forest and secure freedom for sovereign society.
- Zcash and the Fight for Privacy
- Privacy and Public Goods: Vitalik Buterin & Roger Dingledine - Buenos Aires 2025
- DarkFi│Manifesto for a Dark Renaissance: Anonymity as Hard Offensive Power - Amir Taaki│ETHDam 2024
- Scalability is Boring, Privacy is Dead: ZK-Proofs, What are They Good for? by Ian Miers
- zkPACT: ZK Private Crosschain Token Transfer Framework
- Privacy, Composability & Compliance - Business On Chain for Enterprises
- Yulia Khalniyazova of Anoma @ ZK Hack Meetup in Berlin, 24 Apr 2025
