Skip to content

Commit

Permalink
missing js files
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Aug 2, 2018
1 parent 1f0f34b commit 17d9c8a
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
64 changes: 64 additions & 0 deletions app/js/networks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
module.exports = {
bitcoin: {
messagePrefix: '\x18Bitcoin Signed Message:\n',
bech32: 'bc',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x00,
scriptHash: 0x05,
wif: 0x80
},
testnet: {
messagePrefix: '\x18Bitcoin Signed Message:\n',
bech32: 'tb',
bip32: {
public: 0x043587cf,
private: 0x04358394
},
pubKeyHash: 0x6f,
scriptHash: 0xc4,
wif: 0xef
},
litecoin: {
messagePrefix: '\x19Litecoin Signed Message:\n',
bip32: {
public: 0x019da462,
private: 0x019d9cfe
},
pubKeyHash: 0x30,
scriptHash: 0x32,
wif: 0xb0
},
dogecoin: {
messagePrefix: '\x19Dogecoin Signed Message:\n',
bip32: {
public: 0x02facafd,
private: 0x02fac398
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e
},
zcash: {
messagePrefix: '\x19Zcash Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x00,
scriptHash: 0x05,
wif: 0x80
},
zcash_test: {
messagePrefix: '\x19Zcash Signed Message:\n',
bip32: {
public: 0x043587cf,
private: 0x04358394
},
pubKeyHash: 0x6f,
scriptHash: 0xc4,
wif: 0xef
}
}
9 changes: 9 additions & 0 deletions app/js/touchbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


function ChangeInitText(text, color) {
ipcRenderer.send('ChangeInitText', {text: text, color: color});
}

function ChangeSecondText(text, color) {
ipcRenderer.send('ChangeSecondText', {text: text, color: color});
}

0 comments on commit 17d9c8a

Please sign in to comment.