Author

Topic: How is DeFI exactly Decentralized ? (Read 320 times)

hero member
Activity: 2478
Merit: 695
SecureShift.io | Crypto-Exchange
May 01, 2023, 08:33:43 AM
#25
The only decentralize aspect of defi is not going through the normal kyc of centralize platform, other than that, it is close to a centralize platform because most of the operation are still handled by the team.
Most of them are DAO on name only and not in practice, you find most important decisions are carried out by the team without any community vote.
My take is they are slightly decentralize and not completely.
member
Activity: 392
Merit: 13
Sugars.zone | DatingFi - Earn for Posting
April 22, 2023, 10:45:34 PM
#24
The main hype around DeFi exchanges comes from the fact that they're decentralized in the sense that there's no central authority controlling the platform.

You're right, when you deposit your assets into the exchange, you're essentially putting your trust in that platform. In my opinion, the key difference between a DeFi exchange and a traditional, centralized exchange is the fact that DeFi platforms are built on blockchain technology, which allows for transparency, security, and a more trustless environment.

So, while you do need to deposit your funds onto the platform, the underlying technology ensures that everything is secure and transparent.
member
Activity: 198
Merit: 10
COMBO Network ex COCOS-BCX
March 12, 2023, 07:54:59 PM
#23
From what you've described, it seems like you're using Metamask to connect to a DeFi exchange, but even after connecting your wallet, you still need to make a deposit in order to trade.

And once you make that deposit, the funds are removed from your Metamask wallet and placed into the exchange's account balance. This can feel a bit nerve-wracking, especially if you're worried about the exchange going bankrupt and your assets being lost.

I can see why you might be skeptical of these DeFi exchanges, especially if they still feel centralized to you. However, one of the key features of DeFi is that it's designed to be more decentralized than traditional financial systems.

This means that instead of relying on centralized institutions like banks or exchanges, DeFi aims to create a more open and transparent financial system that's accessible to anyone with an internet connection.

Of course, there are still risks involved in using DeFi, just like there are risks involved in any financial system.

But, one of the benefits of using DeFi is that it can offer greater transparency and control over your assets, since you're not relying on centralized institutions to manage your funds.
copper member
Activity: 2156
Merit: 983
Part of AOBT - English Translator to Indonesia
March 06, 2023, 09:44:59 AM
#22
Can you show example of private smart contract?
Im not expert but I think this is the one example https://bscscan.com/address/0x026222b0954457b5b12fa5fd8471238cf4e6749c#code

Correct me I am wrong
hero member
Activity: 2520
Merit: 952
March 06, 2023, 02:38:07 AM
#21
and Big Dex usually show all the code and does not make them private so everyone can see the code and how the exchange work.

Can you show example of private smart contract?
copper member
Activity: 2156
Merit: 983
Part of AOBT - English Translator to Indonesia
March 05, 2023, 11:45:24 PM
#20
What platform are you using because there are two types of Decentralized Exchange that I know

One is like Uniswap and Pancakeswap basically the transaction is like a P2P market. Its like market taker on Centralized Exchange and there is no Order Book.

and the second was a platform Like Idex and maybe this happens to you. You deposit money into the smart contract is basically like the hot wallet on Cex that gather a bunch of user fund and you can actually trade like on traditional CeX the difference is the owner can take your money from the smart contract unless they edited the smart contract to withdraw the money.

and Big Dex usually show all the code and does not make them private so everyone can see the code and how the exchange work.
hero member
Activity: 2926
Merit: 640
March 05, 2023, 01:51:51 PM
#19
Ok so I am learning lots about DeFI and NFTs. I am watching videos on how these Defi exchanges work, also reading the user guides and trying to follow the money by looking at the blockchain.

From what I understand. You generally use Metamask and this is used to Connect your Metamask to some Defi exchange you want to use. However this is where I am confused.

In these videos AND from the "getting started" guide, after you connect your Metamask, you still need to do a Deposit to be able to trade. So after you make a deposit, the funds are REMOVED from your Metamask and appear in the Defi exchange account balance. It doesn't stay in your Metamask account so you no longer have control of those funds.

So if the Defi exchange goes bankrupt like FTX, your assets are also going to be lost. So it still seems centralized. Only difference is instead of using a username/password/2fa to login to the website all you do is use your Metamask to login.
Last time I tried a web3/decentralized crypto casino and my experience is exactly the same as you. I did wonder on why depositing is still needed but what I thought is my funds will immediately appear in my gambling account right after I connect my wallet on the site. I then say that this thing seems doesn't make any sense. Was it only like a gimmick or what? They are also risky than their centralized competitor because we are risking our whole wallet by the time we connect them in the website.

I already saw cases like this where users wallets got emptied because they connect in a scam site. What is worse is that scammers can get away easily because it was decentralized anyway.
legendary
Activity: 1932
Merit: 1273
March 04, 2023, 12:28:22 AM
#18
~but once funds deposited into platform they aren't in your wallet but in smart contract. This other form called dUSDC is only viable within aave ecosystem, it's not what you deposited.

I did not say the token that is being deposited stays within the wallet, the wrapped token is what stays in the wallet. The wrapped token of aave is just an example.
hero member
Activity: 2520
Merit: 952
March 03, 2023, 10:16:00 PM
#17
FYI, FTX was centralized exchange site. Defi is not even decentralized and it's actually BS. The smartcontract being used to locked your funds may be decentralized but since you will be only able to interact with the smartcontract when its function has been synched with the front end.

Use etherscan's write contract feature. You can use this even when platform's official front-end is down/inaccesible.

The funds are still in the wallet, but it is just in another form (token). Say, you deposit USDC, USDC tokens are governed by their own smart contract, so the Defi platform couldn't do much, thus they make a smart contract to hold and bookeping the USDC by giving out another token to indicate users' funds, say dUSDC(https://docs.aave.com/developers/tokens/debttoken). If you add the dUSDC contract address to the wallet, the token will show up.

Whether you get another form of token or not, it depends on platform but once funds deposited into platform they aren't in your wallet but in smart contract. This other form called dUSDC is only viable within aave ecosystem, it's not what you deposited.
legendary
Activity: 1932
Merit: 1273
March 03, 2023, 01:53:09 PM
#16
It is safe to assume that anything that has a word about decentralized applications or decentralized finance, wasn't actually the correct way to convey what the "decentralized" terminology meant. The word might simply convey that it runs on not mere centralized-like manners, the company/platform has complete control. libert19 explain nicely the word "decentralised" within the context.

So after you make a deposit, the funds are REMOVED from your Metamask and appear in the Defi exchange account balance. It doesn't stay in your Metamask account so you no longer have control of those funds.

The funds are still in the wallet, but it is just in another form (token). Say, you deposit USDC, USDC tokens are governed by their own smart contract, so the Defi platform couldn't do much, thus they make a smart contract to hold and bookeping the USDC by giving out another token to indicate users' funds, say dUSDC(https://docs.aave.com/developers/tokens/debttoken). If you add the dUSDC contract address to the wallet, the token will show up.

Celcius's case is the best example about how developer of defi can lock your money by disabling the front end.

Celcius is not a decentralized finance.
legendary
Activity: 3038
Merit: 1024
Leading Crypto Sports Betting & Casino Platform
March 02, 2023, 06:12:54 PM
#15
FYI, FTX was centralized exchange site. Defi is not even decentralized and it's actually BS. The smartcontract being used to locked your funds may be decentralized but since you will be only able to interact with the smartcontract when its function has been synched with the front end.

In so many case when defi goes bankrupt due to the liquid or something else and then they(defi developers) were starting to lock user's funds by disabling its front end to make sure unable to access the smartcontract. It's all still centralized.

I see nothing decentralized since smartcontract is also relying with its programmer that was making back and front end connected to the smartcontract that will give you the ability to access it.

Celcius's case is the best example about how developer of defi can lock your money by disabling the front end.
legendary
Activity: 2170
Merit: 1789
February 28, 2023, 08:33:20 AM
#14
there are several exchanges that Claim to be decentralized but in actual sense, they are not, any decentralized exchange that would still require you to deposit your fund to their platform before you can trade is not a decentralized exchange, but a centralized exchange that uses a decentralized login system.
I'm pretty sure Forkdelta and most delta-related exchanges use smart contracts to hold the funds, so not actually similar to a centralized exchange at all. I'm not sure what constitutes decentralized and centralized login either, but almost all "DeFi" platforms use more or less similar login models. CMIIW.

It was mentioned above, so I suggest you read it more. I also agree that using the term "non-custodial" is better since most of the time we're just talking about whether we still have control over our funds or not. Many exchanges use the term "decentralized" loosely and it is unclear what line they are referring to. At one point I've seen an exchange use it to describe the nature of their servers being hosted in multiple countries, but their cold wallets are controlled just by four people.
hero member
Activity: 2520
Merit: 952
February 27, 2023, 10:48:17 PM
#13
You are absolutely correct, but I believe scenario you shared in your post is peculiar to the decentralized exchange you are referring to, there are several exchanges that Claim to be decentralized but in actual sense, they are not, any decentralized exchange that would still require you to deposit your fund to their platform before you can trade is not a decentralized exchange, but a centralized exchange that uses a decentralized login system.
Example is
Etherdelta - when they were still around
Forkdelta - when they were still around
Some other ones which are still around but I can't remember their names right now..

When we talk about decentralized exchanges that are truly decentralized, then we should be talking about
Uniswap
PancakeSwap
Dodo
Apeswap
Chainge Finance
And a whole lots of others, the mentioned are the ones I've personally used.

Incorrect. Etherdelta and uniswap are both decentralized exchanges. Difference is that they use different matching engine, etherdelta used traditional matchmaking engine between users while uniswap uses amm based.

legendary
Activity: 2422
Merit: 1083
Leading Crypto Sports Betting & Casino Platform
February 27, 2023, 06:10:26 PM
#12

Can someone explain what the hype is about these Defi exchanges ? Because to me it still seems centralized.
You are absolutely correct, but I believe scenario you shared in your post is peculiar to the decentralized exchange you are referring to, there are several exchanges that Claim to be decentralized but in actual sense, they are not, any decentralized exchange that would still require you to deposit your fund to their platform before you can trade is not a decentralized exchange, but a centralized exchange that uses a decentralized login system.
Example is
Etherdelta - when they were still around
Forkdelta - when they were still around
Some other ones which are still around but I can't remember their names right now..

When we talk about decentralized exchanges that are truly decentralized, then we should be talking about
Uniswap
PancakeSwap
Dodo
Apeswap
Chainge Finance
And a whole lots of others, the mentioned are the ones I've personally used.
legendary
Activity: 2254
Merit: 1377
Fully Regulated Crypto Casino
February 27, 2023, 05:28:05 AM
#11
Lets say someone enters a trade and they are -99% loss on the trade. Before they close the trade, can't they do some withdraw function from the contract and get their original deposit back? This is what I don't understand. How does it work when you are in an active trade.
Are you referring on the spot live trade or leverage trading? Most dex/defi doesnt have feature of centralIed exchange but some improve a lot in the future. Its working based on your active trade engaged in the dapp. Most defi dex cant have a set order sell but mostly automatic swap trade when in used. Its real time so if you loss when you are trying to swap tokens vice versa to some tokens it would only execute based on your activity deed. But some leverage trading can even set now stop loss or any feature on a dex platform to avoid much bigger loss.
hero member
Activity: 2520
Merit: 952
February 27, 2023, 01:08:25 AM
#10
Your funds after being removed from your account remain in smart contract of dapp. Smart contracts can be interacted with even if the front-end has disappeared. These smart contracts exist as long as ethereum will exist, and ethereum is governed by nodes around the world, hence word decentralization.

Unless the smart contracts has flaw and someone hacks it, you can always interact with smart contract and recover your funds.

This is why audit firms exists. Your funds security depends on security of smart contract.

I remember withdrawing my funds a couple times through interacting with contract, even when platform itself had disappeared.

There was this recent dictum exchange lp rug where people were able to salvage their liquidity from recoverable pools through interaction with smart contracts. You can read about it here.

How does it work when you are in an active trade however? Because it seems people might exploit the contract if they are in a losing trade.

Lets say someone enters a trade and they are -99% loss on the trade. Before they close the trade, can't they do some withdraw function from the contract and get their original deposit back? This is what I don't understand. How does it work when you are in an active trade.

No, because contracts have logic written that keeps track of that 99% loss on that particular account/address.

legendary
Activity: 2506
Merit: 1394
February 26, 2023, 06:50:31 PM
#9
Just take an example of using a centralized exchange when you need a lot of inputs about your personal information during signing up, and when a centralized exchange asks you to undergo to Know-Your-Customer (KYC) process, it's really a hassle.
But on Decentralized Finance (DeFi), you just need your cryptocurrency wallet then no more signups, KYC, etc. And in just few clicks you can open trade position with leverage or you can exchange your cryptocurrencies to other cryptocurrencies.
legendary
Activity: 3808
Merit: 1723
February 26, 2023, 02:57:39 PM
#8
Your funds after being removed from your account remain in smart contract of dapp. Smart contracts can be interacted with even if the front-end has disappeared. These smart contracts exist as long as ethereum will exist, and ethereum is governed by nodes around the world, hence word decentralization.

Unless the smart contracts has flaw and someone hacks it, you can always interact with smart contract and recover your funds.

This is why audit firms exists. Your funds security depends on security of smart contract.

I remember withdrawing my funds a couple times through interacting with contract, even when platform itself had disappeared.

There was this recent dictum exchange lp rug where people were able to salvage their liquidity from recoverable pools through interaction with smart contracts. You can read about it here.

How does it work when you are in an active trade however? Because it seems people might exploit the contract if they are in a losing trade.

Lets say someone enters a trade and they are -99% loss on the trade. Before they close the trade, can't they do some withdraw function from the contract and get their original deposit back? This is what I don't understand. How does it work when you are in an active trade.
hero member
Activity: 2520
Merit: 952
February 25, 2023, 11:41:08 PM
#7
Your funds after being removed from your account remain in smart contract of dapp. Smart contracts can be interacted with even if the front-end has disappeared. These smart contracts exist as long as ethereum will exist, and ethereum is governed by nodes around the world, hence word decentralization.

Unless the smart contracts has flaw and someone hacks it, you can always interact with smart contract and recover your funds.

This is why audit firms exists. Your funds security depends on security of smart contract.

I remember withdrawing my funds a couple times through interacting with contract, even when platform itself had disappeared.

There was this recent dictum exchange lp rug where people were able to salvage their liquidity from recoverable pools through interaction with smart contracts. You can read about it here.
legendary
Activity: 3808
Merit: 1723
February 25, 2023, 02:23:57 PM
#6
Yes I am referring to those futures/derivative/perpetual Defi's like DYDX. I know that with Pancakeswap you basically buy it and get the tokens transfered right away. You can pretty much do this with a CEX where you deposit funds, buy the token you want, and then withdraw into your cold storage.

But I am talking about how exactly do the ones where you are actively trading, paying funding rates every 8 hours or so. How exactly are those decentralized since you send the funds to them. If you are in an active trade with leverage how can they work since prices are changing constantely?
legendary
Activity: 1596
Merit: 1288
February 25, 2023, 09:39:20 AM
#5
Centralization means that there is one central authority or a group of authorities that control your funds and thus freeze or delete them.
Decentralization means that there is no single authority that can do this, and to achieve this, it requires many parties to meet on something that may not happen, for example, in Bitcoin, the longest chain (more than 51%) can make changes in many things, but it is difficult for one central party or several central parties to do so.

In DeFi, if they are based on the same blockchain, they are managed by a smart contract, and if the currency is decentralized, the platform can be decentralized.

As for the exchanges between several blockchains, they are centralized at some point.
legendary
Activity: 2156
Merit: 1622
February 25, 2023, 02:46:55 AM
#4
you still need to do a Deposit to be able to trade.

I've seen only 1 dex that was forcing me to deposit funds and it was DYDX (decentralized futures trading). Spot trading (or rather swaping coins) doesn't need that. All dexes that I was using (pancakeswap, uniswap and few others) needed you to connect wallet and approve usage of token only.

FTX is not defi (afaik).

Of man where were you last 4 months?
hero member
Activity: 1778
Merit: 709
[Nope]No hype delivers more than hope
February 24, 2023, 11:35:07 PM
#3
-snip-
So if the Defi exchange goes bankrupt like FTX, your assets are also going to be lost.

FTX is not defi (afaik). But if they also offer a defi product (truly a provable defi), then it's too complicated to analyze. I don't even think that funds were lost in the first place as I have never heard of any claims from customers regarding defi FTX products. But that doesn't mean defi can't go bankrupt, it can be caused by liquidity matters , smart contract vulnerabilities, or other factors.
mk4
legendary
Activity: 2870
Merit: 3873
Paldo.io 🤖
February 24, 2023, 11:07:17 PM
#2
Your funds are deposited to a smart contract that will manage your funds, not necessarily a centralized custodian that would hold your funds. Think of it as a wallet that's controlled by code. These "DEXs" can't necessarily go bankrupt, but the risks are with concerning exploits and stuff.

^Also, not all DEXs have this model. Some DEXs need to get a hold of your funds because it needs to if you're trading futures/etc. On the other hand, with spot market trading like Uniswap, you don't necessarily need to deposit.

But yea, the "decentralized" definition in contrast to DEXs is a slippery slope — it's going to depend on how you look at it. A far more better description is "non-custodial".
legendary
Activity: 3808
Merit: 1723
February 24, 2023, 10:40:19 PM
#1
Ok so I am learning lots about DeFI and NFTs. I am watching videos on how these Defi exchanges work, also reading the user guides and trying to follow the money by looking at the blockchain.

From what I understand. You generally use Metamask and this is used to Connect your Metamask to some Defi exchange you want to use. However this is where I am confused.

In these videos AND from the "getting started" guide, after you connect your Metamask, you still need to do a Deposit to be able to trade. So after you make a deposit, the funds are REMOVED from your Metamask and appear in the Defi exchange account balance. It doesn't stay in your Metamask account so you no longer have control of those funds.

So if the Defi exchange goes bankrupt like FTX, your assets are also going to be lost. So it still seems centralized. Only difference is instead of using a username/password/2fa to login to the website all you do is use your Metamask to login.

Can someone explain what the hype is about these Defi exchanges ? Because to me it still seems centralized.
Jump to: