pyth-network / pyth-network/pyth-crosschain
Support for @mysten/sui v2
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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