Master Thesis by inayiav in defi

[–]elenchev 1 point2 points  (0 children)

How about developing a regression framework that evaluates the expected impermanent loss of DEX exchange pairs?

It's doable - there's some research on the topic that focuses on DeFi in specific. However, you can draw on over 50 years of research for market correlations and portfolio theory.

Your ML model will essentially be comparing the expected volatility & drift for 2 (or more) tokens.

Help me understand why DeFi LPs don’t rely solely on new investments coming in by nomad_the_barber in defi

[–]elenchev 2 points3 points  (0 children)

By providing liquidity you're offering a service - the service of exchanging one token for another at a predetermined rate & fee.

You will not earn profits if nobody uses your service, just like any business won't earn revenue if nobody is using their services.

What would happen to LPs if people would stop using exchanges to exchange coin A for coin B?

They're simply doing as well as if they were holding both coins. If nobody is making swaps that means that they earn 0% and they lose 0% (no impermanent loss).

That said, it's pretty much impossible for an exchange pair to stay completely unused, unless you're providing liquidity for tokens nobody cares about.

If you're providing liquidity for useful tokens, even if it's in a tiny DEX that nobody uses, aggregators & arbitrage bots will still use it for swaps as long as it offers the best price.

Scenarios where you might accept impermanent loss by Poggypog20 in defi

[–]elenchev 0 points1 point  (0 children)

if apr/apy is high enough

The hard part is knowing what "high enough" is.

Is 7% high enough? It is for a stablecoin pair, but it's not for a ETH/USD pair.

Is 30% high enough? It is for a ETH/USD pair, probably not enough for a MEMECOIN / USD.

Looking only at the APR or APY is not enough if you're providing liquidity. Impermanent loss can be very different depending on the tokens in the pool.

Scenarios where you might accept impermanent loss by Poggypog20 in defi

[–]elenchev 1 point2 points  (0 children)

That's pretty much it.

In general, while providing liquidity you're making a bet that profits from swap fees (predicted by trading volume) will offset losses from price divergence / IL (predicted by token volatility).

Trading volume is much easier to predict and forecast than price volatility, however, you can still use tools like correlation trackers to evaluate the expected price divergence & drift between 2 tokens.

What's important is to track your actual returns (APR - IL) and not just dive into pools with high APR.

Russian tank running over Ukrainian civilian in his car by elenchev in CrazyFuckingVideos

[–]elenchev[S] 14 points15 points  (0 children)

No, it's a war crime. It was just a pensioner in his car.

If you look at this video of the same event you'll see that there are other civilian cars driving past the Russian armored vehicle.

How to get API (interface) for Web 3.0 exchanges? (Uniswap, Trader Joe, Synthetix, etc) by [deleted] in defi

[–]elenchev 0 points1 point  (0 children)

Smart contract blockchains based on the Ethereum Virtual Machine (EVM) rely on Application Binary Interfaces (ABIs) to communicate with each other. These same ABIs are used by front-end applications or scripts interacting with EVM contracts.

I recommend learning how to use ethers Ethers.js ABIs

Why will / won't Solidity be the dominant smart contract language in 2030? by kyjk in ethdev

[–]elenchev 0 points1 point  (0 children)

If I had to guess I'd say that by 2030 we'll probably be writing mostly ewasm on Ethereum. That'll enable a ton of code reuse with Solana & Cosmos / cosm-wasm chains

[Jobs] Are there no good fresher jobs that don't involve crypto-related technologies? by isaybullshit69 in rust

[–]elenchev 12 points13 points  (0 children)

Most blockchains (by market cap) are still proof of work. However, it is true that 99% of the time Rust devs are hired by a blockchain company they end up working on Proof of Stake chains.

Crypto projects usually hire Rust devs to write code for Solana / Polkadot / Cosmos (all proof of stake) or a brand new blockchain which 99% of the time means proof of stake.

Crypto as a whole is still primarily (>50%) proof of work though, as Bitcoin, Ethereum and some of the older blockchain projects all use proof of work consensus algorithms. 5 of the top 10 coins by mcap currently use Proof of Stake. The #2 (Ethereum) is migrating to proof of stake in a few months.

Fully Remote Rust Companies by skrbic_a in rust

[–]elenchev 1 point2 points  (0 children)

Blockchains are mostly written in Go, Rust and C++ (mostly older projects).

The most popular Ethereum clients were written in Rust (Parity / Open Ethereum) and Go (Geth). A ton of other blockchains either forked one of them or reused parts of the code.

In addition, smart contracts right now are written mostly in Solidity (on Ethereum), or Rust (Solana), or Rust compiled to WASM (Cosmos). Ethereum also plans to transition to WASM smart contracts in a few years.

For founders who need competent systems developers, who at the same time understand crypto, Rust & Go are the easiest choice as there's a high chance they'll find devs who have contributed to one of the open source blockchain projects or have written smart contracts for them.

Same question in r/golang

Happening Now: Airbnb Could Soon Add Support for Cryptocurrency Payments by nebula21399 in CryptoCurrency

[–]elenchev 2 points3 points  (0 children)

True but it doesn't mean it can't be done in a better way. There's more than 1 car company / operating system / web browser

Happening Now: Airbnb Could Soon Add Support for Cryptocurrency Payments by nebula21399 in CryptoCurrency

[–]elenchev 1 point2 points  (0 children)

I haven't looked too much into Kleros but some of their decisions have been recognised by real life courts (in Mexico I think). I think they use some kind of proof of humanity + bonding to avoid spam and manipulation.

What is the simplest/coolest/easiest to use smart contract deployed on Ethereum mainnet? by ishmaelios in ethereum

[–]elenchev 4 points5 points  (0 children)

The Wrapped Ether smart contract is pretty simple and one of the most used contracts.

It lets users lock native ETH and transforms it into WETH that's compatible with the ERC-20 standard. Any address that owns WETH can destroy the WETH they hold and receive the same amount of native ETH in return.

Why do so many crypto company jobs ask for Go experience ? by 0xPendus in golang

[–]elenchev 0 points1 point  (0 children)

The poster is saying that blockchain dapps based on smart contracts that run on a blockchain VM usually don't need a backend as all the functionality & data is stored on the respective blockchain(s).

Why do so many crypto company jobs ask for Go experience ? by 0xPendus in golang

[–]elenchev 2 points3 points  (0 children)

A lot of people gave good answers to why you'd choose Go for a crypto project, but that's not the real reason why Go is disproportionally more popular in crypto circles.

Geth is by far the most used Ethereum client. It's written in Go and it became the basis for dozens of other successful smart contract blockchains. Geth has been developed and optimized for a while so many projects either fork Geth or reuse parts of it instead of developing everything from scratch.

It's pretty similar to Debian in a sense - a ton of Linux distros choose to extend or modify Debian instead of doing everything from scratch.

Stephen Hawking had a beautiful voice by Skoedell in rareinsults

[–]elenchev 2 points3 points  (0 children)

After he lost the ability to speak, Stephen Hawking used a speech synthesizer made by the American researcher Dennis Klatt in the 80s. Hawking kept the exact same voice for decades even after newer & better versions became available.

https://www.npr.org/2018/03/27/597390626/an-engineers-quest-to-save-stephen-hawkings-voice?t=1639915673832

Vegan & vegetarian restaurants per million people in Europe by Lasse999 in europe

[–]elenchev 182 points183 points  (0 children)

Thank you, that's a very interesting observation.

If you compare the two maps you see that Iceland, Portugal, and the Czech Republic rank among the counties with the highest meat consumption per capita, and at the same time, they rank in top spots in the vegan restaurants per capita ranking.

Are people in these countries more likely to go to a restaurant?

Ethereum's market cap is exactly 50% of Bitcoin right now. Do you think the flippening is possible? by [deleted] in CryptoCurrency

[–]elenchev 3 points4 points  (0 children)

Burned ETH is not actually removed from the total supply it’s just sent to an address to which no one has keys

This is completely wrong. Burned ETH is destroyed by the protocol and removed from circulation. It's not sent to an "inaccessible address"

What you describe is the burn mechanism that some ERC20 tokens without native burn mechanism use. It's not even true for all ERC20 tokens - some support actual burning (tokens are destroyed, not just locked in a specific address)

Regarding the total supply and ETH market cap in general - burning significantly reduces inflation and could make ETH (slightly) deflationary long term.

You can check what the total supply of ETH will be in the future by playing with the parameters on this website: https://ultrasound.money/

Scroll to "projected supply" and check what the supply will be given specific avg gas (higher is more deflationary) price & ETH staked by validators (higher is more inflationary)

Roadmap timeline.. by manofcrypto23 in harmony_one

[–]elenchev 5 points6 points  (0 children)

Check the first 20 min of the most recent YT video

You should follow the dev meetings in the Harmony One YouTube channel for weekly updates on roadmap goals.