turned NodeWallet into a singleton