MultipleAddressWallet.js. Initialization of the address is pretty straight-forward, just take a look.
/src/index.jsis loaded. Index.js loads
/src/init.jsobject, which is responsible for loading the 2 main infrastructure components of the client: (1) User Storage module and (2) GoodWallet module, which is loaded GoodWallet from
/lib/wallet/GoodWallet.jsThe class is exported as a singleton, using a singleton pattern on the export in
global.wallet. The only method called on the constructor is
WalletFactory.js, which is calling the relevant wallet provider based on the provider parameter (currently only SoftwareWallet is supported).