Sui Network and Client Compatibility
Learn about what versions Shinami supports
Shinami's Sui API strives to be compatible with all Sui clients that consume the Sui JSON-RPC. This page lists all Sui networks currently supported on Shinami, and their compatible client versions.
Sui Network Info
Devnet | Testnet (Wave 2 Concluded) | |
---|---|---|
Current node version | devnet-0.29.0 | 92b4c06 |
Last genesis date | 03/28/2023 | 01/25/2023 |
Compatibility Matrix
SDK / Client | Devnet | Testnet (Wave 2 Concluded) |
---|---|---|
Sui CLI | devnet-0.29.0 | testnet branch |
TypeScript SDK | latest | latest |
Rust SDK | devnet-0.29.0 | testnet branch |
Sui Explorer | latest | latest |
Sample Snippets
Sui CLI
You can use the new-env
and switch
commands to change RPC server URL to Shinami:
# Create a new env connecting to Shinami node service
sui client new-env \
--alias shinami \
--rpc https://node.shinami.com:443/api/v1/<<apiKey>> \
--ws wss://node.shinami.com:443/ws/v1/<<apiKey>>
# Activate the Shinami env
sui client switch --env shinami
TypeScript SDK
You can use the JsonRpcProvider
class to set RPC server URL to Shinami:
import {JsonRpcProvider} from "@mysten/sui.js";
const provider = new JsonRpcProvider("https://node.shinami.com:443/api/v1/<<apiKey>>");
Rust SDK
You can use SuiClientBuilder
to create an HTTP or a WebSocket client using Shinami:
use sui_sdk::SuiClientBuilder;
let sui = SuiClientBuilder::default()
.ws_url("wss://node.shinami.com:443/ws/v1/<<apiKey>>")
.build("https://node.shinami.com:443/api/v1/<<apiKey>>")
.await?;
Updated about 6 hours ago