This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"xml": { | |
"-xmlns": "http://www.w3.org/1999/xhtml", | |
"block": { | |
"-type": "INIT", | |
"-id": "65", | |
"-x": "52", | |
"-y": "55", | |
"statement": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying I am +tomoakisato on my passcard. https://onename.com/tomoakisato |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> 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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// After running | |
] Protocol Versions: [61 60], Network Id: 101 | |
I0801 18:25:42.221005 22260 backend.go:333] Blockchain DB Version: 3 | |
I0801 18:25:42.225142 22260 chain_manager.go:251] Last block (#2971) 11514de287ab8a3b01c2005213172b3150a00c2cbbc5de169700ad631f2a5d40 TD=759914948 | |
I0801 18:25:42.265087 22260 cmd.go:121] Starting Geth/v0.9.36/darwin/go1.4.2 | |
I0801 18:25:42.265172 22260 server.go:311] Starting Server | |
I0801 18:25:44.390958 22260 nat.go:111] mapped network port udp:30303 -> 30303 (ethereum discovery) using UPNP IGDv1-IP1 | |
I0801 18:25:44.460799 22260 udp.go:205] Listening, enode://a9405e4dbfe2f4f63b4dd825a68e409bc227f0a4d58d77072a5c82a063e26bb21c310d3d7831db536a4d14498a0f8f71a8ff8ad9549efc6e37b1c510182cf1d3@49.135.68.148:30303 | |
I0801 18:25:44.461140 22260 backend.go:554] Server started | |
I0801 18:25:44.461754 22260 server.go:548] Listening on [::]:30303 |
OlderNewer