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

Ethereum support #858

Open
4 tasks
volovyks opened this issue Sep 25, 2024 · 0 comments
Open
4 tasks

Ethereum support #858

volovyks opened this issue Sep 25, 2024 · 0 comments
Assignees
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Epic Milestone or collection of like issues Near BOS NEAR BOS team at Pagoda

Comments

@volovyks
Copy link
Collaborator

volovyks commented Sep 25, 2024

The current mpc NEAR contract provides two functionalities: protocol management and aggregator of signatures. Protocol management will remain on NEAR, but the aggregator of signatures should be extended to smart contracts on all blockchains we support, starting from Ethereum.

The aggregator of signatures part of the smart contract has major entry points of sign and respond, and every internal method used by these functions. Ethereum doesn't support asynchronous contract execution, so sign and query sign results should be separated into two APIs. Theoretically, it's possible to sign and recursively query sign results instead of query on the client side, but that'll be very expensive

Besides the smart contract part, the mpc node needs to know sign requests are coming in (indexer) and call the Ethereum contract respond (gateway). This issue will implement them as a prototype, but in a future task we should refactor it to an extensible way so that we can add other chain support later

Task List

  • Implement eth smart contract and unit test
  • Implement indexer
  • Implement gateway
  • Integration test
@volovyks volovyks added Near BOS NEAR BOS team at Pagoda Emerging Tech Emerging Tech flying formation at Pagoda labels Sep 25, 2024
@volovyks volovyks moved this from Backlog to Selected in Emerging Technologies Sep 25, 2024
@ailisp ailisp added the Epic Milestone or collection of like issues label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Epic Milestone or collection of like issues Near BOS NEAR BOS team at Pagoda
Projects
Status: In Progress
Development

No branches or pull requests

2 participants