Skip to main content

12 posts tagged with "sui"

View All Tags

· 3 min read
Jack Sim

BlockEden.xyz is now offering an RPC connection to the Sui devnet, allowing Web3 developers and apps to easily communicate with the new Move-based blockchain.

Sui API

This service is compatible with the Sui SDK, enabling more streamlined development. Keep reading to learn more about what this means for you and your blockchain needs!

How to get started?

Step 1. Go to https://blockeden.xyz/dash/. Please sign up if you haven’t done so.

Step 2. Input your name for the API key, select Sui Devnet, and then click + Create key.

Create key for Sui API

Step 3. Grab your access URL by clicking it and copying it to the clipboard.

Step 4. Use the access URL in your project like the following. Remember to replace <access_key> with your own key.

Using CURL to connect Sui

curl -X POST https://sui-devnet.blockeden.xyz/<access_key> \
-H 'Content-Type: application/json' \
-d '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}'

Using TypeScript SDK to connect Sui

const { JsonRpcProvider } = require("@mysten/sui.js");

(async () => {
const providerUrl = "https://sui-devnet.blockeden.xyz/<access_key>"
const provider = new JsonRpcProvider(providerUrl);
const totalTxNumber = await provider.getTotalTransactionNumber();
console.log(`${providerUrl} getTotalTransactionNumber: ` + totalTxNumber);
})()

What is the Sui Blockchain?

The Sui blockchain is a next-generation, high performance blockchain designed to support a wide range of use cases with advanced features such as accounts, identifiers, and resources. It uses the Move programming language which enables developers to build custom logic into their smart contracts. The Sui team aims to make it the most developer friendly blockchain yet by providing extensive documentation, support, and tools. And they’re off to a great start – BlockEden.xyz is one of the first Web3 infrastructure providers to introduce a new commercial RPC service for this highly anticipated platform!

Builders with Sui

Sui is a blockchain with a lot of potential. There are projects like DEXs, games, launchpads, NFT projects, social networks and wallets building on it.

Why Use BlockEden.yxz?

We listen to Aptos and Sui developers every day and are fully committed to serving the best infra for them.

If you’re a Web3 developer or app owner in need of an RPC connection for the Sui devnet, look no further than BlockEden.xyz! We are proud to be one of the first infrastructure providers offering this service for this highly anticipated new blockchain. In addition to our RPC connection, we will also offer a variety of other essential services and features for any Web3 project. Learn more about us today and see how we can help you succeed in the blockchain space!