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
1
vote
1answer
34 views

How to decode InputValue of ethereum using java web3j

**I'm trying to decode the inputValue of an transaction using web3j without using any contract abi and wrapper class,Im loading the contract using its contract address ,is there any way/inbuilt ...
1
vote
4answers
968 views

How to access ethereum smart contract(already deployed) in a Java application via its address using web3j?

I have an existing Smart contract address,abi,binary code. I need to access it from a Java application.Is it possible to do this without creating a java wrapper class?
7
votes
5answers
3k 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
1answer
21 views

Store and Display the Json file in Blockchain

I have stored my data on firebase, and taken as a JSON file, the JSON should be separated and display into the webpage through the Ethereum blockchain, for example: { product: "Shoes", prize: "85"...
0
votes
1answer
26 views

how much deploy cost in main network

this is my contract deploy cost of locally. how much $ want to deploy this in main network > gas price: 20 gwei > Saving migration to chain. > Saving artifacts --------...
0
votes
2answers
416 views

geth attach issue between mac and windows

I am running geth on windows machine and try for geth attach in mac. I give below error: Fatal: Failed to start the JavaScript console: api modules: Post http://192.168.0.107:8545: context deadline ...
0
votes
1answer
50 views

How to integrate ERC20 token to microjob website?

I need an api to handle erc20 ethereum token deposits and withdrawals on my microjobs website. Users should be able to withdraw their earned token automatically when they pay the network fees.
0
votes
0answers
33 views

How do i restrict my erc20 token to used at my platform only and how do i detect the token was transfered by my app? [closed]

I am new here on smart contract needed a help on my problem statement. I don't want my erc20 token to end up in any exchange and i want track my token transfer plus i want to accept token from user ...
0
votes
2answers
23 views

What triggers a transaction to be recorded on the Blockchain?

I am new to blockchain development. I am trying to understand where, when, and how a transaction is sent to the blockchain to be recorded. Here is the sample code I am studying: pragma solidity ^0.4....
0
votes
1answer
76 views

Mapping problem

**I am Using Solidity compiler 0.4.11 When I compile my code i get the error that is " Error: Type "mapping(string => string)" not supported for state variable.\n\tmapping (string => string) dataLink *...
1
vote
1answer
25 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 ...
0
votes
2answers
48 views

Integrate more then one user with one ethereum account

I have many users inside the organization and I want to use same ethereum account for all the users , but with different usernames, so it there anyway to do that ?
0
votes
2answers
31 views

Stuck in Contract or something similar

Hey guys i almost sent ethereum to a scam address luckily it got rejected cause i didnt use enough gas. this is the ethersacan transaction https://etherscan.io/tx/...
3
votes
1answer
682 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 ...
1
vote
2answers
34 views

How to find out the number of Validators of a transaction if i have its transaction hash

I want to find out how many validators have validated my transaction.My transaction has is 0x051430dc5cd84c44954e43b25f8709c9c1a1c634f384ec6dd7610f6f945732e1 can anyone tell me how many validators ...
0
votes
1answer
25 views

Smart Contract Deployment issue

I am making a smart contract with a Transfer function. function transfer(address _to, uint256 _value) public returns(bool success) { //checking whether sender has enough number of tokens ...
3
votes
2answers
1k views

Call deployed smart contract from web3.js

I have small test smart contract, which is deployed to my test network. And I want to use a server to call the function in the contract. Here is the code: payontime.sol pragma solidity ^0.4.0; ...
0
votes
1answer
19 views

DApp Design Consideration

Does a site like Cryptokitties query the blockchain in order to verify which ERC-721 tokens a specific user owns upon logging into his wallet, or does it store the list of owned tokens locally in a ...
0
votes
1answer
391 views

ABI for Etherscan verification

How I can get ABI in multiple contract code? if the code is here: Token address is: 0x4960a0Db832c3Bb503F3Da59a274D9385e0Ade5A Crowdsale contract: 0x7a76d1A86a8b801865eC9134552904366b327A45 I ...
0
votes
2answers
383 views

Convert ethereum tokens to inr

I have created an account in metamask and have got some ether tokens. Now I would like to convert them into INR so that I get hard cash. Please let me know the procedure to do it.
2
votes
1answer
34 views

what is difference in ethereum transaction after constatanople upgrade?

I have heard that Constantinople update transverse the consensus protocol of ethereum from proof of work to proof of stake. So they claimed that this update could speed up the TPS(transaction per ...
0
votes
1answer
57 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 ...
0
votes
1answer
22 views

TypeError: balance.toNumber is not a function

I need check that token has no balance when selfDestruct was called, but shows an error that balance.toNumber is not a function in the test file. DappTokenSale.sol function endSale() public { //...
0
votes
1answer
578 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
4answers
1k views

How do I make a smart contract on MyEtherWallet?

I've tried downloading the Ethereum wallet but it's taken weeks to download blocks. The only other option is MyEtherWallet. I asked on Reddit someone said theirs a way to do it with MyEtherWallet and ...
1
vote
0answers
29 views

Architecture of crypto exchange webiste [closed]

I am working on a project and I am unable to figure out the architecture of a crypto exchange wallet in which I want to convert fiat currency to my own cryptocurrency which has same value i.e, 1 INR =...
28
votes
4answers
27k views

payable() function In solidity

I have read many examples of payable functions, but I didn't understand any of them. Also, they talked about modifier in payable. My questions are: What exactly does payable() function do? ...
1
vote
1answer
28 views

I got this error during truffle testing. AssertionError: it returns true: expected { Object (tx, receipt, …) } to equal true

DappToken.sol function transfer(address _to, uint256 _value) public returns (bool success){ require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; balanceOf[...
2
votes
0answers
24 views

How to reduce corruption in developing countries using Ethereum [closed]

I would like an honest opinion on whether or not the picture below is self-explanatory. I would also like to know what more functionalities I can add to reduce the capital flight by government ...
1
vote
0answers
18 views

Not able to decode the input data from transaction using web3j (Java)

I am creating transactions using web3j and passing some private data in that transaction. The transaction is also getting mined . I have subscribed to the mined blocks, where I am fetching the ...
3
votes
1answer
36 views

Can not call the solidity smart contract function from web3js

I am trying to call a method in solidity smart contract through angular app, but I am getting this error: TypeError: this.contract.methods.hello is not a function at CertificateContractService.<...
0
votes
1answer
109 views

Invalid JSON Response while connecting DApp, Metamask and Backend

I am getting some error(picture below) while trying to connect DApp with a backend. One day ago, everything worked fine, now I got an error: "basic auth failure". Contracts are deployed on Ropsten ...
0
votes
1answer
50 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) ...
6
votes
1answer
2k views

Mist error: “unable to connect to socket:timeout”

In mist wallet i am getting an error of unable to connect to socket and couldn't compile source code.Do help me where i am doing the mistake.
0
votes
2answers
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 ...
1
vote
2answers
2k views

Ethereum wallet is stuck at “looking for peers”

I'm trying to create a private network or test network to work with smart contracts. But when I start ethereum wallet it is always getting stuck at "Looking for peers....". Below is the screenshot for ...
1
vote
0answers
22 views

Is there any free crypto wallet api available [closed]

Can anyone tell that is there any free crypto wallet api available which one can use in a project
0
votes
2answers
14 views

Connect dApp hosted on cloud with Geth running locally

I've my dApp running on AWS and Geth running locally. How am I supposed to connect my hosted dApp with the Geth? I'm connecting my web3(using web3.py) using my computer's(Windows OS) IP address. ...
0
votes
2answers
46 views

How DApp actually talks to Ganache ethereum node?

Both Metamask and web3.js seems to be enabling a DApp communicates to a remote ethereum node. There are a few different aspects to developing blockchain applications with Ethereum: Smart ...
0
votes
1answer
102 views

Decoding Hex value in solidity

I am trying to view values stored on my ethereum contract using ethereum wallet. Currently the values are being placed onto the contract in hex format. Is there a way to decode them on the contract so ...
0
votes
1answer
30 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
1answer
43 views

Create multiple tokens for a unique property

here is the idea: we assign a set of unique tokens to a company and then we allow people to buy some tokens and get partial ownership of that company. How can I achieve this? I was thinking of ...
0
votes
2answers
41 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
88 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
21 views

Is there any possibility to exclude one of MuliSig Wallet owners?

I mean not to exclude from already existin multi sig wallets, but create a wallet with such possibility. For example: The team of 4 people want to accept temporary 5th member (give him the right ...
0
votes
2answers
24 views

Compilation error in ethereum wallet

I am trying to compile the example contract in https://ethereum.org/token and following along with the instructions. The Ethereum wallet cannot compile it though. I get the following error message ...
0
votes
0answers
14 views

About genesisfile

ethereum-wallet-xxx.jsonfile exists when purchasing genesis. I do not know if I set a password. Is this possible to restore? There are encseed, bkp, ethaddr, btcaddr, and email file formats.
0
votes
2answers
43 views

How to reach my ethereum wallet?

I have an Ethereum wallet address, but I don't know from which platform. How can I find out were my wallet is from?
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?
0
votes
1answer
25 views

How does smart contracts exactly work?

I have read about smart contracts and I am left with some doubts. Every invocation of a function in smart contract is a transaction which costs some ether.A miner chooses a smart contract on ...