All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
684 views

Can I use multiple Ethereum mnemonics in Metamask

When I first installed Metamask and each time I start testrpc, I get a new mnemonic section of words to use for that testrpc. I've already configured my MetaMask with four accounts from a prior run ...
0
votes
1answer
40 views

Where can I test programming tokens?

When I follow the instructions on ethereum.org I need to download the wallet and sync it again by downloading all the blocks. This takes hours everytime, I feel I'm missing out on something. Is there ...
0
votes
2answers
549 views

Events with string argument not working (not indexed)

I am trying to listen to an event on rinkeby test which I run locally. Every thing works fine when my argument is int such as event EventTester(int values); When I change the event argument to string ...
0
votes
2answers
72 views

Error when Creating a Contract - related to Mapping

When I create a ABC_Creator Contract. It gives the following error. The code works fine for the intent. Wondering why is this error showing up, what is the invalid opcode and what can be done to ...
0
votes
2answers
404 views

How to detect what instruction caused “truffle test” to result in “invalid opcode” error?

I wrote a test for my contract and it returns invalid opcode as a result. Full output: 1) Contract: FPCoin1 One can purchase tokens for ether: Error: VM Exception while processing transaction: ...
0
votes
1answer
119 views

function inheritance doesn't work

Why does the attached contract always throw an invalid opcode when I execute test() and verify() (in that order)? pragma solidity ^0.4.10; contract Parent { uint value; function isValueOne(...
0
votes
1answer
425 views

Creating a transaction from a webform - invalid number of args

I have a HTML web page where I am feeding user entries into a smart contract that is designed to "store" the entries in transactions. I have most of the application working, but I'm having trouble ...
0
votes
1answer
208 views

Error while calling function in smart contract using nodejs?

I have deployed a contract in private blockchain using mist wallet. When I try to call the function in the smart contract using web3 api it through the below error /home/karthikeyan/Desktop/n2/...
0
votes
1answer
371 views

Events are not getting recognised TypeError: Contract.events.event is not a function

I am trying to get older state of a contract. I have deployed contract using truffle. my contract is pragma solidity ^0.4.15; contract NDA { bytes32 party1name; bytes32 party2name; bytes32 ...
0
votes
0answers
310 views

Why the maximum number of transactions in a block is 221?

I made a private network with only one node in it, then I sent 2000 transactions like so: var amount = 1; var sender = personal.listAccounts[0] var receiver = personal.listAccounts[0] for (i = 0; i ...
0
votes
1answer
549 views

Quorum Account existence on node requirement of Private Transaction

I am trying out private transaction using Quorum. Two quorum nodes N1 and N2 configured to participate in the private transaction. I deployed a contract which is private for N1 and N2. I issue ...
0
votes
1answer
389 views

How to confirm a multisig ETC contract wallet transaction that requires two account signers?

I created a multisig contract wallet with Ethereum Wallet that requires two signatures well before the ETH/ETC hard fork. I'm just now coming back to try and move my ETC out of the 2sig contract ...
0
votes
1answer
76 views

I made lots of trades on Etherdelta - one came in but cant find it [closed]

I made a number of trades on etherdelta - all lowball bids. One came in but I cant remember which tokens I bid on - was about 20 but have no idea. Is there an easy way to see all past trades? I ...
0
votes
0answers
123 views

can't get transfer to execute

I am trying to run the following solidity function: function test() payable { msg.sender.transfer((balances[msg.sender]/1000)*this.balance); } Where this.balance is 0.1 Ether and balances[msg.sender]...
0
votes
1answer
108 views

Mist Wallet - I Messed Up

I sent almost 3 ETH from my Bitfinex account to a wallet on Mist. I had just downloaded Mist and was not familiar with the Addresses.... I accidentally sent this ETH to my Mist wallet on the Rinkeby ...
0
votes
1answer
157 views

How to add requirements to the token contract: 1) owner has enough tokens and 2) minimum sum of ETH of the receivers before updating balances

Could you check if these lines are correct and will work? In this code I have two requirements: I want to check if the owner has enough tokens (10 millions tokens) before updating balances and also ...
0
votes
1answer
65 views

How to showcase stats of live crowdfun in a website?

I am not completely sure where to find the answer to this. I went over the etherscan.io documentation and I was still confused. I am not sure if I simply create an API related to my account and then ...
0
votes
1answer
407 views

uint8 vs uin256 constant variable

Why do people use uint8 for constant variables such as decimals for tokens, isn't it better to use uint256? the EVM would need to use additional calls to go from 256/32bits to 8 and therefore increase ...
0
votes
1answer
299 views

Mist 0.9 Freeze: Downloading Swarm binary: 78%

I am running a fully synched geth 1.7.1 local node on mainnet (--datadir "G:) Mist 0.8.10 loads and works fine However when I close Mist 0.8.10 and try to run Mist 0.9.0 or 0.9.1 it seems to freeze ...
0
votes
1answer
120 views

Why does mining stop when a lot of transactions come in to my geth?

For testing, I'm running a private chain on my laptop. I've loaded a contract and I'm simulating a heavy load on my geth instance by submitting 500 transactions. All the transactions are submitted ...
0
votes
1answer
330 views

How to cancel pending formation of wallet contract in Mist?

I have an (empty) account with no Ether in it yet. In Mist, I created a wallet contract since I thought I needed it to receive Ether. However, I know now that this is not the case. The wallet ...
0
votes
1answer
60 views

Where's Submit button to register .ETH domain?

When I attempt to register a .ETH domain at https://registrar.ens.domains, there is no button for me to submit my request. Right below the message "I understand how the process works and my risks and ...
0
votes
0answers
225 views

Console logging in Truffle promises throws exception

Does anyone know why console.log in Truffle Javascript promises causes errors given below? I have the following code, where as soon as I remove the console.log statements, the errors given below go ...
0
votes
2answers
382 views

Geth JSON-RPC only returns 0, null or error

I've set up a docker env based upon Ubuntu for working with Geth (for now on Testnet) and Geth's JSON-RPC, however every call I make to the JSON-RPC fails in either 0, null or an error because the ...
0
votes
0answers
529 views

Running geth in docker causes it to exit

I need geth to run in a docker container and connect to the Rinkeby network. When I started it using docker run -d \ -v $HOME/geth:/root \ -p 8545:8545 -p 30303:30303 \ --name geth \ ...
0
votes
0answers
414 views

Is it possible to make ethereum private by default like how monero has it?

How would ethereum be made private and anonymous by default like how monero has it? Is it possible to turn an token into a fully private anonymous token by default?
0
votes
0answers
261 views

eth.sendTransaction submits, but doesn't add to contract balance or trigger fallback function

I have tried sending 0.06 Ether to a contract as follows: eth.sendTransaction({from: eth.accounts[0], to: "0x76E15697E36a66BF977D35de3C488F10B8014e65", value: web3.toWei(0.06, "ether")}) I've also ...
0
votes
1answer
722 views

Creating contract in ethereum-wallet using JSON-RPC on testnet giving “authentication needed: password or unlock”

I'm new to ethereum and blockchain technology. I'm trying to create my own crypto currency and using below JSON-RPC for creating new contract in our ethereum wallet on test network. curl http://**.**....
0
votes
2answers
808 views

Truffle TestRPC Error: VM Exception while executing eth_call: invalid opcode

I've created a project from a Truffle Box. I have created my own contract for voting. At this point i want to be able to vote, which seems to be working, and return the total votes for all candidates, ...
0
votes
1answer
29 views

Imported Mist account into newer version of ethereum wallet. I cannot see my custom tokens in the new wallet

I just imported my old mist account wich holds two contracts into my new ethereum wallet with the wallet file. My problem is that I cannot seem my tokens after importing, that I've created in the ...
0
votes
1answer
69 views

What is rpc and p2p code for Ethereum token? What to give as GitHub source code of an Ethereum token in exchange?

I’m new to Ethereum development. From ethereum token docs I came to know the process of deploying the token. But at some exchanges they ask for RPC and P2P port as well as the github source of the ...
0
votes
1answer
460 views

How fast can I deploy to Ropsten?

Does anyone know how fast I can deploy to the Ropsten network? I am using the following command: truffle migrate --network ropsten and I have an instance of geth running. In the geth console, when ...
0
votes
1answer
60 views

Mist crashing on startup UNCAUGHT EXCEPTION TypeError

I'm running the Ethereum wallet Mist in Ubuntu but it crashes on start up with this message [2017-10-01 13:45:59.552] [INFO] EthereumNode - Start node using /home/oscar/.config/Mist/binaries/Geth/...
0
votes
2answers
92 views

Are there any code quality certifications or standards for smart contracts

In light of recent statistics on # of bugs in smart contracts and the DAO heists I like to know if there are any kind of smart contract quality certification framework , smart contract standards or ...
0
votes
1answer
27 views

Would a fork occur if a half of entire nodes use different block validation algorithm?

Let's assume, a half of entire nodes use different block validation algorithm against the other half. So, for a particular type of block, one accepts it, and another one does not. Then would the ...
0
votes
1answer
336 views

Can I store secure information on an ERC20 coin?

Is it possible to store secure data on an ERC20 coin that is only accessible by the owner of that coin? An example might be a coin that contains login credentials to a service.
0
votes
2answers
651 views

Mist stuck not downloading last 100 blocks

My mist wallet won't download the final blocks it needs to be fully synced to the blockchain. I have 0.18 ether in my account which is visible on etherscan, but it won't show on Mist. Is getting ...
0
votes
0answers
132 views

Reinstantiating deployed contract

Looked at multiple answer for this question but they seem to be out of date. I committed a contract to the testnet chain, closed my geth console and upon starting the console again would like to ...
0
votes
1answer
259 views

solidity send ether does not work

I am trying to test out this sample code: contract MyContract { function foo(address a) returns (uint) { // send ether with default 21,000 gas // likely causes OOG in callee a.send(1 ...
0
votes
3answers
139 views

New temporary struct causing state variables to be overwritten

I'm running an experiment where I'm trying to create the following behavior: Service owner deploys Experiment1 to the blockchain and is recorded as the owner. Owner then adds a user address, a user-...
0
votes
1answer
117 views

Transfer contract address from truffle to meteor

I am very new to dApp-Development and therefore frankly i need some basic help. How can i get the address of my deployed contract by truffle in meteor? I hope there is a simple solution.
0
votes
1answer
87 views

Populus Unittesting: How to test a contract's fallback function?

How can I test the invocation of the fallback function by an external account of a contract using the Populus framework? For example, this runs forever: chain.wait.for_receipt(mycontract.transact({'...
0
votes
2answers
1k views

How do I connect a blockchain system to a cloud database

I am very new to blockchain, so I just wanted to get some preliminary answers and clarity. So currently we have a cloud database to manage certain documents (which contains sensitive information). ...
0
votes
1answer
36 views

Ether stolen from contracts

Can anyone explain what is exactly the point of this claim https://medium.com/@rtaylor30/how-i-snatched-your-153-037-eth-after-a-bad-tinder-date-d1d84422a50b
0
votes
1answer
180 views

EVM assembly level debugger

I want to examine behavior of some EVM instructions in live mode, but can't find any tools like debuggers/emulators which give nice look of stack and memory and ability to execute contract by steps.
0
votes
2answers
1k views

Can I play with ETH mining on iMac 27 with AMD M395X (4GB)?

I have an idle iMax 27 with 2TB Fusion Drive and 4GB AMD 395X GPU. Last time the question was asked was July 2016, so I'll ask again for a current answer. I am NOT expecting to make any money, but I ...
0
votes
1answer
111 views

how to send away ether in decimals?

say i have a function that give away dividend based on how many shares that customer owns: // Give away dividend based on how many balances of each customer has function giveAwayDividend(uint _value) ...
0
votes
1answer
46 views

Initiate a transaction from within a constant function

Good day, I know that using a constant function means that no change will be done on the blockchain, but I'd like to have a smart contract that verifies the user input WITHOUT exposing what the input ...
0
votes
1answer
487 views

Solidity Debugging in Remix

I am working Remix Browser for the following simple Contract. I had a couple of questions. I could not find the right answers. During Contract Creation: It gives the following error. What is ...
0
votes
1answer
687 views

Cannot connect localhost to ropsten testnet via infura

I want to connet my meteor localhost to ropsten testnet. Therefore i have a lib.js with the connecting commands: //var Web3 = require('web3'); if (typeof web3 !== 'undefined') { web3 = new Web3(...

15 30 50 per page
1 547 548 549 550 551 561