Questions tagged [decentralized-applications]

A decentralized application (Dapp, dApp or DApp) is an application that is run by many users on a decentralized network with trustless protocols.

259 questions
2
votes
1 answer

Permissioned Blockchain and Network Nodes

In a permissioned blockchain network, if you want to hide data specific to the individual parties of a trading relationship, then do the parties on both sides of that relationship have to be running their own node on the network? Asked differently,…
2
votes
1 answer

IPFS search file mechanism

I am using IPFS(Inter Planetary File System) to store documents/files in a decentralized manner. In order to search a file from the network, is there a record of all the hashes on the network(like leeches)? How does my request travel through the…
2
votes
1 answer

Storing data persistently on IPFS

Recently I developed an alternative to Google Drive using IPFS (the decentralized storage technology). The app serverd it's purpose but suffered from 2 major problems: App was super cool for small files, but on large files, the download was very…
2
votes
3 answers

Error: ipfs configuration file already exists

I already install ipfs via go ipfs. and I don't know why I encounter an error when I want to run "ipfs init " in my Terminal. could anyone help me to figure out where is the problem? here is an image of my Terminal:
scbas1000
  • 121
  • 1
  • 12
1
vote
1 answer

How can I migrate web3-react and walletconnect v1 to walletconnect v2?

I'm having a hard time migrating from my Dapp using walletconnect to walletconnect v2. I was originally using the version below. "@web3-react/core": "^6.1.9", "@web3-react/walletconnect-connector": "^6.2.13", The original code is…
1
vote
0 answers

DAPP creation problem: Output not shown in the webpage (problem with the interface or function definition)

I know its a long post and thanks in advance to everyone that spends the time to read it. We are building a Dapp called Forest. The idea is that it asks you if you are a producer or a customer and then if you pick producer it asks you to register a…
1
vote
0 answers

Creating a contract instance with wagmi provider using new ethers.Contract();

I am migrating our dApp from using an older version of web3modal to wagmi. We were using our contracts like this export const dummyFunctionWrapper = async ( providerOrSigner: providers.Provider | providers.Signer, contractAddress: string, …
Tajammul
  • 9
  • 3
1
vote
2 answers

Error: contract runner does not support calling (operation="call", code=UNSUPPORTED_OPERATION, version=6.3.0) on ethers.js v6

I'm making a simple dapp using React, Hardhat, Ethers.js, and Solidity. I've been following along a tutorial on YouTube but I got stuck at the part where you call the Solidity functions from the created contract object. Whenever I try to call a…
1
vote
1 answer

Hedera - Hethers.js interaction with smart contracts

I'm just learning the tools on heders. Can we use only hethers.js to interact with smart contracts and what is the best way to read state from the hedera hashgraph? I had read that also read functions are chargeable? Is this correct? It isn't clear…
1
vote
0 answers

Hedera and Hashpack Transfer Transaction - Need Seller/Buyer Signatures

Hi I'm working on a dapp targeting the Hedera network using Hashpack. When I'm trying to do a transfer transaction, I need both signatures from the seller and buyer. I have read some docs but I'm not sure the best approach here. What is the best way…
1
vote
0 answers

useEffect => .then returns undefined

I try to fetch the current offer price for my NFT project but i currently get undefined in this function useEffect(() => { returnsCurrentOfferPrice(NFT.tokenId) .then((offer) => { console.log(offer); …
Oliver
  • 11
  • 2
1
vote
1 answer

"Internal JSON-RPC error" when calling Solidity smart contract function

I'm building a DApp and i'm trying to use a function in my smart contract to get the actual ethereum value, and then use it to convert a certain amount of dollars into its Ethereum value. When trying to do so, i'm getting "Internal JSON-RPC error"…
1
vote
0 answers

How to Implement off chain Keepers for Decentralize Perpetual Exchanges like GMX.io?

I'm attempting to clone gmx.io. I understand most of the on-chain and Dex concepts, but I'm stumped on how to establish an off-chain. Keepers they did not opensource the code for that, so could you kindly assist me in determining what the specific…
1
vote
1 answer

dfx cannister in my local Dapp file fails saying file not found

import Debug "mo:base/Debug"; actor DBank{ var currentValue = 300; currentValue := 100; Debug.print("Hello"); } Running the command dfx start: Running dfx start for version 0.12.1 Using the default definition for the 'local' shared network…
1
vote
0 answers

trying to run command 'flutter pub run build_runner build' with build runner 2.0.3 with web3dart 2.4.1

trying to generate .g.dart file from abi json then getting these error ` [INFO] Generating build script... [INFO] Generating build script completed, took 139ms [INFO] Precompiling build script...... [WARNING]…