Questions tagged [ethereum-wallet-dapp]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
252 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
70 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
88 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
135 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
216 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
63 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
43 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
40 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
171 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
23 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
833 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
25 views

What is this address and for what?

What is this address and for what? 0x000000000000000000000000000000000000bEEF
0
votes
1answer
57 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
29 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
257 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
108 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
43 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
54 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
42 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
79 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
188 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
25 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
128 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
42 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
145 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
323 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
367 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
23 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
46 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
74 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
48 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
21 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()", "...
4
votes
3answers
2k 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
3answers
595 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;...
2
votes
2answers
123 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
2k 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
111 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) ...
1
vote
1answer
133 views

What is the difference between writing emit in an event and not using emit? [duplicate]

For example, event CoinTransfer(address sender, address receiver, uint amount); What is the difference between CoinTransfer(msg.sender, receiver, amount); and emit CoinTransfer(msg.sender, receiver, ...
0
votes
2answers
194 views

Can a payment be made automatically from a smart contract?

If I have two people who want to make a payment at a certain time, eg 1pm tomorrow for 1 ETH, can a smart contract perform that task without the payer stating their private key at the time of the ...
1
vote
1answer
35 views

How to setup a DOMAIN name for my project? [closed]

I have created one project by writing samrtcontracts and web3api . NOW i want to deploy my code into live using domain name .so that all the users can use it. How can i deploy my code into live and ...
2
votes
0answers
42 views

What is a suitable pattern for building a web/mobile app that leverages ether? [closed]

Noob to ether dev. Looking to understand how to build an app that leverages Ethereum - what suitable patterns are out there (ideally to go via some tutorials). A few apps examples (from easy to ...
1
vote
0answers
15 views

Backup The Ethereum Wallet Account names

As you know, the keystore folder stores account keys. So if I want open my accounts(which was created by Linux client) by MacOS client I need just copy the keystore folder. But in this way my ...
2
votes
1answer
342 views

Metamask Warning

In an effort to improve user privacy, MetaMask will stop exposing user accounts to dapps by default beginning November 2nd, 2018. Dapps should call provider.enable() in order to view and use accounts. ...
1
vote
3answers
71 views

What is Metamask?

I know it's a dApp web3 browser, a wallet. But which ethereum client is used in the back end to interact with block chain? How the same account is able to connect with all networks (mainnet,testnet, ...
1
vote
2answers
195 views

Escrow account creation in the example ICO contract from openzeppelin

I am understanding the ICO as explained in openzeppelin https://github.com/OpenZeppelin/openzeppelin-solidity/tree/master/contracts/examples When I called the "Buy tokens" the beneficiary is getting ...
0
votes
2answers
459 views

Truffle : dotenv is not working in truffle.js

I am trying to get the seed words from the powershell command prompt. Hence I am using the 'dotenv' in truffle.js require('dotenv').config(); console.log('aa - process.env.MNEMONIC : '+mnemonic); ...
1
vote
0answers
805 views

Issue in installing truffle-hdwallet-provider

I am trying to install "truffle-hdwallet-provider" using the command "npm i truffle-hdwallet-provider --save". I am getting the beow mentioned error. Please assist me in resolving this. truffle-...
1
vote
1answer
349 views

What are different between peers and remote in ethereum wallet?

I run ethereum wallet on my Windows 10 PC, sometimes it displays "1 peers", and sometimes it display "remote", would you please see the image? What are different between peers and remote in ethereum ...