diff --git a/Makefile b/Makefile index 9fbeb3d..c2b7b7e 100755 --- a/Makefile +++ b/Makefile @@ -22,6 +22,8 @@ include $(BOLOS_SDK)/Makefile.defines DEFINES_LIB = USE_LIB_ETHEREUM APP_LOAD_PARAMS= --curve secp256k1 $(COMMON_LOAD_PARAMS) +# Allow the app to use path 45 for multi-sig (see BIP45). +APP_LOAD_PARAMS += --path "45'" APPVERSION_M=1 APPVERSION_N=1 diff --git a/examples/signTx.py b/examples/signTx.py index f253661..75eb94b 100755 --- a/examples/signTx.py +++ b/examples/signTx.py @@ -21,6 +21,7 @@ from __future__ import print_function from ledgerblue.comm import getDongle from ledgerblue.commException import CommException +from decimal import Decimal import argparse import struct import binascii @@ -51,7 +52,7 @@ parser = argparse.ArgumentParser() parser.add_argument('--nonce', help="Nonce associated to the account", type=int, required=True) parser.add_argument('--gasprice', help="Network gas price", type=int, required=True) parser.add_argument('--startgas', help="startgas", default='21000', type=int) -parser.add_argument('--amount', help="Amount to send in ether", type=int, required=True) +parser.add_argument('--amount', help="Amount to send in ether", required=True) parser.add_argument('--to', help="Destination address", type=str, required=True) parser.add_argument('--path', help="BIP 32 path to sign with") parser.add_argument('--data', help="Data to add, hex encoded") @@ -65,7 +66,7 @@ if args.data == None: else: args.data = decode_hex(args.data[2:]) -amount = args.amount * 10**18 +amount = Decimal(args.amount) * 10**18 tx = Transaction( nonce=int(args.nonce), diff --git a/glyphs/blue_badge_akroma.gif b/glyphs/blue_badge_akroma.gif index ee400cd..40b3320 100644 Binary files a/glyphs/blue_badge_akroma.gif and b/glyphs/blue_badge_akroma.gif differ diff --git a/glyphs/blue_badge_callisto.gif b/glyphs/blue_badge_callisto.gif index 9b61398..43a8c35 100644 Binary files a/glyphs/blue_badge_callisto.gif and b/glyphs/blue_badge_callisto.gif differ diff --git a/glyphs/blue_badge_ellaism.gif b/glyphs/blue_badge_ellaism.gif index d90ae1b..cb4d811 100644 Binary files a/glyphs/blue_badge_ellaism.gif and b/glyphs/blue_badge_ellaism.gif differ diff --git a/glyphs/blue_badge_ethergem.gif b/glyphs/blue_badge_ethergem.gif index 85a95a2..01676ad 100644 Binary files a/glyphs/blue_badge_ethergem.gif and b/glyphs/blue_badge_ethergem.gif differ diff --git a/glyphs/blue_badge_ethersocial.gif b/glyphs/blue_badge_ethersocial.gif index 8a264ff..011545f 100644 Binary files a/glyphs/blue_badge_ethersocial.gif and b/glyphs/blue_badge_ethersocial.gif differ diff --git a/glyphs/blue_badge_wanchain.gif b/glyphs/blue_badge_wanchain.gif index 6b626ff..deb6484 100644 Binary files a/glyphs/blue_badge_wanchain.gif and b/glyphs/blue_badge_wanchain.gif differ