Off-Narrative-Labs / Tuxedo

Write UTXO-based Substrate Runtimes
https://off-narrative-labs.github.io/Tuxedo/
Apache License 2.0
51 stars 14 forks source link

Example Piece: On-chain light client #89

Open JoshOrndorff opened 10 months ago

JoshOrndorff commented 10 months ago

I just got back from PBA3 where I gave students an assignment to write a smart contract that works as on on-chain light client for another chain. Basically a btc-relay like thing. We were using solidity and ink! so of course the solutions were all account based. Got me thinking about how to implement the same thing in UTXOs. I think each foreign block header could be a separate utxo.

JoshOrndorff commented 9 months ago

For some details about what the project would require, see: https://github.com/JoshOrndorff/archive-bridge-assignment