Defi Darko

/defidarko

Defi Darko

Welcome to my social blog about DeFi and Web3 development

User Avatar

Defi Darko

4y ago

Web3 creators, a new kind of community
Defi Darko

Web3 creators is a brand new community website that aims to be the IndieHackers/StackOverflow of the Web3 world.

It is still in its infant stages but there are a few things that set it apart.

Long form resources

Currently they have a few long form articles on The State of NFTs, Learning Web3 and Web3 salaries.

They are all quite comprehensive and well written, and they all link to external resources and people to follow for specific topic.

People to follow

Each article contains a list of people to follow on Twitter for specific topics: NFTs, DeFi. This is a great resource for getting into the crypto community on Twitter, because it's difficult to separate the signal from the noise on Twitter, especially for beginners.

Job Board

There is a job board of open opportunities in Web3 companies as well as a comparison of Web3 salaries so you know what to expect based on your position and skill level.

Interviews with people in Web3

The initial focus on the website are the interviews with people working in Web3 companies at all positions. There are interviews with CEOs, developers, designers, project managers etc.

I think this is quite useful for letting people know that even if you're not a typical techie there are many positions you can fill in Web3 companies.

User Avatar

Defi Darko

4y ago

Blockchain Trilemma, simplified
Defi Darko

The concept of the Blockchain Trilemma was first introduced by Vitalik where he describes the three challenges developers face when creating a blockchain.

Decentralization, Security and Scalability are the three challenges that contradict each other, in order to increase one of them, the other two must suffer.

Decentralization

The backbone of the blockchain is decentralization, having no central authority and being able to reach consensus with relying on trust towards a group of large actors.

Scalability

Scalability is the how the blockchain behaves under heavy usage. The usual metric is how many transactions per second can the blockchain process and verify. There have been multiple blockchains that sacrifice decentralization in order to provide scalability, this is a good trick because decentralization can not be easily felt by the end user, while speed of transactions very much improves the user experience of end users.

Security

The blockchain must be able to resist an attach when a significant percent of its participants are trying to attack it.

The blockchains so far

The blockchains so far have always had to compromise one of the three.

Ethereum and Bitcoin focus on Decentralization and Security while sacrificing Scalability. Most of the scalability work is being done as Layer 2 solutions where some of the security is sacrificed.

Solana and EOS on the other hand focus on Scalability a bit too much, they have much more transactions per second, but are sacrificing Decentralization and Security because giant machines are required to run their nodes and all the trust is centralized in those few big actors.

Multichain solutions are ecosystems where the concept is having different applications living on different chains and using bridges to communicate between the multiple chains. This strategy has decentralization and scalability but sacrifices security. Attackers need to get majority in only one of those smaller sidechains to be able to damage the whole system.

Real innovation is required in order to improve in all three aspects, without sacrificing anything, one possible solution is sharding which is still in progress.

User Avatar

Defi Darko

Web3.0 General

4y ago

Ethereum Sidechains 101
Defi Darko

What are side chains

Sidechains are smaller blockchains that use the exact same technology as Ethereum in terms of Smart Contracts and the way dApps run on them.

However very often they use a different consensus mechanism to make them faster and they have much smaller block time, all of this in order to decrease transaction time and/or fees, thus resulting in better user experience.

Bridges to mainnet

A lot of Sidechains have bridges to Ethereum mainnet. You can buy a token on the sidechain, then with a bridging protocol you lock it on the sidechain and you receive it on mainnet. This is can be very useful and can save a lot of money for developers if 99% of transactions are done on a sidechain and there is the option for end users to transfer their funds, tokens or NFTs to mainnet.

Sidechain use cases

Sidechains are one of the easier ways for dApp developers to deploy their app to something similar to Ethereum but provide better UX to their end users by having much smaller fees and faster transaction times.

However all this convenience will have to come at some expense, which is usually the sidechain is not as secure or as decentralized as the main chain. However having bridges to mainnet can provide enough credibility to the for the sidechain to be trustworthy.

Another benefit is that with sidechains there is much lower risk, there's not as much value locked in there, so they are much better for experimenting and innovations.

For example there are multiple sidechains that use Proof of Stake already for more than a year, while it will take Ethereum many months to fully migrate to Proof of Stake

User Avatar

Defi Darko

Web3.0 General

4y ago

Hacks and imperfections lead to blockchain innovation and progress
Defi Darko

Every Blockchain criticism has led to further improvements in blockchain technology. Sure there is great financial incentive to have a successful blockchain but that is how it's supposed to be, the value should go to the best solution, innovation should be rewarded.

It wastes electricity

Just like the first cars used too much gasoline, the first trains used too much charcoal, the first planes could only carry 2 people.

It's normal to be inefficient at the beginning.

The first types of blockchains using Proof Of Work used too much electricity, but that criticism lead to Proof Of Stake, a much needed improvement.

It will only get more and more efficient.

It doesn't scale

Of course it doesn't, we are building a world wide distributed database, World-Wide, that's very very wide folks.

The scalable future looks like a future with many blockchains and many bridges between them, but we'll get there.

Multiple teams are also working on Sharding, splitting the blockchain into smaller chunks so even your mobile phone can be a participant, which is one of the most difficult tech problems ever tackled in my opinion.

The MEV problem

This is the newest and very serious one. Miners or bots can front run your transactions on Uniswap and basically steal money from you.

Again innovation to the rescue, instead of Uniswap you can use Cowswap which bundles a bunch of trades together and ensures everyone gets the same rate from Uniswap or Sushiswap. Also makes trades directly between orders if possible and giving you an even better rate than any Dex.

All of this is possible because there can't be any interventions and the only way to deal with the imperfections is by innovating, and that is the most natural and fastest way to go about it.

User Avatar

Defi Darko

Web3.0 General

4y ago

Blockchain is to a database as the Internet is to LANs
Defi Darko

We've all seen the analogies comparing blockchain with traditional databases because they're both used for storing data. But in my opinion, that is the one and only commonality. I love databases and they will always have their place, even in the Web3.0 world, but we must stop comparing them to blockchains.

Blockchains are only powerful if they are shared

Blockchains are the most useful when there are multiple apps connected to them and they can all interact with each other. Just like the Web we all know and love. There's only one and all apps are there.

In the Web 3.0 world there is space for multiple blockchains, and many bridges between them. But in order for a general blockchain to survive, it must have multiple apps built on top of it.

Any distributed network will have hardware limitations

No matter the consensus algorithm, blockchains are worldwide distributed databases (pun intended).

Everything you store must be replicated across thousands of servers online which makes it inherently expensive because of the bandwidth and hdd storage requirements.

Data structure

Relational databases store tables.

NoSQL databases store Documents or Json data. Other DBs store key-value pairs.

The most popular Blockchains that are based on Ethereum usually store snapshots of its state. Smart Contracts can be considered as simple objects from OO programming, and their state can be updated with every transaction on the blockchain.

Within Smart contracts you can store structs, mapping, arrays and primitive types. But you can do a lot with these.

What to store on blockchains

We want to store only information that needs to be easily verifiable by the public and useful for to prove something.

  • Balance of tokens

  • Ownership of NFTs

  • Records of payments made

  • Records of any important action, like token deposits and withdrawals.

User Avatar

Defi Darko

Web3.0 General

4y ago

Consider transitioning from a Web 2.0 developer to Web 3.0 developer in 2022
Defi Darko

If we look at the big picture (which is 7,8 years in the blockchain space) ever since the invention of Ethereum, every year has been the best year for crypto and I believe 2022 will continue on the same path.

I understand that without Bitcoin, none of the other projects would exist, but Ethereum is what opened the gates for developers to build with their hands untied.

To be honest, I am mad at myself for not getting into Web3 development sooner, but we are still early and the best time to start is right now.

Following are my favorite reasons for moving over to DeFi and Web3 development.

The best opportunities are in emerging technologies

It would've been a smart decision to become a web developer in 2001 (after the Internet bubble), because the Internet was in its early years, still in development. You would've been in a position to be the founder of or become one of the main builders of Facebook, Amazon or Netflix.

The best opportunities are always in emerging technologies and the reason for that is because there is some risk involved.

But if there wasn't any risk involved, then you wouldn't get ahead of the competition, everybody would already be doing it.

Web3 companies have new ways of funding, running and working

All web3 companies are new and most of them are funded by the people that bought their tokens, they are funded by their end users. This allows them to work at their own pace and not feel the pressure of VCs.

They all embrace remote work, part time engagements, no time tracking and are willing to innovate with how they run their companies.

You know more than you think

Sure Smart contracts are cool to build, but smart contracts are very small part of most code bases. Most of the code is still middleware and UI and infrastructure that we all know and love. Most of the code is still written in JavaScript, Python, Ruby, Golang and other web2 technologies.

Bottom line is you don't have to be a Smart contract developer to become part of a web3 company.

Fertile ground for new projects, lots of pain points to address

The ecosystem is still being built, actually multiple ecosystems are being built, everyone with their own issues and pain points.

This opens lots of room for building personal side projects that address these pain points, and you making some side income (or full income) by scratching your own itch.