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

Question: about blockchains #157

Closed
gzliudan opened this issue Apr 7, 2023 · 2 comments
Closed

Question: about blockchains #157

gzliudan opened this issue Apr 7, 2023 · 2 comments

Comments

@gzliudan
Copy link

gzliudan commented Apr 7, 2023

Which blockchains are supported by SIWE now ? What are requirements for EVM compatible blockchains ? Does blockchain must support ERC-4361 ?

@gzliudan gzliudan changed the title Question: Support and requirements for blockchains ? Question: Support and requirements about blockchains ? Apr 7, 2023
@gzliudan gzliudan changed the title Question: Support and requirements about blockchains ? Question: about blockchains Apr 7, 2023
@MidnightLightning
Copy link

I'll give a non-authoritative answer as not a project maintainer, but I believe any chain that is "EVM-compatible-enough" to support message-signing in general can support an ERC4361-compatible sign-in. The "Sign in With Ethereum" concept (ERC4361) only requires off-chain interaction (namely message signing compatible with ERC191). So as long as a blockchain has asymmetric key encryption that can create a message signature, it could create a message structured in the ERC4361 format.

For this particular library's implementation of ERC4361, I don't believe it does any enforcing of what chain the user is "connected" to; it only takes the message and the signature data to parse and check the validity of.

@obstropolos
Copy link
Contributor

All EVM-compatible blockchains are compatible with ERC-4361; the ChainID just changes in the case of the signing message.

Also thanks @MidnightLightning

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

No branches or pull requests

3 participants