add local public key
set logging false