This file contains hidden or 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
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"}}} |
This file contains hidden or 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
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" |
This file contains hidden or 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
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: |