Solana pre-alpha · 2PC-MPC signing for cross-chain settlement
Create the dWallet through the Ika program first, then register it here to hand authority to DarkBook's CPI authority PDA. DarkBook can then approve withdrawal messages signed by the Ika 2PC-MPC network.
Ika dWallets run on Solana devnet (pre-alpha). Create one through the Ika CLI, then register it here. Once registered, DarkBook's CPI authority controls it.
On position close DarkBook can call approve_dwallet_withdrawal to authorize a cross-chain payout. The Ika network detects the MessageApproval PDA and produces a 2PC-MPC signature for settlement on Bitcoin, Ethereum or any supported chain.
Pre-alpha: signing uses a mock signer. Real MPC security arrives at mainnet.