code: def from_master_secret(class_, master_secret):
          
          I64 = hmac.HMAC(key=b"Bitcoin seed", msg=master_secret, digestmod=hashlib.sha512).digest()
          return class_(chain_code=I64[32:], secret_exponent=from_bytes_32(I64[:32]))
docs: Generate a Wallet from a master password.