{"type":"rich","version":"1.0","author_name":"npub10f96gqrsu4qpygfgvuvzce47aavjvql703egfde0l2hua8dzpszs67ej47","author_url":"https://nostr.ae/npub10f96gqrsu4qpygfgvuvzce47aavjvql703egfde0l2hua8dzpszs67ej47","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2014-03-11\n📝 Original message:\u003e Trezor and Electrum may be earlier than this.\n\nSorry for not joining the discussion earlier.\n\nI have postponed the release of bip32 features in Electrum due to \nongoing discussions with Trezor and bitcoinj developers.\nI planned to post a summary in a separate thread, but this info is also \nrelevant for this thread, so I'm posting here.\n(sorry if this is a bit offtopic, though)\n\nI plan to create a 2-factor authentication service that uses p2sh \naddresses in Electrum.\nAll addresses are derived from the wallet root seed, and should be \nrecoverable from it.\n(of course this departs from scenarios where master keys are generated \nindependently;\nmy opinion is that both should be possible)\n\nSo, when the user activates 2fa protection, the root private key is \ndeleted from their hard drive, as well as the\nmaster private key of one of the branches used to create p2sh addresses \n(which is sent to a remote server).\n\nSee this (fairly old) description here for more details: \nhttps://bitcointalk.org/index.php?topic=274182.0\n\nSince I still want to be able to generate 1of1 accounts after the 2fa \nprotection is activated,\n1of 1 accounts should not be generated directly from the root of the tree.\nThus, an extra level must be inserted in the tree.\n\nFor example, 1of1 addresses can be derived as follows:\n\nm/reserved'/n'\n\nwhere n is the account index, and \"reserved\" is an index that indicates \nthe type of address.\n(0 would be reserved for 1of1 addresses)\n\nslush suggested that another layer of derivation would be useful, in \norder to use wallets\nwith altcoins on the same seed. This lead to this type of derivation:\n\nm/coin'/reserved'/n'\n\nwhere \"coin\" would be 0 for Bitcoin, and \"reserved\" would be 0 for 1of1 \naddresses\n\nThomas"}
