XRP <> Ethereum fusion+ integration, powered by a TEE multisig and secured by a custom validator set
The project is powered by a TEE multisig that adds an extra level of security over using a single TEE. The idea is that you can create a multisig or escrow on any chain, for us it was xrpl and steller and generate the multisig signers inside TEE machines and every TEE would only sign the transaction if the secret was revealed allowing any chain regardless of it's design to have a secure and unifid approach to implmenting hash time locked contracts. We also add a custom validator set that would take the responsibility of verifying the escrows and multisig were set up properly off the user for better security and UX.
We use go, with our own implementation of xrpl encoding and signing for transaction and the official go library for stellar. We implement the fusion+ HTLC by 1inch. The flow is roughly that the user verifies that they are communicating with a valid TEE running the correct code. The they would generate a wallet on each TEE and create a multisig on XRPL or Steller with those wallets as the signers. Then they would create a swap order and only after the chosen validator set approves this order, meaning they sign the escrows were set up properly only then can the user claim the order. This happens after the secret has been revealed on Ethereum, or if it's the other way around, by revealing the secret they already know and the TEE would put that into the Memo field of the transaction so the counterparty can reveal it on the EVM. If the claim is sucessful the TEE signs the payment transaction on XRP or Steller allowing the user to combine the signatures from enought tees and claiming the funds. The same flow is used for refunds, except that the user doesent need the secret, just enough time to pass. You can clone the repo and run it, it should work fully. You can see the commands I used in the demo video.