WalletService

class WalletService(node: Node)

WalletService class.

Author

Marcus Cvjeticanin

Since

0.1.1

Parameters

node

The node that the wallet service is connected to.

Constructors

Link copied to clipboard
constructor(node: Node)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun loadWalletFromFile(fileName: String, password: String)

Loads the wallet from a file.

Link copied to clipboard
fun saveWalletToFile(fileName: String, password: String)

Saves the wallet to a file.

Link copied to clipboard
fun setStartHeight(height: Long)
Link copied to clipboard
suspend fun startSync()

Starts the sync process.

Link copied to clipboard
fun stopSync()

Stops the sync process.