threefoldtech / web3gw

Proxy for the web3 world
Apache License 2.0
1 stars 1 forks source link

eth: add call to await a transaction on stellar bridge #144

Open brandonpille opened 1 year ago

brandonpille commented 1 year ago

The function _bridge_toeth (from the stellar client) allows you to convert TFT on stellar to TFT on ethereum. But this function returns once the transaction is submitted on stellar. After that the stellar-eth bridge has to recognize this transaction and act upon it: create a transaction on eth. We should add a function _await_transaction_on_stellarbridge in the ethereum client that waits until it recognizes the transaction from the bridge.