Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ethereum-wallet-dapp]

Tag for the questions related to the deployment of the contracts using Ethereum wallet.

0
votes
1answer
16 views

How to pass a document as function argument(upload document)

I am working on a project in solidity where I want to generate a SHA256 hash value for the document. So which means when I choose a file using a function the function should return the hash value. ...
0
votes
0answers
12 views

getting an error while deploying smart contract of ethereum

I am getting an error while trying to deploy smart contract of voting dapp on ethereum I have searched for the solution for the same and i got a question with same problem but there no solution. ...
1
vote
0answers
55 views

How to remove whitespace from string?

I have a function where one of arguments is a string. How would I check the string for leading/trailing whitespace and remove those characters? If i get something like this: " " => "" or " ...
2
votes
2answers
304 views

How to connect with public Ethereum Blockchain on a backend/web server?

In the backend of a Web application I have to communicate with the public Ethereum Blockchain. On local development machine, I run ganache as testrpc and connect with such a line of code: web3 = new ...
0
votes
1answer
31 views

Unhandled promise rejection (rejection id: 1): Error: Transaction has been reverted by the EVM:

I don't know where i'm doing mistake. I have deployed my contract through remix and truffle and it was deployed without any mistake but now i'm deploying it from web3 solc@0.4.24 version and EVM is ...
1
vote
1answer
24 views

Can the Android Metamask Extension be used with DApps?

I've successfully downloaded the Metamask Firefox Add-on, and imported my wallet into it. However I'm failing to see how I can use this add-on from within my DApp like I do on Chrome, using the ...
2
votes
2answers
27 views

USD Coin Balance Check By Web3

Now I am getting trouble on checking the USDC balance in my wallet address using web3. USDC is also said that it is ERC20 token, but when I checked the token contract ...
0
votes
0answers
24 views

Posted byu/johnthemiler 5 hours ago Ethereum Wallet / Mist 0.11.1 Checksum error right after installation [duplicate]

You might be getting this question a lot, but I tried googling first and nothing works. I am trying to set up an Ethereum Wallet locally, but everytime I run the client I get the Checksum error, and ...
0
votes
0answers
24 views

Ethereum code to split money in half and store half in the contract and send the other half to an address

I am trying to create a ethereum smart contract that splits the money in half and send half the money to a contract and sends the other half to a address. Below is the code I have. I would much ...
0
votes
1answer
7 views

Setting ERC-20 token price

I'm currently trying to set the token price of my ERC-20 token.The problem I'm having is trying to set the price to ETH(0.01) per token, but the closest value I keep getting to is ETH(0.001) per token ...
0
votes
0answers
42 views

How can I display the data returned from the solidity function?

Here is a js file that will try to get the list of departments entered into the system. I wanted to display all the department's name in a html page. But nothing is displaying. Below code is the js ...
0
votes
1answer
34 views

How to automatically pre generate thousands of ETH addresses for my app users

I'm building an app where every user will have app-generated ETH Wallet to do transactions with internal ERC20 Tokens. I would like to pre-generate wallets for my users, and assign every wallet upon ...
0
votes
1answer
38 views

Sending private key to server side

I am trying to build new Dapp application for our startup by using web3j , I am facing an issue with signing the transaction from server side , because i need to know the private key for the client (...
1
vote
1answer
25 views

How to have users sign transactions on an ethereum based platform without giving up their Private Keys to the platform?

How to have users sign transactions on an ethereum based platform without surrendering their Private Keys to the platform? Need the process to be automated, while users not giving up their private ...
1
vote
1answer
27 views

Ethereum Game design idea

Is it possible to write emacs dunnet game in solidity? Not that there is any reason for the game to be on a blockchain, it is for a class assignment. I tried 2048 game. But it seems to have some ...
1
vote
1answer
17 views

Can you transfer money from a smart contract to an eth address without writing code?

I have an ethereum contract, which linked to a wallet that I control (i.e. I have the private key). The contract has 241 Ether in it. Is there an easy tool available to get the ether out of the ...
0
votes
2answers
18 views

Compilation error in ethereum wallet

I am trying to compile the example contract in https://ethereum.org/token and following along with the instructions. The Ethereum wallet cannot compile it though. I get the following error message ...
0
votes
0answers
11 views

Ethereum wallet not deploying token

I have finished coding my token with the Ethereum wallet, I went through the code and it is all correct, as I am getting no error. However, the contract is not the deploying. Instead the ethereum ...
0
votes
1answer
16 views

how to generate multiple ethereum addres using Hd wallet?

const mnemonic= 'clown shiver beach wheel this mixture emotion illness fatigue amateur talent bitter' console.log(0x${hdwallet.derive(m/44'/60'/0'/0/0).getAddress().toString('hex')}) const seed = ...
0
votes
0answers
26 views

Error use account to deploy the smartcontract: Send

let accounts; let inbox; beforeEach(async () => { //get a list of all accounts accounts = await web3.eth.getAccounts(); //use one of those accounts to deploy the contract inbox = ...
1
vote
1answer
32 views

what is the role of merkle tree in ethereum? [duplicate]

I know the functionality of merkle tree, it makes a root hash from a group of data.My question is how merkle tree is act in ethereum blockchain,precisesly in the place of transaction hash,block hash,...
1
vote
1answer
59 views

HDWalletProvider & truffleconfig: 'truffle migrate' will compile but not do anything else

I am trying to build a React app with Truffle. Firstly, my file structure is like so, with root_dir being the project root directory: root_dir/node_modules/src/libs/truffle All of truffle's files, ...
2
votes
1answer
28 views

what is difference in ethereum transaction after constatanople upgrade?

I have heard that Constantinople update transverse the consensus protocol of ethereum from proof of work to proof of stake. So they claimed that this update could speed up the TPS(transaction per ...
1
vote
0answers
30 views

scatter confirmation for sign a transaction?

I have built an dapp. It's almost like twitter where the user can tweet and also use as a microblogging site in blockchain.I have used scatter as transaction signer for using my dapp. The real problem ...
3
votes
2answers
82 views

how to setup a ethereum private blockchain?

Does anyone know how to set up a private blockchain in ethereum network? is that possible to run a private ethereum node? I have seen forking of public blockchain like EOS into a private blockchain.i ...
0
votes
1answer
55 views

Mapping problem

**I am Using Solidity compiler 0.4.11 When I compile my code i get the error that is " Error: Type "mapping(string => string)" not supported for state variable.\n\tmapping (string => string) dataLink *...
0
votes
0answers
30 views

Function works on ethfiddle but reverts in mist

I've had this occur a few times, where I create a smart contract and one of the functions works in ethfiddle but reverts in Mist. I realized that in the Mist wallet, when I run the functions that fail,...
0
votes
1answer
27 views

How do I make my private Ethereum network public? [closed]

So after a lot of reading I was able to make my own private Ethereum network, most of the readings I did showed me how to test it privately, but none of them actually explained how to make it public, ...
1
vote
2answers
58 views

Smart Contract Working on Remix but not TestNet

This question has been asked before. however, those answers did not help me. (of course, I now can't find the "answer" atm) It said that Ropsten (what I was currently using) has fewer miners - or ...
0
votes
1answer
143 views

org.web3j.tx.exceptions.ContractCallException: Empty value (0x) returned from contract

Problem: org.web3j.tx.exceptions.ContractCallException: Empty value (0x) returned from contract The code is as follows.... My java: String owner = managedWalletLookup.getOwner(contractAddress).send(...
0
votes
1answer
40 views

Decoding Hex value in solidity

I am trying to view values stored on my ethereum contract using ethereum wallet. Currently the values are being placed onto the contract in hex format. Is there a way to decode them on the contract so ...
0
votes
1answer
63 views

Invalid JSON Response while connecting DApp, Metamask and Backend

I am getting some error(picture below) while trying to connect DApp with a backend. One day ago, everything worked fine, now I got an error: "basic auth failure". Contracts are deployed on Ropsten ...
0
votes
1answer
67 views

web3 reading memory string gives error

i have declared a string variable in struct like struct test{ string testString; } I have written a function to access the variable like function getteststring(uint256 index)public ...
1
vote
1answer
194 views

Truffle migrate not working

Every time I enter truffle migrate command in the terminal it doesn't do anything but takes some time and nothing happens after that. I am using Truffle version 5.0.4
0
votes
2answers
45 views

Blochchain Smart Contract App

Actually Im working on a blockchain application based on smart contracts that allows to buy/sell properties and paying in cryptocurrency using Ethereum and Bitcoin. I wonder I develop smart contract ...
0
votes
1answer
27 views

Recover myetherwallet account with json but without password

I have lost my usb stick which contained password for access to my myetherwallet. Are there any ways to recover that, only thing I have is .json file, can I get from it private key or is there any way ...
1
vote
3answers
32 views

Why I can not trade coins stored in cold wallet?

There are two kinds of wallet hot wallet and a cold wallet. Ideally, people keep minimum balance for trading in a hot wallet and most of the coins are stored in cold wallet. I am wondering why coins ...
0
votes
1answer
27 views

If Address and private key doesn't get stored in Ethereum,then how will it validate users?

I think in a normal database,the username and password gets stored in the database and when a user enters his/her credentials,it checks with the content in the database to know his/her Authenticity. ...
0
votes
1answer
83 views

To handle emitted events from solidity in javascript in truffle suite

The function I am accessing will emit events i need to use that event but the function is a transaction when i am accessing the event it turns as promise pending . So suggest me some methods. thanks! ...
1
vote
1answer
20 views

I want to change 17k addresses password on ubuntu server

I have 17k ethereum addresses. I want to change passphrase all of them. Are there any way to change all addresses passphrase? geth account update 0x... It is really hard to change 17k addresses ...
0
votes
0answers
448 views

Type address is not implicitly convertible to expected type address payable [duplicate]

Can you please help me out how to explicitly convert address to address payable as i am using solidity compiler above 0.5 its asking me to have address payable when i use transfer().
1
vote
1answer
20 views

What is this address and for what?

What is this address and for what? 0x000000000000000000000000000000000000bEEF
0
votes
1answer
42 views

Resource files are not not publishing in ipfs name publish

I made sample dapp application for interacting with smart contract and i developed a basic ui when i am publishing it to ipfs like i did seeing a tutorial and ipfs documentation, i can get only index....
0
votes
1answer
17 views

Ethereum Smart Contract with Custom Fee and Percentage of the collected Fee Distrusted token holder

I wanted to know is there a possibility to create a smart contract for a token wherein the transaction fee could be overridden with the network fee and the fee collected on the transaction can be ...
0
votes
2answers
151 views

how to create genesis block on ethereum?

geth --datadir ./ init customgenesis.json Fatal: Failed to read genesis file: open customgenesis.json: no such file or directory
0
votes
1answer
41 views

Which smart contract should I use to wrap Eth [closed]

I need Weth for my dapp. So I looked at how AirSwap converts ETH to Weth. On the Rinkeby testnet, AirSwap calls this contract and uses the "deposit" function. I see from the code how this would work. ...
0
votes
1answer
13 views

Is it possible to provide some manual data to create private key for the ethereum account?

We were trying to provide some manual data to create the private key if I want to create a new ethereum account using this private key.
0
votes
1answer
37 views

Is it ok to build app with huge data in ethereum blockchain

I agree that the smart contract works well for small Apps. Is it ok to develop a app with huge data. For this let us take an example of building a huge patient database across hospitals (only with key ...
0
votes
1answer
40 views

Ethereum Decentralized Wallet Service API [closed]

With the decentralized nature of the blockchain space it makes sense for this to be a thing. I need a wallet API service that does not store private keys, allows our servers to create a wallet & ...
0
votes
0answers
36 views

Recommended Architecture for Deployment of Web3 APIS

I am making a dapp and need a suggestion for below: I have build smart contracts and deployed on Ropsen. I have written web3 Methods to interact with smart contracts with the help of Infura. I have ...