Questions tagged [dapp-development]

Questions regarding the development of decentralized applications (a.k.a. DApps). This can include everything from frontend development questions to interaction with the blockchain and distributed file storage.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Deploying to Ethereum Mainnet

I was trying to deploy my DAPP to the Ethereum Mainnet platform, but when I try to deploy my contract it says insufficient funds even though my account has ether on it. What could be the problem?
user avatar
  • 1
0 votes
0 answers
18 views

how to call this sc function throught ether js and define pid amount while calling it

function mintpid(address _to, uint256 _mintAmount, uint256 _pid) public payable { TokenInfo storage tokens = AllowedCrypto[_pid]; IERC20 paytoken; paytoken = tokens.paytoken; ...
user avatar
  • 1
0 votes
0 answers
34 views

Understanding the role of backend servers in a Web 3.0 Ethereum dapp

I'm creating a market place dapp. I'd very much like a backend to do as much heavy lifting as possible and have my UI (Web, iOS, Android) have as little logic as possible. For this example lets say ...
user avatar
1 vote
1 answer
37 views

Next JS versus React. Which to use when for your Dapp? [closed]

This is a broader theoretical question. What advantages does a Next JS Dapp give over a React Dapp? Apart from file-based routing and an option to protect some code on the server side? In case I am ...
user avatar
1 vote
1 answer
79 views

Ethers.js signing a message to validate EOA is who they say they are

When you use dApps that have read/write functions that require auth, sometimes the dApp will have you sign a message to prove you are the EOA you claim to be. OpenSea does this when you want to modify ...
user avatar
0 votes
1 answer
19 views

is there a way to use ganache with dapps

For development I use Ganache and forking the mainnet. I also have a metamask wallet than can access this. The issue is that every-time I want to do something on a contract (like aave, uniswap etc) I ...
user avatar
0 votes
0 answers
18 views

Where to start performance evaluation of Ethereum Dapp

I've been researching on the performance evaluation of DApps in general and found that Hyperledger Caliper is used as a benchmarking tool. I also saw that it can be used not only in Hyperledger ...
user avatar
0 votes
0 answers
43 views

Integrating Coinbase Wallet using Web3Model for the Avalanche Network

I am looking at integrating Coinbase Wallet to my dApp which will run on the Avalanche Chain as I have seen it's compatible with it: You can check at Coinbase Wallet for Developers. I have been ...
user avatar
  • 103
0 votes
0 answers
32 views

TypeError: ethers.Contract is not a constructor

I am using ethers.js library. I used the following line to create a contract. I used the same line previously without any issue. contract = new ethers.Contract(address, ERC20_ABI, provider); however,...
user avatar
0 votes
0 answers
11 views

Is there anything stopping legally designing a project for the sake of "printing high monetary value"?

What's to stop somebody from developing an L2 where one could develop minimum constraints in which they could mint tokens, swap to a dex and then cash out et al. effectively "printing money"?...
user avatar
  • 1
0 votes
1 answer
23 views

Creating an efficient development enviroment + workflow for dApp development

What I want to do is create an efficient workflow for rapidly developing, and testing dapps on different chains LOCALLY. I thought about using Remix IDE, with testing environments for each respective ...
user avatar
1 vote
1 answer
15 views

Why we can't build decentralized applications upon Bitcoin?

I have recently gotten into blockchain development and reading from different sources, watching videos I've incurred that we have been building major De-Fi projects, applications upon Ethereum, EVMs ...
user avatar
0 votes
1 answer
14 views

How to check if a function call is made from my front-end?

Long story short: I want anyone to be able mint an ERC721 token using the mint function within my contract BUT I also want to do some stuff if the mint function gets called from my dApp's front-end. ...
user avatar
  • 118
0 votes
0 answers
25 views

Where does payment get stored in a dApp?

If I was creating a dApp that creates a pool of say eth so users firstly deposit eth, where do I securely store the eth, people will get rewarded x% per day from the pool. So locked deposit then ...
user avatar
0 votes
1 answer
89 views

Simpler verification of externally-created ECDSA signatures in Solidity

I just want to use ecrecover to verify with a public key that the corresponding private key signed a message passed through a variable in solidity. What's the simple way to do this? I have inserted ???...
user avatar
  • 1
1 vote
1 answer
17 views

How do dapp devs avoid a 'race to the bottom'?

Imagine Alice makes dapp-A, which has a .01% transaction fee. Now imagine the next day Bob forks dapp-A to create dapp-B and changes the transaction fee parameter to .005%. People will use dapp-B over ...
user avatar
0 votes
0 answers
55 views

How do you separate development environments between networks?

I'm utterly confused at how to properly navigate certain aspects of the development workflow between ethereum networks. How I understand it: network <-> front-end dapp LOCAL: hardhat localhost (...
user avatar
0 votes
1 answer
1k views

Connect MetaMask mobile app to React Native Dapp with DeepLinks

I'm trying to develop a React Native App that is able to connect directly to metamask(similar to OpenSea). I've figured out that i need to use a deeplink to open MetaMask, and it works, but what ...
user avatar
  • 1
1 vote
1 answer
23 views

How do Dapp developer's privately off ramp their eth?

Imagine a dapp that takes a small fee every time it's used. This fee is sent to some wallet. This wallet address is, of course, listed right there in the smart contract and so anybody can see how much ...
user avatar
0 votes
2 answers
43 views

Truffle installation -- naming conflicts on Windows

Wanted to follow this tutorial to deploy a Defi app. I use windows and wanted to follow this mkdir your-project-name # I know its making a directory cd your-project-name # Iknow I'm entering that ...
user avatar
0 votes
1 answer
77 views

How can i check token reflection amount for wallet address?

I am learning about blockchain and trying to figure out how to get all inflows of token to my wallet. Can find all inbound wallet transactions for specific token, but i can't find inflows of ...
user avatar
0 votes
0 answers
58 views

Struct containing a nested mapping cannot be constructed

I am getting the following error (See Screenshot) regarding this fetchFlightStatus in my smart contract function below (using solidity ^0.8.0). It says.... "Struct containing a (nested) mapping ...
user avatar
0 votes
1 answer
39 views

How to create a launch function for a smart contract?

I'm trying to integrate a launch function into a smart contract, however I'm running into an error. When I compile the smart contract I get the following output error: DeclarationError: Undeclared ...
user avatar
  • 1
0 votes
1 answer
35 views

What skills should a functional Blockchain developer have?

I began my Blockchain development journey a couple months ago by studying to have a firm understanding of what Blockchain is and why is important. Now that I gained that understanding, im finally ...
user avatar
  • 23
0 votes
0 answers
129 views

dApp mint not working on Metamask mobile app but works on desktop

Hi I have a dApp I created that works flawlessly on my pc but whenever I try to use it in the mobile app browser, my transactions all fail with out any errors. On desktop, all my errors are set to ...
user avatar
  • 65
-1 votes
1 answer
48 views

Can anyone send me a little Rinkeby testnet Eth [duplicate]

Can anyone send me a little Rinkeby testnet Eth. my address is 0x08533abDC7573a127B1349Ad1b801AF8BCA4e5F8. Thanks, hahaha...
user avatar
  • 13
0 votes
1 answer
393 views

Data location must be "memory" or "calldata" for parameter in function, but none was given

First Just Have a look on my easy code so that i can explain by giving refrence // SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; contract GeoSpatialData{ struct GeoData{...
user avatar
  • 107
0 votes
1 answer
22 views

Is it possible to create an APP with a total budget of 100 USD?

I want to create a decentralized application either in Ethereum, solana, avalanche, etc. networks, this application allows you to link your files to blockchain tokens, the problem is that I hear: ...
user avatar
0 votes
1 answer
41 views

How can a smart contract be triggered from an API get request?

I am working on a basic dApp architecture and I need one of the smart contracts to be triggered by the user which will pass a consumer API key (private and needs to stay private) to an Oracle that ...
user avatar
0 votes
0 answers
27 views

Lock Time techniques while implementing a Faucet using Web3.py or Web3.js

I have written a Faucet DAap which basically send tokens to receiver account just like Ropsten Ethereum Faucet. I want to implement a functionality so that the receiver account can only request tokens ...
user avatar
0 votes
0 answers
82 views

How do i pass in an array of struct from js to a contract

If i have a contract like below contract Test { struct Bar { uint a; uint b; bool c; } Bar public z; string public y; function foo(string s, Bar[] memory ...
user avatar
  • 101
0 votes
0 answers
70 views

Can I implement a "reveal" feature at the token level, not the collection level?

In my limited experience, solidity contracts are implemented with a reveal function that will allow the artwork of an NFT to remain hidden until the contract owner invokes the reveal command. In the ...
user avatar
0 votes
0 answers
27 views

Are there courses about complex dapp development?

I've followed a lot of tutorials about dapp development (most of them are lotteries and ballot projects). There were good introductions to SC and Solidity development but I wanted to know if there are ...
user avatar
  • 109
0 votes
0 answers
48 views

SHARE DATA BETWEEN BLOCKCHAINS (BSC,Polygon,ETH)

I have this smart contract that i'm going to deploy on BSC, ETH and Polygon networks. contract Color is ERC721Full { string [] public colors; mapping (string => bool) _colorExists; constructor () ...
user avatar
0 votes
0 answers
45 views

How to listen for events in a well-known contract (Compound cDai) called by my contract

I don't know how to debug the situation where I wrote a contract (MyDeFiProject) which calls a well-known contract developed by someone else (in this case Compound cDai on Rinkeby). The transaction ...
user avatar
  • 101
0 votes
0 answers
25 views

Does the NBA Top Shot NFT use a centralized backend?

There is a lot on "controversy" whether a Dapp has a centralized backend or not. I know that, by definition, a Dapp must have the backend DEcentralized running on ETH blockchain (or ...
user avatar
0 votes
0 answers
32 views

How "polymath" is doing "Ticker symbol reservation" on Ethereum?

So, from what I understand it is not possible to reserve the ticker symbol on the Ethereum network (I read this and this) But I am trying to understand what the Polymath is doing by "Ticker ...
user avatar
  • 118
0 votes
1 answer
288 views

What does % mean in Solidity?

Im learning solidity through cryptozombies.io and the first lesson ive come across this 83 % 7 + 1 = 7, does this mean that the floor division of 83 by 7 + 1 is equal to 7?
user avatar
0 votes
1 answer
41 views

Fetching Nft value from smart contract

So today I got an idea to develop an application where users can mortgage their NFTs in return for ethers with added interest. However, one problem I'm facing is of accessing the value of NFT via #...
user avatar
0 votes
1 answer
571 views

Possible to connect to Wallet from android (java/kotlin)?

I would like to program a mobile DApp which connects to a wallet, like a webapp. I thought it may be possible with WalletConnect. Has anyone ever done this? Thanks!
user avatar
0 votes
0 answers
15 views

how to access contracts on a dapp-tools testnet with their address?

I have a json file like this : { "DEPLOYER": "0x3889c142090745AAa4803745739eE0a548204357", "CHANGELOG": "0xE3BAdfF0e84a551b8B53d5fac5aF9fB20f906898", ...
user avatar
0 votes
0 answers
13 views

Is it possible to compile into one transaction several semi-transactions with different senders and receivers?

In this transaction, I send from my address to several other a certain amount of rETH Obviously this saves quite a lot on gas. Can this be done so that the sender address doesn't necessarily need to ...
user avatar
0 votes
0 answers
10 views

How to persiste ganache contracts on docker environment [duplicate]

I am trying to make a container that will run ganache and persist the contracts that are deployed there. So, even if the container restarts, everything will be there. I don't know if that is fully ...
user avatar
1 vote
0 answers
27 views

Wallet system on Mobile Dapps

I want to develop a mobile decentralized application with flutter but I have a few questions in my mind. Well, I want to store data on the blockchain through smart contracts. So, I have to connect a ...
user avatar
1 vote
0 answers
61 views

Creating NFT Marketplace on Ethereum like OpenSea [closed]

I am honored to have a chance to deal with talented Blockchain programmer. I am creating my own NFT marketplace base on Ethereum. In this platform I will sell all NFTs in Blockchain. But I face some ...
user avatar
0 votes
0 answers
23 views

How do you store the private key safely but use them in script?

I need to interact with my smart contract as owner, so I need the private key, so the private key has to live in my computer, say if my computer gets hacked, I am kind of screwed. Is there any way to ...
user avatar
0 votes
2 answers
62 views

Since blockchain does not really hold/store data, how exactly do Blockchain projects/apps work?

To clarify, it is expensive and poor practice to store large amounts or sizes of data on a blockchain (ethereum or any other) Therefore, we don't link an application's backend logic directly to a ...
user avatar
0 votes
1 answer
30 views

Automatically and programmatically storing of a small piece of data on Ethereum

Is it possible to have a dApp automatically and programmatically store a small piece of data on Ethereum, when needed (so upon request), without the need for manually connecting a wallet like MetaMask?...
user avatar
  • 101
1 vote
1 answer
73 views

How I can make a API-REST call and make the user pay the fee of the tx?

I know the question it may be dumb but I'm having troubles finding an answer for it, I need to generate a NFT and I thought of doing it on my backend NodeJs API via an API-REST call, the user makes ...
user avatar
0 votes
0 answers
16 views

How do Dapps (Brave Browser, Odysee, Defi) keep track of and distribute staking rewards?

does anyone know how do Dapps (Brave Browser, Odysee, Defi) keep track of and distribute staking rewards? In my experience, the rewards are updated in real-time fashion, which might imply (1) lots of ...
user avatar

1
2 3 4 5
15