Created
January 24, 2018 14:56
-
-
Save adsc-cloudtec/2d51450c68795e2078c4a1b00cf3a605 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.tokens = []; | |
// Load wallet list from local storage | |
let wallets = JSON.parse(localStorage.getItem('wallets')); | |
let transport = new Transport(wallets[2].network); | |
let viewTokens = this.tokens; | |
transport.findTokens(this.tokenTemplates[1], function(tokens) { | |
console.log('tokens: ' + JSON.stringify(tokens)); | |
viewTokens = tokens; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment