Skip to content
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

feat(bridge-ui-v2): switch chain #14117

Merged
merged 30 commits into from
Jul 10, 2023
Merged

feat(bridge-ui-v2): switch chain #14117

merged 30 commits into from
Jul 10, 2023

Conversation

jscriptcoder
Copy link
Contributor

Switching chains and updating state

@dantaik
Copy link
Contributor

dantaik commented Jul 7, 2023

Is ERC1155 an superset of ERC721? If so, maybe for all ERC721 tokens, we just treat them as ERC1155?

@adaki2004
Copy link
Contributor

Is ERC1155 an superset of ERC721? If so, maybe for all ERC721 tokens, we just treat them as ERC1155?

Are you sure you wanted to ask it here ? Anyhow, the answer is: it is implementation (erc1155) dependent.
So if erc1155 (for whatever reason) limits that each and every tokenId can be minted only once, than a superset, yes, but otherwise no.

I'd handle them separately. (Not a big deal / difference) APIs towards client/relayer shall be similar but the message structure will be different.

dantaik
dantaik previously approved these changes Jul 8, 2023
Co-authored-by: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com>
@jscriptcoder jscriptcoder added this pull request to the merge queue Jul 10, 2023
Merged via the queue into main with commit d51161d Jul 10, 2023
10 checks passed
@jscriptcoder jscriptcoder deleted the switch_chain branch July 10, 2023 06:20
@github-actions github-actions bot mentioned this pull request Jul 10, 2023
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.

None yet

5 participants