Skip to content

Godot Solana SDK

Build Solana games with godot. This GDExtension will enable godot to make on-chain and Solana integrated games.

Install: git clone https://github.com/Virus-Axel/godot-solana-sdk

Install

$git clone https://github.com/Virus-Axel/godot-solana-sdk

Install command taken from the project's README or registry entry. Always review code before running it.

Godot Solana SDK

A GDExtention that gives Godot engine Solana support. This plugin provides the possibility to create Solana games for any platform supported by Godot. Utilize NFTs and Solana smart contracts in your game. The SDK has interface nodes for Anchor programs and instruction builders for Candy Machine, Candy Guard, System programs, SPL tokens and more.

How to use

Download the binaries in the release section here. place the binaries anywhere in your godot project directory under res://bin/. Reload your project and the SDK should be loaded.

See examples for an up to date usage example.

[!CAUTION] It might be dangerous to use mainnet in you applications. Crypto can be stolen. Security is not yet evaluated for the godot-solana-sdk. I can audit security if there is demand.

When the plugin is loaded, the engine will have an additional set of nodes and resources.

Nodes

These are some of the nodes provided by this plugin:

  • SolanaUtils
  • SolanaClient
  • Account
  • Transaction
  • WalletAdapter
  • ComputeBudget
  • SystemProgram
  • TokenProgram
  • MplTokenMetadata
  • AssociatedTokenAccountProgram
  • MplCandyMachine
  • MplCandyGuard
  • AnchorProgram

Resources

These are some of the resources provided by this plugin:

  • Pubkey
  • Keypair
  • CompiledInstruction
  • Message
  • Hash
  • AccountMeta
  • Instruction
  • CreateMetaDataArgs
  • MetaDataCreator
  • MetaDataCollection
  • MetaDataUses
  • MetaData
  • CreateMetaDataArgs
  • CandyGuardAccessList
  • CandyMachineData

Examples

There are example projects under the example folder. These are used to test the plugin whenever changes are made to the code. There might be some good references on how to get started. There are also a demo project on Github showcasing the plugin. The source can also be used for reference. The demo project is deployed on Github pages, go check it out. Here is how it looks.

Contributing

Feel free to open issues or feature requests. Contributions are very welcome. There is a contribution guideline but get involved by heading to discord or starting a discussion.

Setting up Build Environment

The plugin builds easily for your host platform with SCons.

git clone --recurse-submodules git@github.com:Virus-Axel/godot-solana-sdk.git
cd godot-solana-sdk
scons

This repository also includes means to build all the binaries in containers. This requires Podman to be installed.

scons --container_build

Projects using the Plugin

Hurry up, create some games and list them here!

Similar plugs

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and…

A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

Universal provider proxy for OpenAI Codex & Claude Code, use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

A股全栈数据工具包:行情K线·当日逐笔·研报·信号·资金面·新闻·财务·公告·打板·ETF期权·舆情·宏观利率·期货大宗(含大商所日K)·事件驱动·可转债 | 15层·87端点·34数据源·除iwencai外免Key | A-share data for AI agents: K-lines, ticks, reports, fund flow…

Omnigent is an open-source AI agent framework and meta-harness: orchestrate Claude Code, Codex, Cursor, Pi, and custom agents, swap harnesses without rewriting, enforce…

Explore related