new WalletFactory
This commit is contained in:
parent
438ffe1ecc
commit
536fe90431
14 changed files with 462 additions and 349 deletions
4
copay.js
4
copay.js
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue