Ledger Drop Shipping API
Domains
Production domain : https://www.ledgerwallet.com Staging domain : http://vr.ledger.epicdream.fr
End points
Production domain : https://www.ledgerwallet.com Staging domain : http://vr.ledger.epicdream.fr
End points
from .comm import getDongle | |
import argparse | |
import getpass | |
def auto_int(x): | |
return int(x, 0) | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--persistent", help="Persist passphrase as secondary PIN", action='store_true') |
from ledgerblue.comm import getDongle | |
from ledgerblue.commException import CommException | |
dongle = getDongle(True) | |
apdu = bytes("E0D0000000".decode('hex')) | |
dongle.exchange(apdu) |
from ledgerblue.comm import getDongle | |
from ledgerblue.commException import CommException | |
deriveString = "passphrase" | |
dongle = getDongle(True) | |
apdu = bytes("E0D00100".decode('hex')) + chr(len(deriveString)) + bytes(deriveString) | |
dongle.exchange(apdu) |
from ledgerblue.comm import getDongle | |
from ledgerblue.commException import CommException | |
deriveString = "passphrase" | |
dongle = getDongle(True) | |
apdu = bytes("E0D00200".decode('hex')) + chr(len(deriveString)) + bytes(deriveString) | |
dongle.exchange(apdu) |
Verifying that +ledgerhq is my blockchain ID. https://onename.com/ledgerhq |
I hereby claim:
To claim this, I am signing this object:
// Go to Coinkite application | |
ledger.app.router.go("/apps/coinkite/dashboard/index") |
pause 2**fail_attempts | |
fail_attempts++ | |
verify_fail_attempts_increment() | |
if (hardened_compare(pin_entered, PIN)) then | |
fail_attemps = 0 | |
start_wallet() | |
end |
if (!regular_compare(pin_entered, PIN)) then | |
fail_attemps++ | |
pause 2**fail_attemps | |
else | |
fail_attemps = 0 | |
start_wallet() | |
end |