Skip to content

VAR-META-Tech/Rust2C-Sui-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unreal-Sui-SDKLogo

Rust2C-Sui-SDK

Rust2C-Sui-SDK is a package to help developers integrate Sui blockchain technology into their C++ and C# projects.

Project Layout

  1. header/:: This directory contains the header files to use the functions in the library.
  2. Resource/:: A place for various resources needed for the project, like images, data files, or other assets.
  3. Src/: This directory contains the project's source code.

Features

  • Compatibility with main, dev, and test networks.
  • Comprehensive Unit and Integration Test coverage.

Requirements

Platforms Status
Mac / Linux Fully Tested

Dependencies

Installation

Installation Guide

This guide provides step-by-step instructions for installing and setting up on macOS platforms. Ensure you have the following prerequisites installed to build the project:

Prerequisites

Project Setup

Run follow command to setting Envỉroment befor testing:

  1. Check Sui Client Environment:
    Sui client envs

NOTE:If you dont have DevNet Please Run CMD :

    sui client new-env --alias devnet --rpc https://fullnode.devnet.sui.io:443
  1. Switch to devnet network:
    sui client switch --env devnet
  2. Check current network:
    sui client active-env

NOTE: The return should be devnet

  1. Get the active address:
    sui client active-address
  2. Request token:
    sui client faucet 

NOTE: Wait for 60s to get the tokens

  1. Check the gas coin objects for the active address:
    sui client gas
  2. Build Project:
    cargo build --release

Using Rust2C-Sui-SDK

Rust2C-Sui-SDK can integrate into your own C++ and C projects.

You can custom your Demo.c and run below cmd to check your source code.

  sh Demo.sh

Check Unreal-Sui-SDK and Unity-Sui-SDK to help you how to integrate Rust2C-Sui-SDK library into your owns project

Examples

The SDK comes with several examples ( Unreal-Sui-SDK and Unity-Sui-SDK) that show how to leverage the Rust2C-Sui-SDK to its full potential.

License

This project is licensed under the Apache-2.0 License. Refer to the LICENSE.txt file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors