Skip to content

Add support for Sui PTB in ZetaClient #3740

@lumtis

Description

@lumtis

Implementation of withdrawAndCall will require the use of PTB

Example of code for the implementation can be found at zeta-chain/protocol-contracts-sui#31

We don't need implementation for withdrawAndCall for now but the building blocks that will allow to generate a PTB.

The PTB necessary for withdrawAndCall will call withdraw_impl and on_call.

An example how it is done in TypeScript can be found here: https://github.com/zeta-chain/localnet/blob/sui-withdraw-and-call-poc/packages/localnet/src/suiWithdrawAndCall.ts

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions