Skip to content

Instantly share code, notes, and snippets.

View porobov's full-sized avatar
🤖
Digitizing identity

Petr Porobov porobov

🤖
Digitizing identity
View GitHub Profile
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:muport:QmUKiDVk4cJRjF4ZftPcAzuq6UM5csosYcVyhzx8BFtjg5 ✅
Create your profile today to start building social connection and trust online at https://3Box.io/

Keybase proof

I hereby claim:

  • I am porobov on github.
  • I am peterporobov (https://keybase.io/peterporobov) on keybase.
  • I have a public key whose fingerprint is 4FC9 AAD9 22CE 5E32 DC57 BD13 ECC7 3D39 4D6F 4A33

To claim this, I am signing this object:

@porobov
porobov / My15.js
Last active June 1, 2018 10:46
Truffle tests for MillionEtherHomepage
contract('My15', function(accounts) {
// SETTINGS
var CHAIN_OF_USERS = true;
var BUY_AND_SELL_BLOCKS = true;
var PAYOUT = true;
var IMAGES = true;
var ADMIN_FUNCTIONS = false;
var MANY_BLOCKS = false;
# -*- coding: utf-8 -*-
from ethjsonrpc import EthJsonRpc
from ethjsonrpc.utils import hex_to_dec
import json
import ethereum.abi
from sha3 import sha3_256
import logging
from operator import itemgetter
# from requests.exceptions import ConnectionError as RequestsConnectionError