[Supersim Interoperability] doubt in implementation of message passing using Supersim #663
Replies: 1 comment
-
Due to my limited knowledge, I may not be able to answer your question accurately.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Did you check the documentation?
Documentation Feedback (Optional)
No response
What type of issue are you experiencing?
Issue Description
I'm creating a contract which Disperses the ERC20 token to multiple recipient on destination chain.
I've also created Script in which mints the superchainWETH tokens and send it via crossdomainmessenger,
It's successfully executing the
"transferTokens" function but "receiveTokens" is not called.
for better understanding, I'm sending 3 WETHs from Chain 901 to 902 with the message containing Two EOA addresses with amount 1 WETH and 2 WETH respectively,
expected result should be on chain 902, WETH should be dispersed to the EOA accounts as per the received message.
and there should not be extra function call after calling Transfertokens function on chain 901 by user (there can be internal function calls)
here's the github repo of that : [https://github.com/Kaushal-205/SmartDisperse-supersim]
please let me know, if you need any other thing in understanding or running the script
Thank you
Steps to Reproduce
supersim --interop.autorelay
forge install
create .env file according to the given .env-example file
Run the forge script
```forge script script/SmartDisperse.s.sol``
Are you using a specific library or SDK?
Are you using the latest version of the library/SDK?
Environment Details
No response
Troubleshooting Attempts
No response
What type of support do you need?
Additional Information
No response
Feedback
No response
Beta Was this translation helpful? Give feedback.
All reactions