The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2answers
22 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
2answers
335 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
78 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 ...
1
vote
1answer
520 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 ...
0
votes
1answer
30 views

The Token sale contract is returning an exception everytime. Tested on ropsten and there it is working fine

The below is the code for The token: pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }...
0
votes
2answers
840 views

Using Ethereum public and private keys to encrypt and decrypt message (metamask client)

I am trying to use Ethereum private and public keys for message encryption like PGP and I found out this npm module on github, https://github.com/pubkey/eth-crypto#encryptwithpublickey, which it lets ...
0
votes
1answer
235 views

How can we assign unique hash id to the id that created inside our smart contract in ethereum?

I am using truffle, ganache and web3. I am initializing user id in smart contract while deploying the smart contract. As of now, everything is done by account[0] of Ganache. Now, I want functionality ...
1
vote
1answer
253 views

NodeJS with HDWalletProvider

I want to execute signed Ethereum transactions from a NodeJS program. I am creating a web3_provider like this var contract = require("truffle-contract"); var provider = new HDWalletProvider("nemonic"...
1
vote
1answer
284 views

Do you know any good code sample of Web3j with Android? [closed]

Do you have any good code sample of Web3j with Android? There is an example in the official docs, but I don't think it is not well self explanatory. I'd like to see an example of wallet generating or ...
0
votes
2answers
563 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.
0
votes
1answer
550 views

Error in Ethereum Wallet:“Couldn't estimate gas, resorting to default parameters. Transaction is likely cheaper than the estimate”

I am using ethereum wallet for deploying contracts in my private blockchain. But whenever I try to send a transaction in my ethereum wallet it shows an error that says, "Couldn't estimate gas, ...
1
vote
1answer
1k views

Getting this message in mist: Couldn't estimate gas, resorting to default parameters. Transaction is likely cheaper than the estimate

What is this error message in red: Couldn't estimate gas, resorting to default parameters. Transaction is likely cheaper than the estimate I have written a smart contract: pragma solidity ^0.4....
2
votes
1answer
86 views

Can't use constructor() when deploying a contract from ethereum wallet

Take the following code: pragma solidity 0.4.24; contract TestCoin { mapping(address => uint256) public balanceOf; uint256 public totalSupply; constructor(uint256 initialSupply) ...
0
votes
1answer
46 views

Access DApps publicly

I have created my own private blockchain network in LAN.I am using admin.peer() function for adding a new peer to network,for this admin.peer function to work I need an IP address.So my question is ...
0
votes
1answer
50 views

Do we have to compile and deploy our contract to ethereum each time we start a test rpc?

I'm trying to develop a voting application, I have successfully compiled the app and also deployed it to ethereum blockchain. Now I've closed the test rpc and node console, and when I restarted node ...
0
votes
1answer
61 views

How to handle exceptions in ethreum private network using revert(),throw

I am running a private ethereum network using geth --rpc --rpccorsdomain "*" --datadir ./chaindata --port "30330" --nodiscover --rpcapi "db,th,net,web3" --networkid 2010 init genesis.json and ...
0
votes
1answer
433 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 ...
0
votes
1answer
28 views

Issues with transaction signing

I have a desktop app that accepts payment from user in ETH and provides it some service for a certain amount of time depending on the amount. For that the user needs to sign the transaction in the ...
1
vote
0answers
133 views

There is any open source for mnemonic (recovery) phrase can be used in react project?

I want to know how to implement 12 words or 24 words mnemonic(recovery) phrase screen as "Create Wallet" part in the ethereum, ERC20 token wallet project built with React Native like as coinomi wallet....
1
vote
2answers
1k views

How execute a contract method with private key / sign send method?

I'd like to execute an erc20 contract method without unlocking a wallet, signing the transaction inside my code. Here is how the code should look like: public async send(sender: string, receiver: ...
0
votes
1answer
116 views

Airdrop function executing but balances not updating

I created the following code for token generation and airdrop. The token generation is working. I am able to execute the Drop() function (and got confirmations of contract execution) but the token ...
0
votes
1answer
11 views

ETH to Tokens Without Wallet

I wanted to buy tokens with ETH and send directly from my brocker to the token selling company, the transaction failed. is there a way to recover my ETH?
1
vote
0answers
36 views

Test cases required for Multisig wallet

Can you please suggest me some test use cases that are applicable for a smart contract that has a multi-signature wallet in Ethereum?
1
vote
1answer
205 views

Transfer data using solidity transfer function

Can we use transfer function in solidity to transfer the data? My code _dest.transfer(txn.value)(txn.data); and it is showing the error that this type is not callable.
1
vote
1answer
293 views

Solidity compilation issue : Function overload clash during conversion to external types for arguments

I am new to solidity trying to compile the code which was an old example running good with old compiler. When I tried to compile the same in remix with latest compiler, I am getting the below issue. ...
0
votes
1answer
259 views

Use injected metamask inside of an ionic app

Ive seen this topic mentioned on the ethers of stack exchange before and mostly these questions go unanswered but being that ionic is basically a fancy webview I am wondering if anyone has managed to ...
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; ...
3
votes
1answer
180 views

Can we write pure native mobile app that on blockchain

I have a web-based blockchain application. On web, I can use metamask for making transaction. On mobile, I can use some Dapp browser such as Toshi ... But I want to write a native application (pure ...
0
votes
2answers
291 views

Problem in fetching return values in solidity contract function using web3 js

solidity function: function getCredentials(uint id) public constant returns(string,string,uint) { address ad=acadr[id]; uemail=email[ad]; ulocation=location[ad]; ugid=gid[ad]; ...
1
vote
1answer
47 views

Transaction fees in ethereum [duplicate]

I have created an ERC20 token, but whenever I want to trnasfer it, transaction fees is deducted in ethers. But I donot want to but ethers. Cant the fee be deducted in terms of my custom token? Thanks
4
votes
4answers
438 views

Can I use ether.js with truffle

I have buid a dapp with web3, truffle and metamask, which works perfectly fine. Now, instead of using a wallet I want to create my own wallet using ether.js, but couldn't figure out a way to use ...
0
votes
3answers
90 views

How can we fixed conversion rate of our own ethereum cryptocurrency?

I have created ERC20 based token.I fixed 1 token value equal to 0.01 eth. One question arise in my mind.Is it possible to fixed conversion rate of own Ethereum cryptocurrency ??
1
vote
1answer
245 views

How to split funds in single send transaction

Scenario: Alice Account = 2 ETH Admin Account = 0 ETH Bob Account = 0 ETH Alice wants to send 1 ETH to Bob using my application. Application will charge 0.01 ETH as it's commission and will be ...
1
vote
2answers
524 views

Creating a new wallet mobile application for newly created crypto currency

I am doing as a Intern in Apogee Tech Global in Bangalore on Blockchain for three months. My commitments is to learn solidity language, build smart contracts, learn Ethereum and Hyperledger. I learnt ...
0
votes
1answer
27 views

Conflict in smart contracts

How is conflict handled in the case of smart contracts .For eg -in the case of an insurance smart contracts,there might be conflit between both parties.How does blockchain ensure the validity of ...
0
votes
2answers
33 views

Can you store anything other than Eth in one wallet

Total newbie to blockchain. I want to use ethereum to store information and not so much currency. For example, I want to create a game where I can store someones point. Can the wallet address store ...
0
votes
2answers
104 views

This contract collects ETH in exchange for voting tokens. What function will allow me to transfer the collected ETH to a wallet?

pragma solidity ^0.4.23; contract Voting { bytes32[] public candidateList; uint public totalTokens; uint public balanceTokens; uint public tokenPrice; // what is the voter ...
1
vote
3answers
523 views

Is it possible to send/receive Bitcoin using a smart contract?

My Question goes in the sense of what's possible in terms of creating a Dapp that allows to send/receive BitCoin just like it would any other given ERC20 Token. Is this possible to achieve for a Smart ...
2
votes
1answer
258 views

Connect privatenet with ethereum wallet

I created a private net within a folder in Documents. It works fine. I tried connecting ethereum wallet with private net...But ethereum wallet created another node in .ethereum folder and shows ...
3
votes
0answers
289 views

Ethereum wallet stuck on loading

I have installed Ethereum Wallet and switch it to the Ropsten Testnet after first start, it synced all blocks. After restart I am trying to run it, but it stuck on loading splash. I am on Windows 7, ...
-2
votes
1answer
26 views

Do we create a new crypto currency in test networks with mist ethereum wallet?

I am doing as a intern in a company. Here their request is to create a new crypto currency for their company. Upto now I have learnt the solidity also I have gone through how to create new crypto ...
0
votes
2answers
229 views

Servers That Implement Ethereum RPC

Here is the documentation for Ethereum RPC. It looks straight forward enough, but I just need a list of servers that implement the RPC. https://ethereumbuilders.gitbooks.io/guide/content/en/...
2
votes
1answer
411 views

How to generate deterministic keypairs using ed25519

I am trying to implement my wallet using ed25519 curve, i was using tweetnacl from this link "https://github.com/dchest/tweetnacl-js" its working, But i want to generate deterministic key-pair ...
1
vote
0answers
355 views

Ganache Cli private network, all ethers on the network go to 0 after a while

I create a ganache cli and initialize my accounts to have ethers using ganache-cli -h "159.89.119.189" -a 3 -e "1000000000000000000000000000" --secure -u 0 -u 1 -u 2 -s 20 but after a couple of ...
3
votes
1answer
638 views

ERC223 Token Fallback Function Usage

I'm currently writing the "Trade" smart contract which is similar to "Crowdsale" smart contract. The only function that I want to add is "sell" function. In general Crowdsale smart contract is used ...
0
votes
1answer
293 views

Ethereum wallet and private key [duplicate]

how to generate public and private key for each user on my decentralized app? After filling the app on ethereum network?
0
votes
1answer
46 views

This contract does not implement all functions and thus cannot be created? I am very new to solidty . Any help highly appreciated

pragma solidity ^0.4.0; contract contracta{ uint mapsize=10; struct request_task{ uint task_id; string ip_address; uint flag ;// submited, 1, excuteding, 2, finished, 3, failed ...
0
votes
1answer
1k views

create ether wallet using nodejs

I have implemented the code which is creating new wallet but I am not able to get the private key of that wallet. Can anyone tell me like what is the proper way in which I can create new wallet which ...
0
votes
3answers
58 views

How to do transaction on a dapp without any wallet

I am able to do a transation in my private nework using geth console. But I want to the transaction on a dapp without using any wallet
1
vote
1answer
83 views

How to create a wallet address (say) for a user sign up with any password of user choice and login next time with the same password?

I want my dapp to allow a new user when submitting a sign up to create an ethereum address with his provided password of his choice and next time when he logs into dapp, he must be able to login with ...