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

Add eNear to the omni bridge #77

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Add eNear to the omni bridge #77

wants to merge 1 commit into from

Conversation

kiseln
Copy link
Contributor

@kiseln kiseln commented Oct 18, 2024

(Not planning to merge this yet because of conflicts with #74)

Added a standard to map custom Ethereum tokens to the Near counterparts. This is useful to migrate existing (legacy) rainbow bridge assets to the OmniBridge. The first implementation is for eNear.

Created a proxy (or adapter?) for eNear that will be the only address that can mint/burn eNear tokens.

  • For burning. We have to transfer the tokens to the proxy address and then call eNear transferToNear to burn.
  • For minting. We set a fake prover that always returns true. We submit a fake proof with appropriate amount and recipient to eNear's finaliseNearToEthTransfer.

I think I should move eNear implementation to this repository and add tests.

@kiseln kiseln requested review from karim-en and olga24912 and removed request for karim-en October 18, 2024 10:00
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.

1 participant