code: def get_bip32_address(self, ecdh=False):
          
          index = struct.pack('<L', self.identity_dict.get('index', 0))
          addr = index + self.to_bytes()
          log.debug('bip32 address string: %r', addr)
          digest = hashlib.sha256(addr).digest()
          s = io.BytesIO(bytearray(digest))
  
          hardened = 0x80000000
          addr_0 = 17 if bool(ecdh) else 13
          address_n = [addr_0] + list(util.recv(s, '<LLLL'))
          return [(hardened | value) for value in address_n]
docs: Compute BIP32 derivation address according to SLIP-0013/0017.