Set a custom storage folder for the wallet SDK
subsystem. Encrypted wallet files and transaction
data will be stored in this folder. If not set
the storage folder will default to ~/.kaspa
(note that the folder is hidden).
This must be called before using any other wallet
SDK functions.
NOTE: This function will create a folder if it
doesn't exist. This function will have no effect
if invoked in the browser environment.
Set a custom storage folder for the wallet SDK subsystem. Encrypted wallet files and transaction data will be stored in this folder. If not set the storage folder will default to
~/.kaspa
(note that the folder is hidden).This must be called before using any other wallet SDK functions.
NOTE: This function will create a folder if it doesn't exist. This function will have no effect if invoked in the browser environment.