PUSHDATA
signature data (SIGHASH_ALL)
PUSHDATA
public key data
OP_DUP
{ | |
"xml": { | |
"-xmlns": "http://www.w3.org/1999/xhtml", | |
"block": { | |
"-type": "INIT", | |
"-id": "65", | |
"-x": "52", | |
"-y": "55", | |
"statement": [ | |
{ |
$ geth --vmodule=sync=6,downloader=6 | |
I0602 23:28:46.609277 67693 backend.go:256] Protocol Version: 60, Network Id: 0 | |
I0602 23:28:46.609328 67693 backend.go:266] Blockchain DB Version: 3 | |
I0602 23:28:46.612043 67693 chain_manager.go:258] Last block (#509995) 233053420cb407060ae6c16084f48494bb8028785b8863227d1d15f6ba61543d TD=2192318912146067 | |
I0602 23:28:50.140005 67693 cmd.go:148] Starting Geth/v0.9.26-0e703d92/darwin/go1.4.2 | |
I0602 23:28:50.140210 67693 server.go:293] Starting Server | |
I0602 23:28:50.147044 67693 udp.go:189] Listening, enode://76aa6d0570fc7b698b57d2b25d43256d849501bbc72cdd817f89181140cde6081dd482106610f9ef6a4513b57092fcea7a5cf9d2c2cfbf14b3e18edf8addbbbe@[::]:30303 | |
I0602 23:28:50.147211 67693 server.go:530] Listening on [::]:30303 | |
I0602 23:28:50.147402 67693 backend.go:477] Server started | |
I0602 23:28:56.144082 67693 downloader.go:138] Registering peer 5ee084eec8492c77 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
pyepm -r localhost -p 8545 contracts/EtherEx.yaml | |
PyEPM 0.9.12 | |
===== | |
Deploying contracts/EtherEx.yaml... | |
Loading contracts/EtherEx.yaml... | |
Parsing contracts/EtherEx.yaml... | |
set: | |
deploy: | |
Deploying contracts/etherex.se... | |
Contract will be available at 0x8b5ae8b82eb93b4927b301dbaa8180c188d7d32f |
> var tokenSource = 'contract token { mapping (address => uint) balances; function token() { balances[msg.sender] = 10000; } function sendToken(address receiver, uint amount) returns(bool sufficient) { } | |
undefined | |
> var tokenCompiled = eth.compile.solidity(tokenSource).token | |
undefined | |
> tokenCompiled | |
{ | |
code: '0x60606040525b612710600060005060003373ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600050819055505b61019f8061004b6000396000f30060606040526000357c010000000000000000000000000000000000000000000000000000000090048063412664ae14610044578063f8b2cb4f1461007157610042565b005b61005b600480359060200180359060200150610098565b6040518082815260200191505060405180910390f35b610082600480359060200150610161565b6040518082815260200191505060405180910390f35b600081600060005060003373ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000505410156100da576000905061015b565b81600060005060003373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282825054039250508 |
$ geth --vmdebug --networkid="102" --port 30302 --rpc --rpcaddr="localhost" --unlock=primary --rpcport="8080" --datadir="/tmp/eth/62/01" --rpccorsdomain="http://localhost:8089" console | |
I0706 00:53:23.865413 90895 backend.go:301] Protocol Version: 60, Network Id: 102 | |
I0706 00:53:23.865458 90895 backend.go:311] Blockchain DB Version: 3 | |
I0706 00:53:23.869976 90895 chain_manager.go:260] Last block (#4637) e0b42b8683e486b02b798a1cfe0423d95a50eab11864608ae94f04d620ec728f TD=2131022819 | |
I0706 00:53:23.904082 90895 cmd.go:148] Starting Geth/v0.9.34-a2ce7b99/darwin/go1.4.2 | |
I0706 00:53:23.904200 90895 server.go:294] Starting Server | |
I0706 00:53:25.954782 90895 udp.go:189] Listening, enode://566acd0cc55b776414c0e2cc04c5a30e496e1497d722d65df312b3fec06d272b4fa6eda5f317a5698c2c506b78fc7b740e5957b92c911a7e2945bf2f4b6e9398@[::]:30302 | |
I0706 00:53:25.954914 90895 backend.go:526] Server started | |
I0706 00:53:25.954914 90895 server.go:531] Listening on [::]:30302 | |
Unlocking account 0x0c8109ebfe939768a9ff4eeb2b2fe04487 |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Text; | |
using System.Net; | |
using System.Threading; | |
using System.IO; | |
using System.Diagnostics; | |
using MonoMac.AppKit; |
Verifying I am +tomoakisato on my passcard. https://onename.com/tomoakisato |
> token.coinBalanceOf.call(eth.accounts[0]) | |
to not valid, is required | |
at InvalidResponse (<anonymous>:-59174:-42) | |
at send (<anonymous>:-117082:-42) | |
at call (<anonymous>:-105818:-42) | |
at call (<anonymous>:-89654:-42) | |
at <anonymous>:1:1 | |
> token.coinBalanceOf.call() |