decentralized-applications Questions

2

I am creating a React.js DApp which will interact with Rootstock (RSK) deployed smart contracts. Recently I came across a React library called useDApp. This library automates the blockchain connect...
Hammonds asked 9/11, 2022 at 10:41

5

I want to use web3.js to show revert reason to user, for example in the case of user trying to mint erc721 token that has already been minted. I am using try catch block and see the error message b...
Campanulate asked 30/3, 2021 at 20:27

3

Solved

I'm trying to consume a function from a smart contract using ethers.js. The function retrieve the info of a user logged before (with the help of other function). This is the function snippet. funct...
Griseldagriseldis asked 20/4, 2022 at 21:44

1

Solved

Is it possible to host Node JS applications to IPFS? Possibly through Fleek? I know it's possible to host React JS app on IPFSA Using Fleek, but is it possible to host or run a Node server on IPFS,...

2

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 c...
Stanchion asked 5/4, 2022 at 16:49

1

Solved

Currently I got this abi: const stakingAbi = [ 'function getStakes(address user) external view returns (Stake[] memory)', 'function stake7Days(uint128 _amount) external whenNotPaused', 'function...
Lammastide asked 6/10, 2021 at 20:11

2

I am learning solidity and got to know that interface and abstract are both classes that may contain unused functions. My doubt is: What is the difference between interface and abstract contract in...

1

I've commanded npm run dev to run my code. However, it pops up several errors the first error it pops up is Module not found: Error: Can't resolve '../../build/contracts/User.json' I don't know why...
Chophouse asked 21/8, 2019 at 2:33

2

As this decentralisation wave is taking place around the digital world, I was wondering how can you remove some content that you just uploaded on a decentralized network. As I understand, more and ...
Ilowell asked 3/11, 2021 at 11:13

2

Solved

As we know, metamask will no longer inject web3.js starting Jan 13, 2020. What are the approaches we should take to stop the dependency on web3? Also how can we test it out with the existing Metam...

4

Solved

I have a query, where do blockchain data saved in every node. After a long search in google, StackOverflow, and some blogs, like got many answers: like: it saved in a database like level-DB or rock...

2

Solved

I know git used version control to track files. And it is also distributed, meaning more than one computer stores the relevant files. But my doubt is if git is distributed or decentralized? If it i...
Dugger asked 28/12, 2019 at 9:48

1

I am just starting with IPFS and Ethereum. We are building a dApp (mobile) and planning to replace the standard API & DB layer with IPFS and Ethereum. So, after lots of reading I have the follo...
Jennifer asked 30/10, 2018 at 17:33
1

© 2022 - 2025 — McMap. All rights reserved.