This is outdated: The ERC-20 is here: ethereum/EIPs#20
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
Process: Electron [17945] | |
Path: /Users/USER/Sites/*/Ethereum-Wallet.app/Contents/MacOS/Electron | |
Identifier: com.ethereum.wallet | |
Version: 0.3.8 (0.3.8) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Electron [17945] | |
User ID: 501 | |
Date/Time: 2016-01-07 17:04:31.448 +0100 |
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
/* | |
Basically "web3" comes from Mist, | |
but "Web3" CAN come from the dapp. | |
A Dapp has 3 ways to use web3. | |
2. and 3. would work when in Mist and outside. | |
*/ | |
// 1. simply use, web3 comes already defined |
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
/* | |
This creates a public tradeable fungible token in the Ethereum Blockchain. | |
https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs | |
Unmodified this will create a cryptoasset with a fixed market cap | |
wholly owned by the contract creator. You can create any function | |
to change this contract, like allowing specific rules for the issuance, | |
destruction and freezing of any assets. This contract is intended for | |
educational purposes, you are fully responsible for compliance with | |
present or future regulations of finance, communications and the |
This method should notify a dapp when the node is syncing (e.g. importing more than 10 blocks), so that dapps can stop asking nodes or process incoming blocks for performance reasons.
We might add fields in the future for state db syncing.
Returns an object object with data about the sync status.
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
{ | |
"nonce": "0x0000000000000042", | |
"difficulty": "0x1", | |
"alloc": { | |
"990ccf8a0de58091c028d6ff76bb235ee67c1c39": { | |
"balance": "200909800000000000000000000" | |
}, | |
"343c98e2b6e49bc0fed722c2a269f3814ddd1533": { | |
"balance": "1000009800000000000000000000" | |
} |
This file has been truncated, but you can view the full file.
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
{ | |
"nonce": "0x0000000000000042", | |
"difficulty": "0x400000000", | |
"alloc": { | |
"3282791d6fd713f1e94f4bfd565eaa78b3a0599d": { | |
"balance": "1337000000000000000000" | |
}, | |
"17961d633bcf20a7b029a7d94b7df4da2ec5427f": { | |
"balance": "229427000000000000000" | |
}, |
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 addresses = { | |
"3282791d6fd713f1e94f4bfd565eaa78b3a0599d": { | |
"balance": "1337000000000000000000" | |
}, | |
"17961d633bcf20a7b029a7d94b7df4da2ec5427f": { | |
"balance": "229427000000000000000" | |
}, | |
"493a67fe23decc63b10dda75f3287695a81bd5ab": { | |
"balance": "880000000000000000000" | |
}, |
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
https://github.com/frozeman/simple-dapp-example | |
./geth --rpccorsdomain "*" --rpc --networkid 8545 --minerthreads "1" --datadir <somePath>/testChain console | |
> admin.addPeer('enode://413a0d7a9b9e727dd7f20938401e2aa569549e075b1341eb4cc5073ee99fe8251b9d7d2be6d4a15bcc28c698589f17d0b2cfadda54a0f1aa6d0627082fefc5cb@10.10.42.108:30303') |
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
//sol Wallet | |
// Multi-sig, daily-limited account proxy/wallet. | |
// @authors: | |
// Gav Wood <[email protected]> | |
// inheritable "property" contract that enables methods to be protected by requiring the acquiescence of either a | |
// single, or, crucially, each of a number of, designated owners. | |
// usage: | |
// use modifiers onlyowner (just own owned) or onlymanyowners(hash), whereby the same hash must be provided by | |
// some number (specified in constructor) of the set of owners (specified in the constructor, modifiable) before the | |
// interior is executed. |