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

Update to use Gateway functions #30

Open
fadeev opened this issue Dec 20, 2024 · 5 comments
Open

Update to use Gateway functions #30

fadeev opened this issue Dec 20, 2024 · 5 comments
Assignees

Comments

@fadeev
Copy link
Member

fadeev commented Dec 20, 2024

UniversalKit still uses Toolkit functions that transfer tokens to ERC-20 custody or TSS directly. Update the components to use evmDepositAndCall, zetachainWithdrawAndCall and other Toolkit functions to interact with universal apps through Gateway, instead. This mostly is related to the Swap component.

@lukema95
Copy link

@fadeev Looks like it's mainly about modifying this file, right?

@fadeev
Copy link
Member Author

fadeev commented Dec 23, 2024

@fadeev Looks like it's mainly about modifying this file, right?

Yes, should be rather straightforward.

@lukema95
Copy link

@fadeev Looks like it's mainly about modifying this file, right?

Yes, should be rather straightforward.

Ok, I would like to take this.

@lukema95
Copy link

@fadeev It seems that the following code is written wrong, it should be withdraw instead of deposit, right?

const tx = await client.deposit({

@fadeev
Copy link
Member Author

fadeev commented Dec 24, 2024

@fadeev It seems that the following code is written wrong, it should be withdraw instead of deposit, right?

const tx = await client.deposit({

Seems like an error, right.

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

2 participants