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
pragma solidity ^0.4.24; | |
// Token standard interface | |
contract ERC20 { | |
// Basic token features: book of balances and transfer | |
uint public totalSupply = 0; | |
mapping (address => uint256) public balanceOf; | |
function transfer(address to, uint tokens) public returns (bool success); | |
// Advanced features: An account can approve another account to spend its funds |
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
#!/bin/sh | |
cd interface | |
meteor & | |
sleep 3 | |
cd - | |
electron . --rpc ~/Library/Ethereum/testnet/geth.ipc |
NewerOlder