Skip to content

Instantly share code, notes, and snippets.

View crosschainer's full-sized avatar
💭
I may be slow to respond.

crosschainer crosschainer

💭
I may be slow to respond.
View GitHub Profile
setuptools==42.0.2; python_version < '3.0'
zc.buildout==2.13.8; python_version < '3.0'
wheel==0.37.1; python_version < '3.0'
setuptools==65.7.0; python_version >= '3.0'
zc.buildout==3.0.1; python_version >= '3.0'
wheel==0.38.4; python_version >= '3.0'
# Windows specific down here (has to be installed here, fails in buildout)
# Dependency of zope.sendmail:
import h5py
from filelock import FileLock, Timeout
from contracting.storage.encoder import encode, decode
from contracting import constants
# Constants
ATTR_VALUE = "value"
ATTR_BLOCK = "block"
LOCK_SUFFIX = ".lock"
import http.client
import json
def get_wallets():
conn = http.client.HTTPConnection("89.163.130.217", 5000)
query = """
query RichList {
allStates(
filter: {and: {key: {startsWith: "currency.balances:", notLike: "%:%:%"}, valueNumeric: {greaterThan: "0"}}}