This file contains 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
import localStore from 'store/dist/store.modern'; | |
/* keystore will be saved to local storage under this key */ | |
export const localStorageKey = 'ks'; | |
/** | |
* Save wallet to localStorage | |
*/ | |
export function* saveWalletS() { | |
try { |
This file contains 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
/** | |
* Generate new seed and password | |
* https://github.com/PaulLaux/eth-hot-wallet/blob/master/app/containers/HomePage/saga.js#L69 | |
*/ | |
export function* generateWallet() { | |
try { | |
const password = generateString(generatedPasswordLength); | |
const extraEntropy = generateString(generatedPasswordLength); | |
const seed = lightwallet.keystore.generateRandomSeed(extraEntropy); |
This file contains 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
/* | |
MonetaryCoinEro token contract ABI | |
0x227412a7d92bca453b5e2f790fc8282ca2e1a686 | |
MonetaryCoinChi token contract ABI | |
0x6644fc3e5224d28ba9172bfaa21359d43bbd4190 | |
Gdp oracle, PoS forging and optional m5 token | |
Verified code: | |
https://etherscan.io/address/0x227412a7d92bca453b5e2f790fc8282ca2e1a686#code | |
Source: | |
https://github.com/Monetary-Foundation/MonetaryCoin |
NewerOlder