Off-Narrative-Labs / Tuxedo

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

Example Piece: On-chain light client #89

Open JoshOrndorff opened 1 year ago

JoshOrndorff commented 1 year 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 1 year ago

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