new WalletFactory

This commit is contained in:
Matias Alejo Garcia 2014-04-16 17:50:10 -03:00
commit 536fe90431
14 changed files with 462 additions and 349 deletions

View file

@ -10,11 +10,13 @@ var Insight = module.exports.Insight = require('./js/models/blockchain/Insight')
var StorageLocalPlain = module.exports.StorageLocalPlain = require('./js/models/storage/LocalPlain');
var StorageLocalEncrypted = module.exports.StorageLocalEncrypted = require('./js/models/storage/LocalEncrypted');
module.exports.Wallet = require('soop').load('./js/models/core/Wallet',{
var WalletFactory = require('soop').load('./js/models/core/WalletFactory',{
Network: WebRTC,
Blockchain: Insight,
Storage: StorageLocalPlain,
});
module.exports.WalletFactory = WalletFactory;
//var walletFactory = new WalletFactory(config);
module.exports.API = require('./API');