pyth-network / pyth-network/pyth-crosschain

Support for @mysten/sui v2

Open
#3,604 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
247
Forks
348
Avg merge
2d 1h
Merged PRs (30d)
27

Description

Hi team!

Since JSON-RPC has been deprecated and support for it will be disabled in July:
https://docs.sui.io/references/sui-api

We'd like to know when the migration of @mysten/sui to v2 is planned?

The SuiClient from v1, which is used here:
https://github.com/pyth-network/pyth-crosschain/blob/74548949863bdd3e3db3055e6cf9825fa79735bd/target_chains/sui/sdk/js/src/client.ts#L27

Turned out to be incompatible with ClientWithCoreApi from v2:
https://sdk.mystenlabs.com/sui/migrations/sui-2.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with target_chains/sui/sdk/js/src/client.ts at the referenced SuiClient usage, then read the linked Sui 2.0 migration documentation and the JSON-RPC deprecation reference. Determine the required client migration and confirm that the Sui SDK integration works with @mysten/sui v2 instead of the incompatible v1 API.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.