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 TON support #2586

Open
1 task
Tracked by #2995
brewmaster012 opened this issue Jul 29, 2024 · 2 comments
Open
1 task
Tracked by #2995

Add TON support #2586

brewmaster012 opened this issue Jul 29, 2024 · 2 comments
Assignees
Labels
chain:ton epic Group issues under a high-level objective feature:chain-integration New chain integration feature:idea An early idea for a feature. Used as reference to follow new feature integrations

Comments

@brewmaster012
Copy link
Collaborator

brewmaster012 commented Jul 29, 2024

Support the Telegram Open Network (TON) in the following sequences

  1. ZRC20 deposit and withdraw support for TON token
  2. ZRC20 depositAndCall() from TON network with TON token
  3. ZRC20 deposit/depositAndCall/withdraw for TON fungible token such as Jetton
  4. ZRC20 withdrawAndCall() -- to be researched further how this would look like, as cross contract call on TON is asynchronous.

Reference design is the Solana support: #2506
Particularly the Gateway contract on TON can reference the solana program https://github.com/zeta-chain/protocol-contracts-solana
The Gateway contract will need to verify the TSS ECDSA signature in the contract itself, and associated guards against
replay on the same chain (via nonce), replay on other chains (via chainid), and basic commitment in the signature against message.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Omnichain support for TON assets and remote call.

Describe alternatives you've considered
Alternative would be to

  1. not support TON

Motivation and Context
TON is an emerging blockchain that is currently TOP 10 by market capitalization. It's also a heterogenous chain which
would benefit much from the abstraction zetachain provides.

Implementation

Tasks

Preview Give feedback
  1. 12 of 15
    chain:ton epic
    swift1337
@brewmaster012 brewmaster012 added the feature:idea An early idea for a feature. Used as reference to follow new feature integrations label Jul 29, 2024
@lumtis
Copy link
Member

lumtis commented Jul 30, 2024

Added EPIC task here: #2549

Would be good to look in the differences with Solana

@CharlieMc0 CharlieMc0 added this to the September Release milestone Aug 5, 2024
@lumtis lumtis added the epic Group issues under a high-level objective label Aug 5, 2024
@lumtis lumtis assigned lumtis and swift1337 and unassigned lumtis Aug 5, 2024
@lumtis lumtis added the feature:chain-integration New chain integration label Aug 19, 2024
@lumtis lumtis changed the title add: TON support add TON support Aug 19, 2024
@lumtis lumtis changed the title add TON support Add TON support Aug 19, 2024
@lumtis lumtis removed this from the September Release milestone Aug 19, 2024
@swift1337
Copy link
Contributor

swift1337 commented Sep 2, 2024

Linking #2716. Please note that

ZRC20 deposit/depositAndCall/withdraw for TON fungible token such as Jetton

Is not included in the implementation scope as of now. TON contracts are upgradable, so we can improve this is the future.

Please also note each jetton type of each account is a separate smart contract instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chain:ton epic Group issues under a high-level objective feature:chain-integration New chain integration feature:idea An early idea for a feature. Used as reference to follow new feature integrations
Projects
None yet
Development

No branches or pull requests

4 participants