Open ghost opened 8 years ago
multiplycontractContract ReferenceError: 'multiplycontractContract' is not defined at
:1:1 multiplycontract ReferenceError: 'multiplycontract' is not defined at
:1:1 I1202 19:39:51.001036 11964 blockchain.go:1142] imported 1 block(s) (0 queued 0 ignored) including 3 txs in 14.263372ms. #109848 [37d808d0 / 37d808d0]
multiplycontractContract ReferenceError: 'multiplycontractContract' is not defined at
:1:1 I1202 19:40:42.441524 11964 blockchain.go:1142] imported 1 block(s) (0 queued 0 ignored) including 2 txs in 33.069464ms. #109849 [8160549f / 8160549f]
same
Hmm I was able to get this working. You need to be using geth --mine so that your testnet will mine the blocks. You should see little hammer icons. This was in index.js :
// my RPC settings are:
// geth --rpc --rpcaddr="0.0.0.0" --rpccorsdomain="*" --mine --unlock=YOUR_ACCOUNT --verbosity=5 --maxpeers=0 --minerthreads="3"
How to interact with this contract via geth?
geth --rpc --rpcaddr="0.0.0.0" --rpccorsdomain="*" --testnet --unlock=2 console