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
1
vote
0answers
10 views

Where to outsource smart contract developers, and how to manage them as start-up's CEO?

If someone has an idea for a DApp, but needs to hire programming muscle, where online can reliable and innovative smart contract developers be found for hire and outsourcing? and what etiquette and ...
2
votes
0answers
12 views

Is it conventional to host your dapp on a subdomain (e.g. app.uniswap.org), and why?

I've noticed the design pattern of having an enter app button from the home/landing page which opens the dapp in a new tab is quite common. This is something that I don't see in Web2 design. Is there ...
0
votes
0answers
7 views

Problem to connect my DAPP to Rinkeby smart contract

I make small samart contract using Remix and Ganache. I deploy it to Rinkeby test net and got problem to connect my dapp (small web site) to it. My web3 require. const Web3 = require("web3") ...
3
votes
1answer
39 views

Link a library to a smart contract only with Solidity and bytecode

I work in Truffle development environment and use Windows PowerShell. My Solidity code is a test code and is simple. There is a library called Alireza that just compares two uint values. There is a ...
0
votes
1answer
17 views

Get token standard type knowing the contract address and tokenId

How can I implement code that returns whether a token is in the ERC721 or ERC1155 standard, knowing both the contract address and the tokenId? What I tried is that I call a function that exists only ...
0
votes
1answer
13 views

Get quick access to assets, events

How do sites like Opensea get all their data so fast? Because getting the data from the blockchain and fetching the tokenURi's takes a lot of time. So I thought they might store all the assets, events,...
0
votes
1answer
24 views

Fetching token metadata from token URI

Is there an efficient way to get the metadatas of a list of token uri's? Like, what if I have a list of 50 token Uris, would the only way be to send a different get request to each url?
0
votes
0answers
21 views

Is it possible to do transactions in Ethereum without gas fee?

I have developed a DApp to store various asset details. Obviously, for storing each asset detail we have to pay some amount of transaction fee for it. One of my teachers said to me that Since ...
0
votes
1answer
44 views

How to get Ether in private blockchain?

Fast summary: Need a faucet-like funcionality in my private blockchain to give Ether to the newly on-demand created wallets from Android Dapp. I'm working in a project where I've deployed a totally ...
0
votes
1answer
24 views

Trying to burn 1% off each transcation

Can anybody show me how to add a code for burning %1 of each transaction? https://github.com/strainzeh/MADToken/blob/main/MADToken.sol
0
votes
0answers
13 views

Selling NFT's, buyer calls minting function, how to call transfer function?

I'm implementing a dApp to sell NFT's. I want the buyer to call the function on my smart contract to mint the NFT so that they pay for the gas fees. However it seems like they can't then transfer that ...
2
votes
1answer
111 views

As a CS student, where should I start to learn Ethereum development?

I'm a cs student looking to learn ethereum development. I'm very confused about all the things I need to learn. Smart contracts are programmed in solidity but if I want to build any kind of app I will ...
0
votes
0answers
13 views

Hello, I am new to dapp development, I am trying to start a geth node on android

but my application crashes after launching it, here is the error it tells me in my logcat In my MainActivity.java Blockquote public class MainActivity extends AppCompatActivity { //private ...
0
votes
1answer
195 views

Error: Transaction reverted: function call to a non-contract account

I've been trying to debug this for the past 2 days, it has driven me insane. I'm getting this error when testing my contract: Error: Transaction reverted: function call to a non-contract account. It's ...
0
votes
1answer
15 views

Display tokem amount in dollar in dApp frontEnd

How do I return token amount in USD using web3js ..or is there some kindof API to be used ? For instance , say user has 3ETH and also want the user balance to show in USD just as metamask does
2
votes
1answer
16 views

Calculating AAVE intereset rate belonging to different users that transferred into a smart contract

I have a smart contract that accepts user funds and adds them to an AAVE lending pool (DAI for example). Something like this: lendingPool.deposit(stableCoinAddress, amount, address(this), 0); As you ...
1
vote
1answer
27 views

Which are the steps that a developer follows to develop a DApp?

I would like to know if based on your experience, the following steps are correct in order a developer to develop a DApp from the start to the end. Steps: Create an Externally Owned Account (EOA) ...
0
votes
1answer
24 views

Why do web3 dApps need servers?

I see a lot of projects run into server capacity issues at launch (token sale, nft launch, etc). [1], [2] What reason(s) would require these projects to have a server, versus deploying a static ...
0
votes
0answers
23 views

Deploying Goose Finance Front end and Connecting it to Smart Contracts

I recently learned the fundamentals of Solidity and had some smart contracts deployed on testnets using truffle. Also, I've done a simple dapp by finishing dapp university tutorials on youtube. ...
0
votes
1answer
32 views

How can tether issue new coins on the Ethereum and tron chain?

I am trying to create a decentralized version of a money transfer service and I want to build it on the tron network. The problem I am facing is that I need each token to start selling for a certain ...
0
votes
1answer
30 views

Funding contract with LINK tokens revert error

When I try creating a Chainlink contract from "master contract" and fund it with LINK, I keep getting the error: "VM error: revert. revert The transaction has been reverted to the ...
0
votes
1answer
74 views

Connecting to Geth private network from Metamask using RPC URL

I have created a private chain in Geth which is running in machine1. I want to connect to the private chain running in machine1 from machine2's Metamask using rpc. machine1 and machine2 are connected ...
1
vote
1answer
28 views

Is there any advantage or disadvantage of using javascript over solidity when building dapps on etherum?

I am aware that there are libraries that let you build dapps on ethereum. What are the pros and cons of using javascript over solidity for dapps. I know this might sound like a partly subjective ...
1
vote
0answers
48 views

Cryptocurrency is not viable for mass-market application? [closed]

The Idea I am new to cryptocurrency. I am writing an app/game that has its own marketplace for digital items. I have an established userbase of around 120,000 users of which 6,000 are paying customers ...
2
votes
1answer
17 views

JSON UTC to Web3 provider

We are using @truffle/hdwallet-provider [1] to sign transactions when deploying smart contracts on Besu. All the provided examples left the private key or the mnemonic in plain text in the truffle ...
0
votes
1answer
21 views

How to create a Payable function that only accepts a customer token?

I've got a question that I cannot seem to find an answer for, hoping the community can help (and this is my first post here so my apologies if this is the wrong question to ask in the first place). I ...
1
vote
1answer
48 views

How to recognize if a website is a DApp?

A Launch App button often appears on the top-right corner of Ethereum-platform websites. Is this an indication that a link is a link to a DApp (decentralized application)? Are the following two ...
1
vote
0answers
187 views

Issue in Integrating metamask to chrome browser in mobile

I am trying to create an DeFi app by integrating the MetaMask wallet. Desktop The DeFi app works fine with the MetaMask integration Mobile I have my MetaMask setup in my Android mobile. When I tried ...
0
votes
0answers
42 views

Error: *** Deployment Failed ***

I am trying to deploy my contracts, but I keep getting the same error message: Deploying 'Migrations' ---------------------- Error: *** Deployment Failed *** "Migrations" -- sender ...
0
votes
2answers
272 views

Cannot find module react-bootstrap/lib/Breadcrumb

I'm trying to figure out an issue with this tutorial that i'm following, whenever I try to use truffle test within the CMD in the defi-tutorial folder, it comes up with the issue in the header, cannot ...
0
votes
0answers
43 views

Ethreum web3 dapp vs ionic Dapp?

For a school project I am making an ethereum Dapp on ionicwith banck-end on Nodejs. I Cannot find a way to use metamask on my mobile Dapp because it is not a web3 dapp. Any suggestions, is there any ...
0
votes
1answer
562 views

Metamask stopped innjecting Web3. How to inject Web3.js properly?

I've been running a Django application which allows users to sign up/log in using Metamask. Everything worked great until recent breaking changes: In early 2021, MetaMask will no longer inject the ...
0
votes
1answer
28 views

What node(s) does Ethereum broadcast a transaction first? How is it determined?

When I as a user make a transaction, where or what node(s) does it get sent to first? How does an Ethereum node, in terms of implementation details, determine that? Does it send a new transaction to, ...
1
vote
1answer
2k views

How does “swap” work between ERC20 tokens? And what is “swap”?

What is "swap" presicely between ERC20 tokens? Is it exchanging one ERC20 token for the other without fees, in the most possible native way? How is it different from "convert"? Let'...
0
votes
0answers
23 views

Display the user object array in react app using drizzle

I have been trying to do a simple use case where we return all the user details please find my code myComponent.js <div className="section"> <h2>JurStatus</h2> ...
0
votes
0answers
449 views

Cannot find module 'fs-promise' Error when importing a smart contract instance

I get this error when I try to open a page in the DApp I'm developing. Error: Cannot find module 'fs-promise' Require stack: - /Users/eimanalwahhabi/Desktop/RecycleChain/node_modules/swarm-js/lib/api-...
0
votes
0answers
17 views

What is a better way to use whisper to implement a chat room?

I want to use whisper to implement a chat room in my dapp. I learned about whisper, if you want to realize the function of private chat, you need to know the public key of other people. For a user who ...
0
votes
1answer
123 views

Storing hash on blockchain (hash of image stored on ipfs)

I am creating a dapp using react to store image on ipfs and the corresponding hash on blockchain. The purpose of storing hash on blockchain is timestamping, proof of ownership wtc and i wish to ...
0
votes
0answers
17 views

Call Smartcontract

I am working on an assignment to make a dapp. I am now preparing to generate a website via html. The problem I run into is that the buyToken function is not being called correctly yet <!DOCTYPE ...
1
vote
1answer
592 views

Best way to go about connecting multiple wallets to Dapp

What I want: A user to connect a wallet to my dapp (1 of 4 choices, say: Metamask, WalletConnect, Formatic and Portis). The flexibility to create a custom "wallet connect modal" (I've tried ...
0
votes
1answer
67 views

Metamask Wallet Change in Dapp

I wonder something about the usage of the metamask wallet for Dapp. I have implemented an Authentication mechanism to my Dapp with Keycloak, and I ask for blockchain wallet addresses of the users in ...
0
votes
1answer
39 views

High level tool (autogenerated UI) to obtain all the events emitted by the contract?

I'm pretty sure something like this exists, saw it somewhere in the wild, my Google skills need some StackOverflow boost... I would like to provide two data points: contract address name of the event ...
0
votes
1answer
48 views

How I compile dapp in browser just like I used to compile my Visual Studio code using xampp in my browser?

Whenever I create/ edit some project on my Visual studio code, I put it inside htdocs of xampp folder. Then I start Xampp control panel and give it some localhost port number so that I would compile ...
0
votes
0answers
72 views

How to show token balance from a ETH address in my Android App?

I have an Android App and I want to show the balance of an especific token of the user wallet Address IE: show how many CHAINLINK are holding the user on his wallet Thanks in advance
1
vote
0answers
67 views

Stuck at “ipfs process started” after running embark

I ran the following commands, embark demo cd embark_demo embark run embark info invoked /home/k00lawn/.nvm/versions/node/v10.17.0/lib/node_modules/embark/bin/embark embark info located /home/k00lawn/...
0
votes
0answers
23 views

Negative integer function

I have the following problem, one of my function has a variable where the uint can be negative but I don't know of that before the user enter in the form the integer. How do I settle this problem ? ...
0
votes
1answer
880 views

“Migrations” — sender account not recognized

This is my truffle.js i've removed the credentials marked as * var HDWalletProvider = require('@truffle/hdwallet-provider'); var fs = require('fs'); var infura_apikey = "*" var mnemonic = &...
0
votes
1answer
287 views

How to set values for Solidity contract state variables from JavaScript front-end?

I am trying to set values to the following contract public state variables from a frontend javascript code. But it seems not working. Contract public state variables: // Current state of the auction. ...
0
votes
1answer
28 views

how to check instantly when a user charges amount to his address generated by our app

Our app needs to detect and create a charging order asap whenever a user charges an amount of ETH/USDT(ERC20). Due to the limit of infura API, we decided to set up our own ETH nodes and use JAVA to ...
0
votes
1answer
359 views

Compilation Error

Hi guys I got this error when I try to compile using truffle develop. truffle(develop)> compile Compiling your contracts... Compiling ./contracts/StarNotary.sol /mnt/d/Blockchain/...

1
2 3 4 5
14