Create a new wallet object from BitcoinWallet and set the initial value to 0.

Make sure to assemble var wallet  = new BitcoinWallet(0);