Skip to main content

What is Web3 in G3Engine?

G3Engine includes built-in Web3 features that let you add blockchain functionality to your games. Players can connect their crypto wallets, earn and spend tokens, collect NFTs, and interact with real blockchain economies—all without leaving your game.
Web3 features are optional. You can build traditional games without using any blockchain functionality.

Supported Blockchains

G3Engine currently supports:
  • Solana - Fast, low-cost transactions perfect for gaming
  • EVM Chains - Ethereum, Polygon, BSC, and other EVM-compatible networks

Key Features

Wallet Connection

Players connect their existing crypto wallets (Phantom, MetaMask, etc.) to your game. Once connected, they can:
  • View their token and NFT balances
  • Sign transactions directly in-game
  • Receive rewards to their wallet

Token Management

Create game economies using crypto tokens:
  • Launch your own game token
  • Reward players with tokens for achievements
  • Let players buy in-game items with tokens
  • Set up token gates (require token ownership for access)

NFT Support

Mint and manage NFTs for your game:
  • Create collectible items as NFTs
  • Reward players with unique NFT achievements
  • Check player NFT ownership for gated content
  • Display NFT collections in-game

Transaction History

All blockchain interactions are tracked:
  • Token purchases and sales
  • NFT mints and transfers
  • Reward distributions
  • Transaction status (pending, confirmed, failed)

How It Works

1

Enable Web3

Configure which blockchain networks your game supports in the Web3 settings panel.
2

Connect Wallet

Players connect their wallet when they first interact with Web3 features in your game.
3

Build Game Logic

Use the visual Blueprint editor to add Web3 nodes to your game logic—no coding required.
4

Test & Deploy

Test on devnet/testnet first, then switch to mainnet when ready for production.

Getting Started

Choose your blockchain:

Solana Integration

Learn how to integrate Solana wallets and tokens

EVM Integration

Connect to Ethereum and EVM-compatible chains

Token Management

Create and manage game tokens

NFT Support

Mint and use NFTs in your game

Example Use Cases

Play-to-Earn Game
// Players earn tokens for completing levels
const economy: GameEconomyConfig = {
  rewardTokenMint: "YourTokenMintAddress",
  rewardPerLevel: 10,
  tipJarEnabled: true,
  itemPrices: []
}
NFT Collectible Game
// Mint unique NFT rewards for achievements
const nft: NFTInfo = {
  mint: "GeneratedMintAddress",
  name: "Legendary Sword",
  imageUri: "https://your-cdn.com/sword.png",
  collection: "GameItems",
  attributes: [
    { trait_type: "Rarity", value: "Legendary" },
    { trait_type: "Attack", value: "100" }
  ]
}
Token-Gated Content
// Require players to hold tokens to access premium areas
// This is handled automatically by the Token Gate node in Blueprints
Always test Web3 features on devnet/testnet before deploying to mainnet. Real money is involved once you go live.

Network Selection

G3Engine supports multiple networks per blockchain:
NetworkPurposeRecommended For
Solana DevnetTestingDevelopment
Solana MainnetProductionLive games
Ethereum GoerliTestingDevelopment
Ethereum MainnetProductionLive games (high gas fees)
PolygonProductionLive games (lower fees)

Next Steps

Solana Setup

Configure Solana wallets

Token Economy

Design your game economy

NFT Rewards

Create NFT collectibles

Build docs developers (and LLMs) love