Stack Exchange Network

Stack Exchange network consists of 174 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
18 views

Why does the Warning about Solidity come up?

# Why does the Warning come up? struct Owner { address owner; string ownerName; string petName; uint ownerprice; string petInfo; string petselltext; ...
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
30 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
29 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
25 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
30 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
41 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
19 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
33 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
17 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
33 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
230 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
85 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
19 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
22 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
47 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
35 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
14 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
29 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
1answer
173 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
130 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
1answer
28 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
321 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
47 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
29 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
51 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
22 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 ...
1
vote
0answers
30 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
12 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
108 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
41 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
81 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
104 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
153 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
146 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
0answers
16 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"; ...
0
votes
1answer
15 views

Unable to Generate Address Endpoint Blockcypher

I am trying to generate an address using Blockcyphers Address Endpoint using cUrl. - https://api.blockcypher.com/v1/eth/main/addrs?token=eth But it returns this error - "Endpoint not found. Please ...
1
vote
1answer
130 views

web3.js new accounts without local node!

I am trying to develop an dapp, but since I am running a small server (Windows Sever 2012 R2) with limited space I don't want to host/install an ethereum node, nor geth in my server, because as many ...
0
votes
1answer
116 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
22 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
60 views

Could not resolve placeholder 'XXXX' in value “YYY”

I am unable to read my application.properties file.Here is my code for application.properties: eth.network.url="https://rinkeby.infura.io/v3/9ea96ecdf13c4756a99c19f4f34e679e"; WORKING_DIRECTORY= "~/...
0
votes
1answer
28 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
1answer
73 views

How to map multiple time and index value on same address

I wish to map the time to the address key. But currently it is working on the index key only. I just want to map time as well. Means the current time. So that I can able to get the record with time as ...
1
vote
1answer
61 views

Input byte array must be in range 0 < M <= 32 and length must match type-web3j

I have created an api to addCandidates. But when i run the api i get error: Input byte array must be in range 0 < M <= 32 and length must match type My codesnippet for addCandidates is: @...
0
votes
1answer
23 views

acess variable from token contract to ico contract , both placed in diffrent files

//token.sol pragma solidity ^0.4.24; /*import "./Ownable.sol"; */ contract ERC20Interface { function totalSupply() public constant returns (uint); function balanceOf(address tokenOwner) ...
0
votes
1answer
72 views

How to read previous blocks data?

I'm new to block chain technology. I'm trying to store and read blocks using testRPC along web3.js. I'm able to get the latest block data but not able to fetch previous blocks data. Please some one ...
0
votes
1answer
123 views

Uncaught Error: CONNECTION ERROR: Couldn't connect to node web3.min.js:1 http://localhost:8545

**Hi, I am doing a sample project on Ethereum where 2 fields ( Emp name, Emp Id) will be taken from the UI and set those values using a smart contract and show the values back to UI. Getting below 2 ...
1
vote
1answer
29 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 ...
0
votes
2answers
30 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 ...
0
votes
1answer
42 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?