-
Notifications
You must be signed in to change notification settings - Fork 0
feat: anvil to anvil erc20-atomic-swap demo #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| --call-info ${CALL_INFO_BOB} \ | ||
| --output-document ${FILE_TX_BOB}" | ||
|
|
||
| # printERC20 "${ERC20CLI_PARTICIPANT_BOB} erc20 approve --address ${BRIDGE_ADDR} --amount ${TX_AMT}" ## <- APPROVAL OMITTED FOR FAILURE SCENARIO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This scenario fails and the transaction aborts because approve is not executed on the participant chain.
mattsu6666
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! ETH2ETH atomic swap succeeded is significant progress!
… verification messages
mattsu6666
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM😀
Implemented an Anvil-to-Anvil ERC20 atomic swap demo utilizing cross-solidity. Please refer to the README.md for usage instructions.