I guess the latter uses the former. We are using the former in our TokenScript. But either way, there is a 2-step process:
Transfer xDai on the xDai chain
Withdraw from Ethereum mainnet
Our TokenScript file only does (1). I wonder if (2) used to be done by (xDai) folks running the validators? I thought we were one of the validators. James S used to work on this. Does @Soylentblue know how this work? @victor928 did the xDai bridge ever work?
For @STJ89, I think a quick turnaround is to attempt to do (2) described in A for the user (I'm not sure if it can be done by the someone else other than the original sender, but I guess it can be). Watch out for the gas fee and what it prompts you to do, just to be safe
Victor:
Don’t know why. But they add an extra step.
I haven’t used xdai for months. They must updated something.
They provide a dapp for the bridge, so we can link to that until we improve this TokenScript file https://bridge.xdaichain.com/
Context: user uses the xDai bridge TokenScript. Transaction goes through on xDai chain, but Dai does not appear on Ethereum mainnet.
Boon:
Victor:
They provide a dapp for the bridge, so we can link to that until we improve this TokenScript file https://bridge.xdaichain.com/