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
0
votes
1 answer

Howto configure P2P search engine YaCy for LAN and WWW

YaCy is a free distributed search engine, built on principles of peer-to-peer (P2P) networks "wikipedia YaCy". After installation, you can use it to search the WWW, but not your own computer. However, I have found a guide that shows how to…
SL5net
  • 2,282
  • 4
  • 28
  • 44
0
votes
0 answers

what is required to make cloud based decentrilzed storage?

So I want to make or rather want to learn how to implement decentralised storage. And I did some research on it that I have to developed P2P sharing network, encryption/decryption, data sharding etc. But I am still confused about how to implement…
0
votes
1 answer

How To guarantee that the input of the smart contract is not manipulated?

Let's say that my DApp got the following (smart) contract: module.exports = { winner: async function(value) { if (value===10) { } } } Now the Dapp user can do someting which invoke the contract with some value which can be 10 or…
-1
votes
1 answer

Understanding Decentralized App Costs on Ethereum

I'm diving into the world of decentralised applications on the Ethereum blockchain and I'm excited about the possibilities it offers. As the owner of a company venturing into this space, I want to ensure I have a solid grasp on the financial…
-1
votes
1 answer

How to add files to ipfs with pure javascript only?

I have tried to find some examples but all of them have lost relevance.. I have tried also to use infure but it is not for free now.. Maybe someone knows the solution, I need it for automatic loading of NFT images. js-ipfs ipfs-core ipfs-http-client
-1
votes
1 answer

usenavigator navigates to different routes for same input

I am working on a simple DApp voting project . And I am using react for the front-end. As I am new to react I am facing problem with the use navigator. On my project I have two different components , candidate validator and voter validator which is…
-1
votes
1 answer

Infinite gas requirement in solidity

I wrote a simple calculator program in solidity. I recieved error given as "Gas requirement of function calculator.add is infinite: If the gas requirement of a function is higher than the block gas limit, it cannot be executed. Please avoid loops in…
-1
votes
1 answer

logout metamask user onClick a button how can I implement it?

I am working on a dapp and I have implemented signing option using ether js but I want to also call a fucntion onclick a button to logout connected metamask wallet. Before I have used Moralis v1 logout fucntion but in this version there is no option…
-1
votes
1 answer

How to retrieve a value of a public state variable from Solidity smart contract in TypeScript?

I am trying to return a value of a public state variable highestBid in solidity through JavaScript, what is a possible way to save the value from the call to a variable? Currently I am getting: undefined. TS: async getHighestBid() { …
-1
votes
1 answer

Is there a way to integrate Trust wallet in React.js without WalletConnect?

I know we can connect our Dapp with Trust wallet using WalletConnect. But I want to place the Trust wallet Connect button separately from WalletConnect. Is there a way to connect Dapp with Trust wall without using WalletConnect? Thanks.
-1
votes
1 answer

Wallet Zero Balance on Phrase Importing

I have this particular wallet which was originally showing my crypto balance, but after wallet upgrade and reinstallation via seed phrase, the coins are showing zero balance both on the primary (and decentralized 3rd party wallet). I then followed…
-1
votes
1 answer

Deploy can't detect network

I have build a smart contract with solidity, in this case I have compiled and test. I get 1 pass successfully waw. But when I deploy to BSC_TESTNET with command: npx hardhat run scripts/deploy.js --network bsctest I get error return:…
-1
votes
1 answer

How do i securely sign a Transaction within my Solana Dapp

An NFT project I'm working with was recently rugged and I'm setting up a dapp with goal of derugging the project. We are trying to achieve this by destroying all of the NFTs in the old collection and replace them with a new collection of NFTs…
-1
votes
1 answer

How to send correctly ETH from the manager's deposit to user if an event occurs?

I have this smart contract that I am trying to test. The manager deposits a certain amount of ether. Users can use the vault to earn extra ethers by locking own ether. Users deposit the amount of ether they want (ex 0.10 ETH) and set the seconds for…
-1
votes
2 answers

Metamask is showing "invalid amount" in metamask mobile app during transfer with etherjs but works fine in web plugin

I am getting an invalid amount error while connecting to my dapp using the metamask mobile appilication. It works fine with the browser plugin but not on the mobile app. I am trying to transfer BUSD using etherJs. I already connected with the BUSD…
flair
  • 1
  • 3