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
150 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
143 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, ...
1
vote
2answers
286 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
1answer
1k views

What is a Erc20 (UBT) token I received in my wallet according to EtherScan?

I look in my EtherScan and it says that 5 days ago and 10 in value I received a token called Erc20(UBT) and I click on it, it's a Universal Bonus Token that came from an address = 0x00000000000... ...
2
votes
0answers
43 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
355 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. ...
2
votes
1answer
281 views

How to give more resources to Ethereum Wallet?

I downloaded the Ethereum Wallet a few weeks ago. Since then it has been syncing with the network (I don't have it running all the time). As today the block download progress is 3.700.000/3.912.000. ...
1
vote
3answers
73 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
1answer
362 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 ...
1
vote
2answers
215 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
1answer
386 views

Ethereum downloading blocks stuck

I don't know much about investing as i am still new to this. I use ethereum node Geth 1.7.2. I bought a certain percentage of ethereum without letting it sync or download the blocks first (though I ...
0
votes
0answers
19 views

How to use bytes to get the same hashed output [duplicate]

I previously asked a question here: link to previous question. Found out the answer is to use string instead of bytes here: pragma solidity ^0.4.18; contract C { bytes32 public temp; ...
1
vote
1answer
285 views

How to access state of the contract per transaction event?

I've a contract which has a price attribute. Price goes up with each transaction. contract MyContract{ uint256 public price; .... other methods } For transaction I receive following event ...
0
votes
1answer
120 views

How to use our own crypto currency for transactions in smart contract

I have created my own crypto-currency and tried sending it to an address through my ethereum wallet but can anyone tell me that how can I use this crypto-currency in another smart contract for ...
0
votes
1answer
2k views

Showing “We couldn't estimate the gas” error in estimated fee consumption field while executing a contract in ethereum wallet

I have tried creating contracts in ethereum wallet but sometimes it shows an error while executing those contracts. The error says It seems this transaction will fail. If you submit it, it may consume ...
1
vote
1answer
2k views

get ERC20 token balance with web3j

I am able to get the balance of my custom token with web3 javascript.The code is shown below. However, when i switch to web3j, I don't find equivalent method like web3.eth.contract(contractABI).at(...
0
votes
1answer
446 views

Look for an address in a common.Address array in Golang

Im essentially looking for a way to use bytes.Compare() but on an array of ethereum addresses that are of type common.Address. I need to search an array to see if another address exists in it and then ...
1
vote
2answers
1k views

How to run a script with geth attach?

I am trying to get latest blocks data and gets all the transaction IDS inside the block and send that transaction IDS array to an api server. I am using this command in geth console : eth.filter('...
1
vote
0answers
319 views

How can I create public-private key for a ERC20 wallet that using user's email address?

I am working on a side project that provides a wallet (Think Coinbase, Binance, etc) like interface to users where they will sign in using username and password. To be able to provide a clearer ...
0
votes
2answers
1k views

How to get Ether in metamask account?

I am using Metamask for testing my contract which requires some ether, but, I don't have any ether in those accounts. I know Remix which provides four accounts with 100 eth. I have no idea how to get ...
1
vote
2answers
492 views

Access ethereum client from remote machine

I need to access ethereum client setup on remote hosted machine (google cloud ). How can I access the client from the web browser of my local machine ? Current installations on my machine user@...
0
votes
2answers
519 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
871 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
0answers
20 views

Wallet files in a Dapp

I am developing an application from the truffle webpack and I have created my own wallet, adding my account to a json file: $.getJSON('../wallet.json', function(data) { var password = "xxx"; ...
2
votes
2answers
988 views

How to run ethereum wallet on a light mode linux

I just installed ethereum wallet and run from command line. After wallet started it began to download all blocks. Do I really need all that blocks to just use coins (not mining)? How can I use wallet ...
1
vote
2answers
735 views

How can I set gas and/or gasPrice on a Token Contract ?

I copied this token contract from Ethereum.org, and after deploy to Rinkeby, I could not buy tokens. I really do not know why, but I think that's because I did not set the gas on contract. is there ...
1
vote
1answer
496 views

Error when calling a function of a smart contract with web3j

I am trying to use a function which returns a value of the smart contract (pakoin). contract Pacoin { /* This creates an array with all balances */ mapping (address => uint256) public ...
0
votes
1answer
385 views

Truffle Develop Could not find suitable configuration file

Basically, after I installed the truffle the command: nom truffle -g . Then I went to set up the metamask on the google chrome. Once the metamask is set up then I try the command: truffle develop and ...
1
vote
1answer
37 views

Unknown wallet address on private development chain

Apologies in advance for the long post. I'm new to Ethereum and don't know which details are significant and which are not. I'm trying to learn about dapps by following an example in this book. My ...
0
votes
1answer
71 views

Estimation of gas in web3js 0.20

Q:- While sending only Ether One wallet to another wallet(NO SMART CONTRACT), do we need to define the default gas limit and price? i.e. 21000 * 3 OR 21000 * 4 OR 21000 * 5 etc Or I've need to use ...
0
votes
3answers
374 views

Data Model - Data Warehouse SQL Based - Deploy in Blockchain Ethereum

I am looking for a little clarification/guidance. I currently have a SaaS-based product that is delivered to institutions. I operate a serverless architecture, with an individual database for each ...
0
votes
2answers
592 views

What are offchain and onchain Transactions?

What is meant by off-chain and on-chain transactions? I don't get the meaning of off-chain and on-chain in general.
1
vote
1answer
50 views

Allowing multiple polling for user

Is there a way to allow user to vote for multiple proposals. For example: User A can vote for proposals :P1,P2,P3,etc. Once A has voted for P1 he should not be allowed to vote for P1 but is eligible ...
1
vote
2answers
536 views

How to use MEW to access simple wallet contract created in Ethereum Wallet / Mist

I picked up some ETH around a year and a half ago and left it in a simple wallet contract created using the Ethereum Wallet / Mist in July 2017. I'm offering a reward of $100 in ETH to the person ...
0
votes
2answers
103 views

Require validation error not working

I tried using require method in solidity in the following way: require(validate(personName),"Error: Invalid Person") In this case i am checking if a person is already added to my person list. If not ...
1
vote
1answer
203 views

Golang How to slice Ethereum log events from smart contract to a more readable format

Im looking to use a channel to watch contract log events but the output returns a byte array like this the go code i am using looks like this package main import ( "...
0
votes
1answer
121 views

How get the private key using web3js?

is it possible to get the private key of ethereum wallet using web3js? I want to encrypt data using the ethererum keys?
2
votes
2answers
179 views

How do I update data for project using blockchain (Ethereum)?

I am very new to creating blockchain dapps, so some guidance would be appreciated. I am conceptualizing how to approach creating a private blockchain so that users can communicate about the status of ...
1
vote
0answers
43 views

Case study : Blockchain as a service [closed]

I have a web application which has DynamoDB as the database. I want to store some SCORE in a DynamoDB table. How can I restrict this SCORE to only some set of people in my web application can modify ...
2
votes
0answers
54 views

Can one store short text data when transacting ERC20 tokens? [duplicate]

I am having trouble understanding if i can store short pieces of text when I send an ERC20 token. I have successfully stored a small message when transacting ETH by converting it to HEX and adding it ...
6
votes
2answers
293 views

What's the chainstructure that mist is downloading?

What is the highest number of chain structures that I need to sync with? I'm currently on 10.08 million, and the block sync is stuck at 2,562,029. Is this normal? The website telling me which block ...
3
votes
0answers
24 views

Ethereum wallet accounts all use same password though I made different ones?

(tech level, beginner) installed wallet version win64-0-11-1 deployed a contract, made a token using the example code on ethereum site. had two accounts in the wallet. used main account to send ...
2
votes
1answer
191 views

msg.sender is Null in Base Constructor

When I create the child class object and try to access value of msg.sender from parent class it always comes 0. Can anyone please help me in this? Below is the sample code: contract Test1 is Test2 { ...
-2
votes
2answers
155 views

My Private key from myetherwallet.com was stolen, Can I add more steps to access my wallet?

yesterday I was cheated by this MEW address user:0x83ecb676706aa5c7cf72384723935dd1195dcb3e He/She sent my 0.2549 Eth from my ETH Wallet address :0xe6b0d7f7d18c14015d47ecc77cf5c0009f34bb18 Shit!!! ...
1
vote
0answers
80 views

Insufficient funds for gas * price + value Etherum Wallet

Version: `0.11.1` OS & Version: windows Node version: `geth 1.8.13` Number of blocks synchronized: 55 Private network I am testing with Ethereum Wallet using the private test network created by ...
1
vote
1answer
244 views

How to encrypt file before storing into IPFS network in Javascript? [closed]

I want to encrypt file before storing into IPFS network so that only person who is uploading a file should be able to decrypt.
1
vote
2answers
748 views

Unable to test allowance and transferFrom function in a ERC20 contract?

I am learning ERC20 contract and stuck with allowance and transferFrom part. Approve function approves an allowance for an address (spender) to transfer tokens from owner's contract to another ...
2
votes
2answers
185 views

First Time Ethereum Wallet User Setup Questions

I will try to make this a fast post with just a few questions I cannot figure out the answers to: I am trying to accept/send ETH payments and have downloaded, installed, and created a wallet using ...