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

Loopring Relayer #8

Open
zomglings opened this issue Jul 4, 2023 · 1 comment
Open

Loopring Relayer #8

zomglings opened this issue Jul 4, 2023 · 1 comment

Comments

@zomglings
Copy link
Contributor

zomglings commented Jul 4, 2023

Loopring relayers should allow users who own NFTs on the Loopring exchange to create corresponding Ethereal NFTs.

Loopring is a layer 2 (blockchain?) on top of Ethereum Mainnet.

It is possible for Loopring users to mint counterfactual NFTs, which do not have a corresponding NFT contract on Ethereum mainnet yet - the mainnet contracts are deployed deterministically via a factory.

Loopring has an API, and there is an endpoint to check the current owner of an NFT: https://docs.loopring.io/en/dex_apis/getNftsInfo.html

Need to look into the Loopring user experience - is it reasonable to ask for an Ethereum account signature from the user signifying that they want to create an Ethereal corresponding to a Loopring NFT they own?

@zomglings zomglings converted this from a draft issue Jul 4, 2023
@zomglings
Copy link
Contributor Author

Loopring uses EdDSA, the Edwards Curve Digital Signature Algorithm

We can verify these signatures in golang using the eddsa package: https://pkg.go.dev/github.com/katzenpost/core/crypto/eddsa#PublicKey.Verify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant