A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [testrpc]

Questions related to the test RPC client/simulator https://github.com/ethereumjs/testrpc

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

Transaction to smart contract shows 'invalid address' error message

I'm simply trying to transfer ETHER to a smart contract deployed on testrpc: web3.eth.sendTransaction({to: "0xdbf5c15f21ae03f0e33c9058d3823d4e74a35be3", value: web3.toWei(100, "ether")}); Quering ...
2
votes
2answers
622 views

`evm_increaseTime` does not increase timestamp

How can I fix this? See: $ truffle console truffle(development)> web3.eth.getBlock("latest").timestamp > 1506694386 truffle(development)> web3.currentProvider.send({jsonrpc: "2.0", method: "...
2
votes
1answer
904 views

Best way to track block transactions as they happen

I found this repo, which retrieves recent gas prices using web3: https://github.com/ethgasstation/gasstation-express-oracle/blob/master/gasExpress.py I'd like to write a similar script that would ...
1
vote
2answers
433 views

“Key not found in database” ethereum bridge error

Trying to perform a basic query using ethereum bridge / ganache / truffle. I appear to have Ethereum bridge running correctly. iPod-Classic-3:ethereum-bridge benandre$ node bridge -H localhost:7545 -...
1
vote
2answers
875 views

One to Many relationship in Contract

If id(Eg:1) field in structure is not unique and different names are mapped with same id=1. Can all names mapped with id=1 could be fetched from blockchain? pragma solidity ^0.4.4; contract ...
1
vote
1answer
422 views

Truffle Tutorial pet-shop with test-rpc adopt button doesn't work

I have followed the tutorial exactly like they showed in their page: http://truffleframework.com/tutorials/pet-shop except the following changes because they use "ganache" (currently bugged and ...
1
vote
2answers
411 views

unable to use testrpc with ethereum wallet

i am trying to open ethereum wallet with testrpc to quickly test my code. 1) have opened the command prompt and entered cmd "testrpc" 2) opened another command prompt and entered cmd ""Ethereum ...
1
vote
1answer
677 views

How to mine my contract in testrpc

After learning to create and deploy my contract to my testrpc, now I can't figure out how to get my contract mined. I created my contract and my testrpc is up and running. But my solidity online ...
1
vote
3answers
996 views

Solidity function not returning - keeps returning tx receipt

I try to call my Solidity function: function getVehicleDetails(string _vin) returns (string _vln, uint _year, string _make, string _model, string _colour) { Vehicle vehicle = vehicles[_vin]; ...
0
votes
1answer
290 views

TestRPC and persistence of data

I am using a smart contract on the TestRPC net. In order to deploy my contract for the first time I write this in the node cmd: >Web3 = require('web3') > web3 = new Web3(new Web3.providers....
0
votes
1answer
234 views

Ropsten Network - geth console does'nt give updated blocknumber

I have used the command : geth --testnet --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --bootnodes "enode://...
0
votes
1answer
553 views

Cannot connect to testrpc

I have a testrpc running on a virtual machine (Ubuntu 16.04) and it works properly when I interact with it using the truffle console. My only goal is to call a smart contract that simply sends ether ...
0
votes
1answer
283 views

Problem of deploying contract with “testRPC” and “remix” : “creation of contract pending …”

When I try to deploy a contract using testRPC and remix, I receive: creation of contract pending ... I tried even the default contract of http://remix.ethereum.org. Steps: First I open cmd. Then ...
0
votes
1answer
167 views

Why I do not get returned value of function of my smart contract using testRPC and a Graphical User Interface?

I have a smart contract that is tested with remix and it works well. Its code is as follows : contract Weechain: pragma solidity ^0.4.15; // --------------------------------------------------------...