Rust2C-Sui-SDK is a package to help developers integrate Sui blockchain technology into their C++ and C# projects.
- Project Layout
- Features
- Requirements
- Dependencies
- Installation
- Using Rust2C-Sui-SDK
- Examples
- License
header/:: This directory contains the header files to use the functions in the library.Resource/:: A place for various resources needed for the project, like images, data files, or other assets.Src/: This directory contains the project's source code.
- Compatibility with main, dev, and test networks.
- Comprehensive Unit and Integration Test coverage.
| Platforms | Status |
|---|---|
| Mac / Linux | Fully Tested |
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:
- Visual Studio Code with C++ development environment
- Install Sui Follow this guide to install Sui https://docs.sui.io/guides/developer/getting-started/sui-install
Run follow command to setting Envỉroment befor testing:
- 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- Switch to devnet network:
sui client switch --env devnet
- Check current network:
sui client active-env
NOTE: The return should be devnet
- Get the active address:
sui client active-address
- Request token:
sui client faucet
NOTE: Wait for 60s to get the tokens
- Check the gas coin objects for the active address:
sui client gas
- Build Project:
cargo build --release
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.shCheck Unreal-Sui-SDK and Unity-Sui-SDK to help you how to integrate Rust2C-Sui-SDK library into your owns project
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.
This project is licensed under the Apache-2.0 License. Refer to the LICENSE.txt file for details.
