Skip to content

Instantly share code, notes, and snippets.

:atom:
Atomic heights

Anton "TonyL" Lysakov tonymorony

:atom:
Atomic heights
  • Komodo Platform
  • Homeless
Block or report user

Report or block tonymorony

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am tonymorony on github.
  • I am tlysakov (https://keybase.io/tlysakov) on keybase.
  • I have a public key ASCg7zLMR46aXh0KYH97qxgfoTAr4Ds1qSLcMM0uuII3Two

To claim this, I am signing this object:

View coinlist
coinlist=(
'AXO 200000000'
'BET 999999'
'BOTS 999999'
'BTCH 20998641'
'CCL 200000000'
'COQUICASH 72000000'
'CRYPTO 999999'
'DEX 999999'
'ETOMIC 100000000'
@tonymorony
tonymorony / bot_example.py
Created Mar 11, 2020
Example of script "daemon status updates sending to Telegram"
View bot_example.py
import platform
import os
import re
import slickrpc
import shutil
import time
import threading
import math
import requests
View hetzner_plays.py
import requests
import json
header = {"Authorization": "Bearer putyourAPItokenthere", 'Content-type': 'Application/JSON'}
servers_list1 = requests.get("https://api.hetzner.cloud/v1/servers?page=1&per_page=50", headers=header).json()
servers_list2 = requests.get("https://api.hetzner.cloud/v1/servers?page=2&per_page=50", headers=header).json()
servers_ips = []
View scan_for_timelock.py
from slickrpc import Proxy
rpc = Proxy("http://%s:%s@127.0.0.1:%d"%("rpcuser", "rpcpassword", 7771))
current_height = rpc.getinfo()["longestchain"]
needed_txs = []
while (current_height > 0):
block_txs_list = rpc.getblock(str(current_height))["tx"]
for tx_id in block_txs_list:
@tonymorony
tonymorony / all_prices_test.py
Last active Sep 3, 2019
comparison of coingecko API prices with makerbot coinpaprika all prices
View all_prices_test.py
import requests
import json
api_coins = {"BTC":"bitcoin","BCH":"bitcoin-cash","DGB":"digibyte","DASH":"dash",
"QTUM":"qtum","DOGE":"dogecoin","KMD":"komodo",
"ETH":"ethereum", "BAT":"basic-attention-token",
"USDC":"usd-coin", "LTC":"litecoin", "VRSC":"verus-coin","OMG":"omisego",
"RVN":"ravencoin","RFOX":"redfox-labs","ZILLA":"chainzilla"}
def get_prices_in_usd(coins_dict):
View mm2_coins.py
coins = [
# {
# 'tag': 'RICK',
# 'min_swap': 1,
# 'activate_with':'native',
# 'electrum': [{"url":"electrum1.cipig.net:10017"},
# {"url":"electrum2.cipig.net:10017"},
# {"url":"electrum3.cipig.net:10017"}]
# },
{
View bot_trade.py
from mm2_coins import coins
import requests
import random
import time
import json
import calendar
import threading
trading_nodes = [
View komodod compile on CentOS-7-x86_64-DVD-1503-01
# insalling deps
yum update
yum groupinstall 'Development Tools'
yum install git pkgconfig automake autoconf ncurses-devel python wget gtest-devel gcc gcc-c++ libtool patch lbzip2
# by default centos7 have gcc without C11 support, so lets compile fresher gcc
curl https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2 -O
tar -xvf gcc-5.4.0.tar.bz2
View requests_rpc_proxy
#!/usr/bin/env python3
import re
import os
import requests
import json
import platform
import configparser
import sys
def config(filename, section):
You can’t perform that action at this time.