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
0answers
5 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
9 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
45 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
17 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
16 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
16 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
18 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
43 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 ...
0
votes
0answers
20 views

Is it possible to get return value of contract function called as a transaction from JS? [duplicate]

I’m now developing a simple Dapps using truffle platform. My question is about calls my contract functions from JS. I already know that it is possible to get return value of contract function called ...
1
vote
1answer
23 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
16 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
20 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
0answers
18 views

Ethereum Import Wallet for Android using Geth

In Android using Go-Ethereum and with the help of this article I have created the Ethereum Account and the Address is generated, but need to import an existing ethereum account. Can anyone help on ...
0
votes
1answer
41 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
21 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
19 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
32 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?
0
votes
0answers
39 views

Infura API for mobile(ionic) app

I have one little question. Suppose I have private key of user in ionic app. Is this enough to make transactions using infura API and web3?
2
votes
1answer
68 views

Login system for DAPP without metamask

I'm building Dapp on Ethereum. Imagine I have companies to register in my dapp, I will provide them with their own smart contract and public and private key pair, which they will use to just unlock ...
1
vote
1answer
41 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 ( "...
1
vote
0answers
37 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
23 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 ...
3
votes
0answers
20 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
36 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
48 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
1answer
32 views

Installing Ganache GUI on windows 8.1

How to install Ganache UI on windows 8.1 ? I downloaded from Official website but after downloading i am unable to install it on my machine. I tried to install it through power shell but facing ...
2
votes
2answers
62 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
21 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
35 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.
0
votes
0answers
38 views

How to create an Ethereum account without access node?

I am creating an API service but to use it the mobile user would need an ethereum account. I could create the account through the API but it's not safe to send the private key back over HTTP. Is it ...
1
vote
0answers
96 views

How to use mnemonic to recovery my ethereum wallet

I use web3j to create my ethereum wallet.the Code just like down import org.web3j.crypto.Bip39Wallet; import org.web3j.crypto.Credentials; import org.web3j.crypto.ECKeyPair; import org.web3j.crypto....
2
votes
2answers
50 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 ...
1
vote
0answers
23 views

How can I implement ethereum If I'm making an exchange service like cex.io [closed]

I was wondering how cex.io manages ethereum service on their website. I know what happens with bitcoin. They have 1 wallet and daemon on their server for each coin. for example bitcoin. Then When I ...
0
votes
1answer
24 views

How to create withdraw token requests on my custom token sale dashboard

I created a token sale dashboard. Users can send BTC,LTC,ETH to dashboard. When user send BTC, LTC or ETH to dashboard, they get tokens to their dashboard budget (offchain) based on current token ...
1
vote
2answers
48 views

How to get all index value?

contract Bar{ struct Foo{ uint x; } mapping(uint => Foo[]) foo; function add(uint id, uint _x) public { foo[id].push(Foo(_x)); } function get(uint id, ...
1
vote
0answers
18 views

How to interconversion between privatekey and keystore with password in interactive console

When I execute geth attach attaching a active geth node into a interactive console . I could use keystore and password to sendTransaction . But now I only know the raw privateKey,How to execute ...
0
votes
1answer
19 views

Ethereum unlock account

Is there any way to unlock the ethereum account when using the infura api. Can only metamask do it? I would not like to use metamask because not every user has it on the browser
1
vote
0answers
35 views

creation of Hourglass errored: transaction execution failed

I don't know why I'm getting this error while deploying 2 of my contracts. creation of Hourglass errored: transaction execution failed while code compiles successfully no issues there. ...
0
votes
2answers
36 views

How does the User sign Ethereum transactions when interacting with blockchain via an web3j-based intermediate API?

We have a private Ethereum network running in our testbed. And a web3j-based (Java) API exposes various functionalities to the deployed smart contracts on the blockchain. The API connects to the ...
0
votes
2answers
38 views

ETC Stuck in ETH standard wallet contract

I used to use the standard wallet contract in Mist to store ETH and as a result have some ETC still stored in the wallet contract address according to the ETC block explorer. I am trying to figure out ...
0
votes
1answer
36 views

Need help with smart contract

My code on Solidity is: contract Recoverable is Ownable { /// @dev Empty constructor (for now) function Recoverable() public { } /// @dev This will be invoked by the owner, when owner wants ...
1
vote
0answers
19 views

trading a secret message with some person only after money is paid

I want to build a DAPP where person A trades a message with person B for ether. Since the message is secret, person A encrypts the message by using public key of person B and stores the message in ...
0
votes
1answer
73 views

Metamask stuck at Unknown network ID

I'm getting unknown network ID error on transferring a token in meta mask as in the image below. I'm using local network with ganache. I can transfer from metamask account to another after ...
0
votes
0answers
26 views

How does online wallets handle ERC20 tokens behind the scenes? [duplicate]

Described in the title: How do online wallets handle ERC20 tokens behind the scenes? Or centralised exchanges in that matter. Are they simply communicating with the ethereum blockchain to generate ...
2
votes
0answers
35 views

“data” field is not working in Ethereum QR Code mobile payment

Recently, I am working on generating an Ethereum QR code that mobile wallet (e.g. imToken) can scan and pay from there. But the problem is that I cannot pass the data value. I use C# code to generate ...
0
votes
1answer
107 views

Can security tokens (ST-20) and utility tokens (ERC-20) exists on same blockchain?

I am trying to build a dApp in which the functionalities of the dApp can be accessed by utility token but in the same app I wish to tokenize the securities as well. Can my utility tokens and the ...
0
votes
2answers
15 views

How to extract value from hashed output

I am trying to make updates to a standard voting dapp. My aim is to list out voter who has voted for a candidate. So far I have implemented the following: voting.sol: struct voter { bytes32 ...
0
votes
1answer
75 views

Metamask won't display correct balance after creating customrpc for ganache accounts

I made a customrpc network on metamask using the correct server and imported a private key from ganache, which worked but the eth balance is displaying 0 when I expected it to display 100. According ...
0
votes
1answer
37 views

miner.start() cannot deploy my contract

My environment: geth 1.8.11 Ethereum Wallet Mist Browser windows 10 I try to deploy a new contract in the Ethereum Wallet. I execute (miner.start();) in the Geth JavaScript console to get some ...
0
votes
1answer
176 views

web3 and web3 provider engine

Scenario: Import json file and decrypt it Use account to sign the messsage I can do this with web3(Web3.providers.HttpProvider) or with web3-provider-engine. What is major difference between using ...