Post
Topic
Board Project Development
Re: Mixin Safe: A Convenient and Decentralized Multisig + MPC + Timelock solution
by
cedricfung
on 27/07/2023, 18:05:24 UTC

Anyway, I'm having trouble getting $10 worth of bitcoins out of the Safe. I can approve the transaction with the app, but I can't for the life of me get the PSBT to sign on Bitcoin Core so that I can give it the "final approval".

Code:
# The PSBT I'm given to sign:
cHNidP8BAG0CAAAAAUFu84YkNsGPV2cIqxFcO59PXJ8pJY9TMw90ew6qXp+VAAAAAAD/////AkCcAAAAAAAAFgAUH8WFFsDMwDYR8WzeafSpjeMzGXUAAAAAAAAAABJqEGraR8OsQUhlhYdcPQRibgMAAAAAAAEBK0CcAAAAAAAAIgAgaN/B/zX5booLeWET8OQDmgXWR24Fx1wvU4fIw7mWekQBAwSBAAAAAQV4IQLsNyxLbWpvwJZOB91IRIvISSFGn7/cTFItqQ86a5VP6ax8IQPWQXejk5icX/nIYD30IeKJDQORPx4eXnlItj9+E2pX0ayTfIKSYyEC2E82kxxhOPGCWknCn1xNmvlSTKeV4TO4z8ZaAazXfJqtArABspJok1KHAAAA

# I have the following address and public key in the private key wallet:
02ec372c4b6d6a6fc0964e07dd48448bc84921469fbfdc4c522da90f3a6b954fe9
16THpFJrhKtiWKtZGZ6BsKCJpeR5Bvpuim

# The script imported into the script wallet is:
wsh(thresh(2,pk(02ec372c4b6d6a6fc0964e07dd48448bc84921469fbfdc4c522da90f3a6b954fe9),s:pk(03d64177a393989c5ff9c8603df421e2890d03913f1e1e5e7948b63f7e136a57d1),sj:and_v(v:pk(02d84f36931c6138f1825a49c29f5c4d9af9524ca795e133b8cfc65a01acd77c9a),n:older(432))))#pdtn7kxw

The first key is my public key, the second key I assume belongs to my Mixin Wallet and the third is probably owned by the network, so it seems that the timelock will not help me in any case.

I wish you had set this up with Testnet first...

Sorry to hear this  Sad

You lost the private key in your Bitcoin Core? Or any errors that prevent you from using Bitcoin Core to sign the PSBT? And you need both the private key wallet and script wallet to sign the PSBT, and follow the guide in correct order https://support.mixin.one/en/article/how-to-use-bitcoin-core-to-approve-transactions-74l0ro/

In anyway, if you can't do it with Bitcoin Core, go to the Recovery section, and start a recovery with Members Key using Mixin Messenger.

It's not the mainnet issue, because it just works, that's the beauty of this project based on pure Bitcoin script.