Continuing on our quest to put a great IOTA wallet out there
We are working with AngularJS inside a Chrome Packaged App. We've got a great software architecture out there to run with. This is great architectural software allowing excellent interchangeability of data throughout singletons.
Hardware as Wallet
Our goal is to finally develop a hardware wallet here. With a usb stick, very much similar to major hardware wallets already in the market that also use Chrome Apps - majorly because of security and cross operational systems ability to run the software . We'll be able to come up with a SIM-card that stores safely main seed for highly secure cold storage and also the ability to provide to any device such as mobile phones, computers, stations, car, laptop, watch, you name it. Whichever device you own and is IOTA capable fulfilling the IoT promise we strongly believe is the way of the future.
Some Insights
We have a structured app config being served by providers along with service and factory.
Code snippet
// Author: Eduardo Capanema
// CEO at bitworkers
// Licensed under GNU
var app = angular.module( 'BOLSHOI', [] );
app.config( function( seedProvider ) {
console.log( seedProvider );
});
app.provider( 'seed', function() {
var greet;
return {
setGreeting : function( greet ) {
greet = greet;
},
$get : function() {
return {
generate : function( length ) {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ9";
for( var i=0; i<length; i++ ) {
text += possible.charAt( Math.floor( Math.random()*possible.length ) );
}
return text;
}
}
}
}
});
app.service( 'config', function(){
var SEED = ( length )=>{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ9";
for( var i=0; i<length; i++ ) {
text += possible.charAt( Math.floor( Math.random()*possible.length ) );
}
return text;
}
var seed = SEED(81);
this.generate = function() {
seed = SEED(81);
return seed;
};
this.current = function() {
return seed;
}
});
app.factory( 'core', function() {
var fSEED = {}
var SEED = ( length )=>{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ9";
for( var i=0; i<length; i++ ) {
text += possible.charAt( Math.floor( Math.random()*possible.length ) );
}
return text;
}
var seed = SEED(81);
fSEED.generate = function() {
seed = SEED(81);
return seed;
};
fSEED.current = function() {
return seed;
}
return fSEED;
});
script
Cheers, friends. Please, don't forget to upvote, it helps us develop a great product :)
EDUARDO CAPANEMA
@bitworkers
Good Luck!!! This all sounds very promising.
Thank, you buddy! :D
Cheers,
@bitworkers
Voted. It's not much but anything that helps IOTA forward is appreciated.
Thank you @wekkel
I really like your words here!
Cheers, friend
@bitworkers