tuweni / org.apache.tuweni.wallet / Wallet / open

open

fun open(file: Path, password: String): Wallet (source)

Opens a new wallet with the file. If the file is missing, it throws an IllegalArgumentException.

Parameters

file - the file with the encrypted secret.

password - the password

Return
the wallet from the file