Can we use both centralized and decentralized approach for developing DAPP?

Ethereum Asked by developer base on November 30, 2020

I saw a dapp using Decentralized approach for the buying and selling ERC20 Tokens ..But there’s no proof of using the functions defined in smart contract in the web3js library.How is that possible ?..What am I missing here??

I know, Smart contract code is on etherscan..Another scenario is, The Dapp take notes of the users data and authorized them based on their credentials..I don’t see any code related user structure in web3js nor solidity…Instead they use PHP with a form to check if the credentials match..but they do use Metamask or Trust Wallet..So is it centralized or decentralized approach or combination of both.. is it possible to do so??

One Answer

So this dapp here.

For sure this a dapp. So what is happening:

  1. Click on register: Dapp requests user for account access via Metamask, where user have to confirm so that Dapp can move forward.

  2. Once you have Registered, on the dashboard you see the smart contract address to which it is interacting i.e. "0x7abE2a84368af480fFd4Beb7676133C30F37DC05" and your selected address on right hand side. Please refer to snapshot below.

enter image description here

  1. Now you can buy some tokens by submitting a transaction via metamask, metamask popup does appear for the confirmation. Due to some error tx didnt succeed in my case.

  2. Once Tx succeed, you can lookup that transaction on contract page.

Few things, since it didnt ask for any personal information, any KYC, its a non-custodial dapp where complete control over the funds and token is with user.

Rest how much logging are they doing behind the scene over their server not sure about that. You can check those things from developer tab and see if any request is being sent to any other application server, and what data is sent.

Hope this helps.

Answered by Ashutosh Singh on November 30, 2020

Add your own answers!

Related Questions

part of private blockchain disapear

1  Asked on January 5, 2022 by tomas-batrla


web3 erroneously returning error

2  Asked on January 5, 2022 by bitsanity


How can I distribute funds to present stakers efficiently?

1  Asked on January 3, 2022 by fariha-abbasi


It is possible to register a name in ENS (Ethereum Name Service) from Mist Wallet?

1  Asked on January 1, 2022 by moiss-briseo-estrello


Viewing transaction events by using web3 on geth console

1  Asked on January 1, 2022 by juan-ignacio-prez-sacristn


.toml stream did not contain valid UTF-8

1  Asked on December 30, 2021 by chaitanya-bapat


Acceptable Gas Usage of Smart Contract functions

3  Asked on December 30, 2021 by wbt_


Use Values Returned from One Function in Another

1  Asked on December 27, 2021 by kevin-phillips


What is the v part of transaction signature?

1  Asked on December 27, 2021 by anh-dng-l


How to convert hashed result into readable format?

1  Asked on December 25, 2021 by sowmay-jain


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir