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
74 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
55 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
47 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
24 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
178 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
53 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
157 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 ...
1
vote
2answers
315 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
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
354 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
2answers
85 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
543 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
894 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
265 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
266 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
296 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
604 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
562 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
88 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
52 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
65 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
454 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
135 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
118 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
12 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
37 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
218 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
307 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
272 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
182 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
308 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
48 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
459 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
94 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
258 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
539 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
35 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
542 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
265 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
290 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
236 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/...