Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kefkius on github.
  • I am kefkius (https://keybase.io/kefkius) on keybase.
  • I have a public key ASAJKOlVHgRuqqUXxfGVNsE35vy0eWqb6vVB5zRPZGyWago

To claim this, I am signing this object:

import argparse
from lxml import html
import requests
import re
import sys
class CoinMarketCap(object):
def __init__(self, currency):
self.tree = html.fromstring(requests.get('http://coinmarketcap.com').text)
data = self.tree.xpath('//div[@id="currency-exchange-rates"]/@data-{}'.format(currency))
@Kefkius
Kefkius / clamour-checklocktimeverify
Created November 30, 2015 16:53
Clamour - CHECKLOCKTIMEVERIFY Implementation
Change the behavior of the opcode CHECKLOCKTIMEVERIFY so that it behaves identically to Bitcoin's implementation.
@Kefkius
Kefkius / encompass-multisig.md
Created April 6, 2015 20:09
encompass multisig

Encompass uses a key derivation path separate from usual BIP-0044 behavior. As a result, Encompass multisignature wallets are not compatible with Electrum multisignature wallets.

Encompass uses this key derivation path:

m/44'/0'/coin/change/address_index

Where coin is the BIP-0444 chain index of the currency, and change and address_index are analogous to the BIP-0044 fields of the same name. Encompass uses this path because it allows cosigners to only share their public keys once and to use any coin they want afterwards.