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 build_mainnet for easy use sui-sdk #20640

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

lispking
Copy link
Contributor

@lispking lispking commented Dec 16, 2024

Description

This PR adds a new function build_mainnet corresponding to the mainnet RPC node for the SuiClientBuilder type.

Test plan

How did you test the new or updated feature?

let sui_mainnet = SuiClientBuilder::default().build_mainnet().await?;
println!("Sui mainnet version: {}", sui_mainnet.api_version());

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK: Added a build_mainnet function to the SuiClientBuilder.
  • REST API:

Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 3:34am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 3:34am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 3:34am
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 3:34am

@hyd628 hyd628 requested a review from stefan-mysten December 16, 2024 02:46
Copy link
Contributor

@stefan-mysten stefan-mysten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lispking

@lispking lispking temporarily deployed to sui-typescript-aws-kms-test-env December 16, 2024 03:23 — with GitHub Actions Inactive
@stefan-mysten stefan-mysten self-assigned this Dec 16, 2024
@stefan-mysten stefan-mysten temporarily deployed to sui-typescript-aws-kms-test-env December 17, 2024 03:33 — with GitHub Actions Inactive
@stefan-mysten stefan-mysten merged commit 53dc802 into MystenLabs:main Dec 17, 2024
48 checks passed
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

Successfully merging this pull request may close these issues.

2 participants