Skip to content

Instantly share code, notes, and snippets.

//-------------------------------------------------------------------------------------------------------------------
// Tezos potential contribution output finder.
//-------------------------------------------------------------------------------------------------------------------
//
//Block parser credits:
//
// CoinFabrik
// https://github.com/CoinFabrik/simple-nodejs-blockchain-parser
//
@JonnyLatte
JonnyLatte / tz_blockchaindotinfo.js
Last active June 18, 2018 09:14
save blocks 473623 - 475622 from the blockchain.info api to hard drive. print the sum of all outputs to p2sh addresses
'use strict';
var https = require('https');
var fs = require('fs');
var bitcore = require('bitcore-lib');
var firstBlock = 473623;
var lastBlock = 475622;
var bonusStartBlock = 473623; // first block
var blockCount = lastBlock - firstBlock;
This file has been truncated, but you can view the full file.
3Jt4YUp4UthKfuTo67DT5P4xxc3qV2kxtR,12115179179
36tidGPbfssiNn5NLUxwuic9KUmiWbY7r5,11747519
38KyQwcadXTL5HA4dK1xzuUrht5oahkBEb,330137219913
39XfU3cXazhLHL4bmZ5oSMX5DJ7RStLVUa,10619049
3DrJ2hY9bGsqY8AynLwAeikkd5sPcY8s6z,100917400000
3Fbxizp2tQBvChRBUNhpdrxJ4DshNt5c4c,408000
3MC8aGHf9A1hWUJioKgyx7q7JGbzXGR59G,816000
3QcEkk4rBGWK7K3Ytk3K97keJ4yZfUV4MC,349076
39wTb3BZwXKsnwCaMegdJoLHv7ZYRkWrft,1661681
3DuPgfq51hU9P1CPtpoJWyyV1M4KaAoQJb,790000
This file has been truncated, but you can view the full file.
3Jt4YUp4UthKfuTo67DT5P4xxc3qV2kxtR,12115179179
36tidGPbfssiNn5NLUxwuic9KUmiWbY7r5,11747519
38KyQwcadXTL5HA4dK1xzuUrht5oahkBEb,330137219913
39XfU3cXazhLHL4bmZ5oSMX5DJ7RStLVUa,10619049
3DrJ2hY9bGsqY8AynLwAeikkd5sPcY8s6z,100917400000
3Fbxizp2tQBvChRBUNhpdrxJ4DshNt5c4c,408000
3MC8aGHf9A1hWUJioKgyx7q7JGbzXGR59G,816000
3QcEkk4rBGWK7K3Ytk3K97keJ4yZfUV4MC,349076
39wTb3BZwXKsnwCaMegdJoLHv7ZYRkWrft,1661681
3DuPgfq51hU9P1CPtpoJWyyV1M4KaAoQJb,790000
This file has been truncated, but you can view the full file.
tz1MkioRQXC6VHLLKc7jv3g57yap7nwrme8p,0xe853c56864a2ebe4576a807d26fdc4a0ada51919,20000000000000000000000
tz1NEKrobiRadhFJuNLgy2yVy3TeqWPC3xmM,0xbd942b90305fa8aee32abec40ab0172886437ed0,10100000000000000000000
tz1WUSU47M6SzzEd5RZD6hkH1y8RQynXYnAE,0xbd942b90305fa8aee32abec40ab0172886437ed0,10000000000000000000000
tz1LHKKGATdBQXmdZJThvUrNs7xJEd6nGny6,0xbf0d639902cd0bbb3d0a65553ece51e926667666,9751888696007000000000
tz1fQpbHmRJzN6hGoWi3M5zf1ZXSTjWYUpQA,0xa9a3fb89a241dcbb23fbd3460f7f23e5f5a15b0b,9500000000000000000000
tz1iBvy8aujWLAfDpS7mbmdURwYzUfvxsHmr,0xbaa3ff3384da4e4364572c4c8b8c3f83ab3abdc3,9460910000000000000000
tz1RdsExjq3tvVtP7G7Me2pNykasnySSyBhp,0x8058ddb467270feff149eac6dc5461a4480e5b43,8000000000000000000000
tz1STZoVEAT9xHUFgpC1iWhumf2HuGHPSdwi,0x1b66a12f3252bb7276405682415395e6b012e5b4,6000000000000000000000
tz1MJDeQM5MPd6Er6AhK6pGp86G3KzKQAeud,0x13b478f1bed1565a1055efaa04a073db99c84b0e,6000000000000000000000
tz1MqMTH3BPA7ezPKUBLSRUSC1sqXPjcYReP,0xd32489a99f368830009b398e7546c773ec50b83a,50000000000000
This file has been truncated, but you can view the full file.
Root Hash: 0x0839747d72ab8a83597f9a084d1182a767e0c190aa975282150c7883d695ce40
["0x7a3f8f686e23042c1fc03c6ee4f9fbd442c81f47236248a7ee6a1f2edd87f884","0xaa8c4452b69594a8471e33e1caf337fe45711a30e7dd118c5f49b4342b6a078f","0xa5088d0f1333fde068bc5eb3ec08aae013f27e18519a56c5da644c2eb2172001","0x83f4abea4d3e28799de3c73af92b455f70dfa9f532c66053db3047033ef57761","0x18eff9a6379300588c80e38a8d1e0df11a0043b85a8320412f980d0ac289e1dc","0xa69e7a20c4b5100f0c70fb448acf6370a284221f33c28929db1a79caecf23fb9","0x30d1ed4489fcabc32cdafdcab2d2b44cb96b9d8d8d3595f8f87845dc565dbeac","0x11a4fea4c5c002945d2a08fd80c0a562e13fca741d8f75f251a3725e58ab5cc5","0xf916625ed7272ab4c588af43217b5319fcdf04434cf7734e77fd001b572835bc","0xcc5497904520f1315373b1335efa95eedbeff694066b5718f1fe7bb88b64f861","0xa166e8e9ca2bed02d01a5b0d0451686914a4f28d3a917f9d5dfd1be1a11dd998","0x38490827459d22e42bab514dee1ac0008533c8974c87f8773866bb59c4283eb0","0xe69d8da9db82b845d3c8106da170fdbfcb4c1a02be898fb9c71a2a0f8b2734ac","0xda9b11f5b29fc1f017c0f9e63c5487a300269680bb89
This file has been truncated, but you can view the full file.
tz1MkioRQXC6VHLLKc7jv3g57yap7nwrme8p,0xe853c56864a2ebe4576a807d26fdc4a0ada51919
tz1NEKrobiRadhFJuNLgy2yVy3TeqWPC3xmM,0xbd942b90305fa8aee32abec40ab0172886437ed0
tz1WUSU47M6SzzEd5RZD6hkH1y8RQynXYnAE,0xbd942b90305fa8aee32abec40ab0172886437ed0
tz1LHKKGATdBQXmdZJThvUrNs7xJEd6nGny6,0xbf0d639902cd0bbb3d0a65553ece51e926667666
tz1fQpbHmRJzN6hGoWi3M5zf1ZXSTjWYUpQA,0xa9a3fb89a241dcbb23fbd3460f7f23e5f5a15b0b
tz1iBvy8aujWLAfDpS7mbmdURwYzUfvxsHmr,0xbaa3ff3384da4e4364572c4c8b8c3f83ab3abdc3
tz1RdsExjq3tvVtP7G7Me2pNykasnySSyBhp,0x8058ddb467270feff149eac6dc5461a4480e5b43
tz1STZoVEAT9xHUFgpC1iWhumf2HuGHPSdwi,0x1b66a12f3252bb7276405682415395e6b012e5b4
tz1MJDeQM5MPd6Er6AhK6pGp86G3KzKQAeud,0x13b478f1bed1565a1055efaa04a073db99c84b0e
tz1MqMTH3BPA7ezPKUBLSRUSC1sqXPjcYReP,0xd32489a99f368830009b398e7546c773ec50b83a
@JonnyLatte
JonnyLatte / delagateSeller
Created July 5, 2017 11:43
cryptoderivatives research hard coded delagate call forwarded token seller
pragma solidity ^0.4.12;
// https://github.com/ethereum/EIPs/issues/20
contract ERC20 {
event Transfer(address indexed from, address indexed to, uint value);
event Approval( address indexed owner, address indexed spender, uint value);
function totalSupply() constant returns (uint supply);
function balanceOf( address who ) constant returns (uint value);
function allowance(address owner, address spender) constant returns (uint _allowance);
@JonnyLatte
JonnyLatte / gist:f98b3346fd50e2b670f903819d1dbfc3
Created June 20, 2017 12:35
DELEGATECALL forwarder based TokenSeller
pragma solidity ^0.4.10;
// ------------------------------------------------------------------------
// TokenSellerFactory
//
// Decentralised trustless ERC20-partially-compliant token to ETH exchange
// contract on the Ethereum blockchain.
//
// This caters for the Golem Network Token which does not implement the
// ERC20 transferFrom(...), approve(...) and allowance(...) methods