evm/scripts/bridge.ts: This does the source chain's bridging activities: Pays the Boba Bridge the exit fee (if on Bobabase), Transfer's the Ship NFT to the bridge.
evm/scripts/bridge-broken-boba-example.ts an example script taken from the Boba Github Repo, with unimportant things commented out.
Neither of these will actually run until we're unblocked. Specifically we need:
The ABIs for Boba's Bridge and BillableContract, to issue calls to them. These contracts are not verified, so tools that reconstruct them are probably not usable.
Better definition of L2BOBAToken, as the documentation does not define it. I assume it's the ERC20 contract. It's only used on the L2 side. We likely need the ABI also.
The example script uses watcher, an optimism library that's since been removed from Boba's utils. A changelog message says to use the watcher-api instead. This requires an API Key which lacks user documentation for how to obtain it. Watcher is only really necessary to test the bridge activity, as one could manually watch block explorers' activity logs.
This PR adds two non-working scripts:
evm/scripts/bridge.ts
: This does the source chain's bridging activities: Pays the Boba Bridge the exit fee (if on Bobabase), Transfer's the Ship NFT to the bridge.evm/scripts/bridge-broken-boba-example.ts
an example script taken from the Boba Github Repo, with unimportant things commented out.Neither of these will actually run until we're unblocked. Specifically we need:
L2BOBAToken
, as the documentation does not define it. I assume it's the ERC20 contract. It's only used on the L2 side. We likely need the ABI also.watcher
, an optimism library that's since been removed from Boba's utils. A changelog message says to use thewatcher-api
instead. This requires an API Key which lacks user documentation for how to obtain it. Watcher is only really necessary to test the bridge activity, as one could manually watch block explorers' activity logs.