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.

1
vote
1answer
20 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, ...
1
vote
1answer
18 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
18 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 ...
2
votes
2answers
37 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 ...
-2
votes
0answers
21 views

Error: Type “mapping(string => string)” not supported for state variable.\n\tmapping (string => string) dataLink; [closed]

My work is in terminal. First i install the solidity compiler by $ sudo npm install solc@0.4.11 $ node ...
0
votes
1answer
48 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
13 views

Transferring crypto tokens [closed]

I have created a smart contract in remix IDE and deployed successfully, I need to transfer my token (From distributor wallet to users wallet) through my website. I have tried various d-apps it is ...
0
votes
0answers
28 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
20 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
44 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
33 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
22 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
35 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
23 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
109 views

truffle migrate not working

every time I enter truffle migrate command in the terminal it doesn't does anything but takes some time and nothing happens after that. I am using Truffle version 5.0.4
0
votes
2answers
33 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
16 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
28 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
21 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
36 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
17 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
183 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
17 views

What is this address and for what?

What is this address and for what? 0x000000000000000000000000000000000000bEEF
0
votes
1answer
30 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
15 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
75 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
26 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
33 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
31 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
31 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 ...
0
votes
0answers
42 views

i can't get rid of this error

const HDWalletProvider = require("truffle-hdwallet-provider"); const Web3 = require('web3'); const {interface,bytecode} = require('./compile.js'); const provider = new HDWalletProvider( 'slim ...
0
votes
1answer
76 views

How can we access private blockchain from another network?

I have private Ethereum network running on my local network with two sealer node and one bootnode. I have deployed the private blockchain and configured it using geth. Now I want to create another ...
0
votes
1answer
22 views

can an ethereum contract control alternative assets like btc?

can ethereum contracts control other assets, where the actual contract owns the btc and will only release it back to the address it was sent from (to avoid a DAO type hack) once a certain signal is ...
2
votes
0answers
75 views

How can ethereum token use as payment gateway on ecommerce website [closed]

I have problem that if I created ethereum token and I want to use it in real project . especially in payment gateway . How can integrate ethereum token as payment in ecommerce website and how can ...
1
vote
0answers
34 views

ethereum wallet running a private net 0 peers 0 waiting for blocks

am using geth VRSION: 1.8.20-stable-24d727b6 and ethereum wallet Ethereum-Wallet-linux64-0-9-3 and i am using Ubuntu 18.04.1 LTS in the geth console i started the miner but either is not ...
2
votes
1answer
63 views

ethereum wallet:Your computer's clock is not synced.

i am using geth VRSION: 1.8.20-stable-24d727b6 and ethereum wallet Ethereum-Wallet-linux64-0-9-3 and i am using Ubuntu 18.04.1 LTS and on wallet startup wallet is showing the error message here ...
1
vote
1answer
243 views

How to hide my eth balance [duplicate]

i want to hide my eth balance from myetherwallet, etherscan , ethplorer .how to hide my eth balance in my ether wallet , etherscan , ethplorer. any methods available, please reply thanks
1
vote
1answer
209 views

Unusual error with bytes calldata

pragma solidity >=0.4.22 <0.6.0; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; } contract ...
1
vote
1answer
20 views

is there any method convert mutiple params to one bytes in web3js ,and then get these original data from bytes in solidity?

eg: the params in js code below,how to convert to one bytes var min=100; var max=100000000000; var price=1000000000000000000000000000; var name="john"; in solidity code below,how to get original ...
1
vote
1answer
36 views

Token transfer is not working

I am trying to transfer a token from a token contract. the control reaches till the point where I have the transfer statement later it fails. I do not understand why it is failing. I made sure the ...
1
vote
0answers
58 views

Unable to call setter function in solidity using Infura

Solidity code contract Greeter { string public greeting; function Greeter() public { greeting = 'Hello'; } function setGreeting(string _greeting) public { greeting = _greeting; } function ...
0
votes
1answer
38 views

Mineable Tokens? Is it possible? If so, how can I make one? [duplicate]

Just wondering if you could make a ethereum token that is mineable. I saw this link, but don't really know about it and i dont know anything about solidity. Can someone please help me? Thanks, ...
0
votes
1answer
17 views

Error creating contracts on Ethereum wallet. Need help [duplicate]

I am trying to create an ERC20 token off of ethereum, but when I put the code in the editor in the ethereum wallet, I get a weird error. It says: "throw" is deprecated in favour of "revert()", "...
-3
votes
1answer
51 views

How to built the own wallet using solidity [closed]

I am working on blockchain . I created own cryptocurrency and i want to transfer the coin by own wallet so how to built wallet. I want to built own ethereum wallet to transfer the coins.so share the ...
1
vote
2answers
563 views

address.transfer not working

pragma solidity ^0.4.23; contract ApprovalContract { address public sender; address public receiver; address public constant approver = 0x5AEDA56215b167893e80B4fE645BA6d5Bab767DE; constructor() ...
0
votes
2answers
250 views

Error from Remix: “ParserError: Expected primary expression”

This is my code: pragma solidity>0.4.99<0.6.0; contract Election { struct Candidate { string name; uint voteCount; } struct Voter { bool authorized; bool voted; uint vote;...
0
votes
2answers
50 views

Golang Equivalent to list accounts on node - web3.eth.Accounts()

Does anyone know if its possible to get a list of the accounts on a node using golang, after Dialing to the node, basic PoC would be assuming the accounts are already unlocked via the CLI Basically ...
5
votes
3answers
714 views

Transfer from contract address

I created a contract with a payable function but the ether is stored in the contract I am looking for a way to transfer the ether to another address
0
votes
1answer
63 views

Getting “Contract Compilation failed” error

I am trying to run my first contract and getting this error "Contract Compilation failed". pragma solidity >=0.4.0 <0.6.0; contract SimpleStorage { uint storedData; function set(uint x) ...