Skip to content

Conversation

@YukiTsuchida
Copy link
Contributor

@YukiTsuchida YukiTsuchida commented Dec 11, 2025

Implemented an Anvil-to-Anvil ERC20 atomic swap demo utilizing cross-solidity. Please refer to the README.md for usage instructions.

@YukiTsuchida YukiTsuchida changed the title feat: anvil to anvil crosschain atomic-erc20-swap demo feat: anvil to anvil crosschain erc20-atomic-swap demo Dec 11, 2025
@datachainlab datachainlab deleted a comment from github-actions bot Dec 11, 2025
@YukiTsuchida YukiTsuchida self-assigned this Dec 11, 2025
@YukiTsuchida YukiTsuchida changed the title feat: anvil to anvil crosschain erc20-atomic-swap demo feat: anvil to anvil erc20-atomic-swap demo Dec 11, 2025
--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
Copy link
Contributor Author

@YukiTsuchida YukiTsuchida Dec 11, 2025

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.

Copy link
Member

@mattsu6666 mattsu6666 left a 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!

Copy link
Member

@mattsu6666 mattsu6666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM😀

@YukiTsuchida YukiTsuchida merged commit 1ee7c0b into main Dec 12, 2025
3 of 4 checks passed
@YukiTsuchida YukiTsuchida deleted the init-repo branch January 15, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants