Bitcoin Forum
December 14, 2024, 10:47:19 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Personnal project - Delayed access Wallet  (Read 137 times)
yup.damon (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 1


View Profile
May 21, 2024, 02:45:53 PM
Merited by dkbit98 (1)
 #1

Hello there,

I’m happy to introduce you to a side project I’ve developed this week.

Just like a lot of you, I’m keeping my seed in form of BIP39 mnemonic on metal plate.
I do not keep these plate with me but far away in order to avoid a 5$ attack.
That’s spacial distance.

I suggest to complete this approach by adding  “Temporal distance” to your security scheme.
This simply means when you want to access your fund you cannot before a given amount of time.

I believe a wallet mixing temporal distance and spacial distance is a great form of security. The durations I'm talking about are between few hours to few days.

I’ve realised an javascript implementation of this idea.
If you have NPM you can download it and use it as a CLI tool or a lib for your own project. (npm install -g wait4wallet)
https://www.npmjs.com/package/wait4wallet

Because of the cryptographic nature of this project I publish the code in order to allows anyone to audit the it
https://github.com/Yug-Damon/wait4wallet

How to use it

Building the delayed access wallet :
walletA -> walletB + secret

Code:
$ wait4wallet --duration <duration> --mnemonic “<mnemonic>”
// the given amount of time of computation
Mnemonic: [the new mnemonic] use it for funding of multisig
secret : [the secret] store it for later access

Accessing the delayed access wallet
walletA + secret -> walletB

Code:
$ wait4wallet —secret <secret> --mnemonic “<mnemonic>”
// the given amount of time of computation
Mnemonic: [the new mnemonic] use it for signing transaction

Under the hood

The implementation of this tool is dead simple.

For a given amount of time, the tool is looping on BIP85 derivation from an initial wallet, once the time limit is reached, the tool print out the last derivation and the number of iterations associated.

It's then always possible to access this wallet knowing the initial wallet and the iteration count with the required amount of time.

The secret is this number converted to base 36.


Thank you to have read me, I’ll be happy to answer questions and consider any improvement
geraldine198
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 08, 2024, 05:35:20 AM
Last edit: June 10, 2024, 03:49:12 AM by geraldine198
 #2

Hello,

Thanks for sharing such insightful project and info. Its very helpful to me. Spotify Pie
larry_vw_1955
Sr. Member
****
Offline Offline

Activity: 1190
Merit: 469


View Profile
June 08, 2024, 06:17:41 AM
 #3

The implementation of this tool is dead simple.

For a given amount of time, the tool is looping on BIP85 derivation from an initial wallet, once the time limit is reached, the tool print out the last derivation and the number of iterations associated.


this time delay is one in which the user could bypass it very easily so i don't see any use in it. they know the index, they can go straight to their seed phrase without doing all the iterations. so this time delay is not enforced.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!