Use G3X as a Developer
Do I need to have a game project first?
Yes — to fully use G3X, you should already have (or be building) a Web3 or Web2 game that needs:
Real-time multiplayer sync
On-chain finalization
Anti-cheat mechanisms
Reward/NFT/token distribution
However, even early-stage developers or game studios can integrate G3X modules during prototyping or testing phases.
Steps to Use G3X as a Developer:
Prepare Your Game Project Your game can be built in Unity, Unreal Engine, or with a JavaScript/WebGL front-end.
Install G3X SDK Choose your preferred SDK:
bashSalinEditnpm install @g3x/sdk
Or download the Unity/Unreal plugin (coming soon via game3xecution.xyz).
Integrate Game Events Use functions like:
syncGameState()
→ for real-time gameplay updates (off-chain)finalizeMatch()
→ to commit verified results on-chainvalidateAction()
→ AI logic to check if actions are legitimate
Connect to Wallet & Smart Contracts Use MetaMask or WalletConnect for authentication and player identity. You can plug into G3X’s predefined contracts or deploy your own.
Test on Testnet Use testnet endpoints to simulate rewards, anti-cheat triggers, and data flow through the G3X network.
Go Live Once stable, go live on mainnet and optionally register your game in the G3X ecosystem dashboard for visibility and player discovery.
Last updated