Skip to content

Commit 0fe6e2c

Browse files
committed
test phrase origin
1 parent 5f4137e commit 0fe6e2c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

assets_js_lib_bip39_utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ const bip32_configs = {
108108

109109
// ============================================
110110
// CONSTANTS / TEST VECTORS
111+
// bip39 (All addresses / xpubs in this app are test addresses derived from the following testphrase, taken from https://github.com/bitcoinbook/bitcoinbook/blob/f8b883dcd4e3d1b9adf40fed59b7e898fbd9241f/ch05.asciidoc)
112+
// "army van defense carry jealous true garbage claim echo media make crunch"
111113
// ============================================
112114

113115
const bip39_utils_test_vectors = {

assets_js_lib_crypto_utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ secp.CURVE = CURVE;
5757

5858
// ============================================
5959
// TEST CONSTANTS
60+
// bip39 (All addresses / xpubs in this app are test addresses derived from the following testphrase, taken from https://github.com/bitcoinbook/bitcoinbook/blob/f8b883dcd4e3d1b9adf40fed59b7e898fbd9241f/ch05.asciidoc)
61+
// "army van defense carry jealous true garbage claim echo media make crunch"
6062
// ============================================
6163

6264
const crypto_utils_const = {

assets_js_lib_xmr_utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ let xmr_I = null;
5959

6060
const xmr_utils_const = {
6161
"version": "1.1.0",
62-
// Derived from test phrase "army van defense carry jealous true garbage claim echo media make crunch"
62+
// bip39 (All addresses / xpubs in this app are test addresses derived from the following testphrase, taken from https://github.com/bitcoinbook/bitcoinbook/blob/f8b883dcd4e3d1b9adf40fed59b7e898fbd9241f/ch05.asciidoc)
63+
// "army van defense carry jealous true garbage claim echo media make crunch"
6364
// via BIP44 path m/44'/128'/0'/0/0 + sc_reduce32(fasthash(privkey))
6465
"test_spend_key": "007d984c3df532fdd86cd83bf42482a5c2e180a51ae1d0096e13048fba1fa108",
6566
"test_view_key": "e4d63789cdfa2ec48571e93e47520690b2c6e11386c90448e8b357d1cd917c00",

0 commit comments

Comments
 (0)