Skip to content

Instantly share code, notes, and snippets.

View nscarlson's full-sized avatar
🌱

Nathan Carlson nscarlson

🌱
View GitHub Profile
@nscarlson
nscarlson / ledger_btc_segwit_xpub
Created December 14, 2018 01:01
Derive btc segwit xpub from Ledger Nano
import '@babel/polyfill'
import bitcoin from 'bitcoinjs-lib'
import bs58check from 'bs58check'
import Bitcoin from '@ledgerhq/hw-app-btc'
import Transport from '@ledgerhq/hw-transport-u2f'
Verifying my Blockstack ID is secured with the address 1MyEHCMxmR8kXeT58NcwSrCCPdLHR1gUAk https://explorer.blockstack.org/address/1MyEHCMxmR8kXeT58NcwSrCCPdLHR1gUAk
### Keybase proof
I hereby claim:
* I am ambidextroushq on github.
* I am ambidextrous (https://keybase.io/ambidextrous) on keybase.
* I have a public key whose fingerprint is 63BD 4115 C4E9 66ED C2D7 E72C 3033 FC8F 9E76 058A
To claim this, I am signing this object:
Verifying that "ncarlson.id" is my Blockstack ID. https://onename.com/ncarlson

Keybase proof

I hereby claim:

  • I am nscarlson on github.
  • I am nathancarlson (https://keybase.io/nathancarlson) on keybase.
  • I have a public key whose fingerprint is 9EDC 4401 46E1 015B AA60 FCB8 1126 ACE8 C555 18E7

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am nscarlson on github.
* I am nathancarlson (https://keybase.io/nathancarlson) on keybase.
* I have a public key whose fingerprint is 453B 19B7 ADF0 C20F AAE0 907D FD11 E323 63C4 B0FE
To claim this, I am signing this object: