Skip to content

Instantly share code, notes, and snippets.

View jtakalai's full-sized avatar
💭
^_________^

jtakalai

💭
^_________^
View GitHub Profile
@jtakalai
jtakalai / TestToken.sol
Last active September 18, 2018 09:32
Fully ERC20 compliant Ethereum token
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
@jtakalai
jtakalai / run_mist.sh
Created April 25, 2017 12:41
Run mist (after git clone)
#!/bin/sh
cd interface
meteor &
sleep 3
cd -
electron . --rpc ~/Library/Ethereum/testnet/geth.ipc