A decentralized application (Dapp, dApp or DApp) is an application that is run by many users on a decentralized network with trustless protocols.
Questions tagged [decentralized-applications]
259 questions
4
votes
2 answers
Getting Error: TypeError: Cannot read property 'getId' of undefined in React + truffle DApp
My Ganche-GUI and metamask is running. but I am getting following error
in console
TypeError: Cannot read property 'getId' of undefined
at App.componentDidMount (App.js:17)
Following is my code in App.js code
import React, {Component} from…

urjit on rails
- 1,763
- 4
- 19
- 36
3
votes
2 answers
How to use WalletConnect with Angular app?
Problem:
I am trying to use WalletConnect to connect MetaMask wallet in my angular app. I have the following code to connect with the wallet. Everything runs fine until this line in the below code: await connector.createSession();
Does anyone…

Johar Zaman
- 1,955
- 17
- 27
3
votes
2 answers
What is the difference between a Wallet and a JsonRpcSigner?
On the ethers documentation, it says that the two most commons signers are:
Wallet, which is a class which knows its private key and can execute any operations with it.
JsonRpcSigner, which is connected to a JsonRpcProvider (or sub-class) and is…

Dimitri Borgers
- 328
- 4
- 15
3
votes
0 answers
Show dapp favicon in trustwallet
I have a very small and silly problem. I have developed a dapp. But trustwallet does not show the favicon of the dapp, in its history or in the url as it shows for other dapps like Pancakeswap. While Metamask shows the favicon.
This is the html to…

Abhishek Pandey
- 349
- 3
- 12
3
votes
2 answers
Are there any alternatives for graph protocol?
I'm building a Dapp and I want to index records to make queries on them. I see the only option is using graph protocol. Are there any other options?

Mirat Can Bayrak
- 631
- 7
- 18
3
votes
1 answer
Disconnect dapp from MetaMask
There are various tutorials that teach how to activate and deactivate Metamask wallet, or probably any crypto wallet in general, but in all of them I have the same problem, as so:
When I deactivate my account it is still displayed in Metamask GUI…

grisVladko
- 161
- 2
- 10
3
votes
2 answers
I am not able to use ipfs
I want to publish files on ipfs but it's showing me an error.
Here is my code...
const ipfsClient = require('ipfs-http-client');
const ipfs = ipfsClient({host: 'ipfs.infura.io', port: 5001, protocol:
'https'});
function App() {
const [buffer,…

Aryan
- 51
- 1
- 6
3
votes
1 answer
Ethers.js, send money to a smart contract (receive function)
I have a smart contract with a receive function :
receive() external payable {
Wallets[msg.sender] += msg.value;
}
I have a front end and I want to send Ethers to this smart contract using the receive() function.
async function transfer()…

Ben BK
- 154
- 2
- 11
3
votes
3 answers
How to calculate Deposit Amounts for Adding Liquidity within Uniswap V3
Whilst adding liquidity to a new pool within Uniswap V3, I am trying to calculate the formula for the 'Deposit Amounts' on any given pair.
For example, let's take the pair ETH/USDC
Current Price: 2172.05
Set price Rangle -20% & +20%
Min Price:…

TriCron
- 141
- 2
- 11
3
votes
1 answer
Solidity : Getting error as Member “balance” not found or not visible after argument-dependent lookup
I am trying to write a Decentralization App to buy a concert ticket. For some reason, the part owner.transfer(this.balance) keeps giving me error. Also since solidity has too many version, I can't find a the best for mine. please help me in this.…

Punreach Rany
- 2,560
- 7
- 23
- 56
3
votes
2 answers
Upload Array in IPFS
I know how to upload file in IPFS but what if I want to upload simple JS array of strings? it returns unknown file and I can't see it's content
var bufferFile = Buffer.Buffer.from(uuidArray);
ipfs.files.add(bufferFile,(error,result)=>{
…

O. Shekriladze
- 1,346
- 1
- 19
- 36
3
votes
1 answer
Is hyper ledger fabric considered as centralized blochain
Hyper ledger has some classic/old world mechanisms that brings up the question, is it really decentralized?
Having a REST server to communicate with the blockchain brings up the cloud model behavior.
Even though the hyper ledger is distributed,…

SexyMF
- 10,657
- 33
- 102
- 206
3
votes
1 answer
What is the difference between a decentralized system and a distributed system?
I am looking for an academic answer about the two terms "Decentralized" and "Distributed".
the idea I have now is that decentralized systems (like blockchain) don't have a single point of control when in the distributed system we can control the…

maroodb
- 1,026
- 2
- 16
- 28
2
votes
0 answers
Is it possible to deploy a smart contract with the complied abi json file using any flutter web3 package?
I'm trying to develop a Dapp with flutter. There I need to deploy a smart contract for each user to interact with when they sign up for the application. I explored the web3dart library and there were no functions to do that. I there any other…

Ishad
- 121
- 1
- 11
2
votes
0 answers
How can i change style components in dexoExchange?
I'm trying to fork the Dexo exchange interface from GitHub and add my own styling to it. The problem is I haven't found a way to change the header nav bg color and footer bg as well as 80% of the rest of the react ts components.
I've followed…

sohaib
- 574
- 5
- 16