Sol.College

Full lesson

UnrealX-SDK

What it does

From the project README:

SDK abstracts the complexities of blockchain operations, providing well-documented tools that simplify the development process:
Original
udevmain/UnrealX-SDK
SuperStack fork
Blockchains/UnrealX-SDK @ 3ed29be
Stars
1
Last push (original)
2025-10-24
Languages
C++, C#
Detected stack
not detected
Categories
Infrastructure & Tooling
Licence
MIT

Architecture

18 source files. By extension: .cpp ×18.

Top-level directorySource files
Source16
netkit_testScripts2

Dapp: deploying

This fork is queued for its own live dapp on Sol.College, with a Devnet/Mainnet switch. It appears here, at /dapps/unrealx-sdk/, once it is deployed and checked on devnet. Until then, run it locally with the commands below.

Key code, explained

Excerpts chosen automatically where the code uses the most Solana concepts, pinned to the fork's commit.

udevmain/UnrealX-SDK · Source/UnrealX/Private/sget/SolanaManager.cpp L13–36 @ 3ed29be · MIT · original
    ? TEXT("https://api.mainnet-beta.solana.com")    : TEXT("https://api.testnet.solana.com");  Connection = new solana::rpc::Connection(TCHAR_TO_UTF8(*RpcUrl));} FString USolanaManager::GetWalletAddress(const FString& PrivateKeyBase58) {  auto signer = solana::Keypair::fromBase58(TCHAR_TO_UTF8(*PrivateKeyBase58));  return UTF8_TO_TCHAR(signer.publicKey.toBase58().c_str());} bool USolanaManager::SendTransaction(const FString& FromPriv, const FString& ToPub, float AmountSOL, FString& OutSig) {  try {    auto from = solana::Keypair::fromBase58(TCHAR_TO_UTF8(*FromPriv));    auto to   = solana::PublicKey::fromBase58(TCHAR_TO_UTF8(*ToPub));    uint64_t lam = uint64_t(AmountSOL * 1e9);    auto recent = Connection->getLatestBlockhash();    solana::Transaction tx;    tx.feePayer = from.publicKey;    tx.recentBlockhash = recent.blockhash;    tx.addInstruction(solana::system_program::transfer(from.publicKey, to, lam));    tx.sign({&from});    auto sig = Connection->sendTransaction(tx);    OutSig = UTF8_TO_TCHAR(sig.c_str());    return true;
  1. Line 28 auto recent = Connection->getLatestBlockhash();: Fetches a recent blockhash. Transactions expire if it gets too old.
  2. Line 34 auto sig = Connection->sendTransaction(tx);: Submits the signed transaction to the cluster.

How to run

No package.json, Anchor.toml, Cargo.toml, go.mod or Makefile was found near the root. See the project README.

What you could build from it