Developers

Built for developers first

A wallet, a ledger, and an agent layer you can integrate in an afternoon. Sandbox keys mirror production, so you build the whole flow before you go live.

A code editor with a GG-Coin emerging from the code — integrate in an afternoon

One published SDK, six local scaffolds

Grab an API key and drop in the JavaScript SDK — published to npm and covering the whole platform: mint and move coin with integer-exact amounts, post sub-wallet charges, and let the double-entry ledger keep every balance honest. Lua, Java, Python, C#, PHP and Go ship as local packaging scaffolds — one implemented call each, built with their own toolchain and never published to a registry.

Status per language: the SDK table in the docs.

Read the docs
import { GGCoinClient } from "@developerz.ai/ggcoin-sdk";

const gg = new GGCoinClient({
  baseUrl: "https://api.ggcoin.ai",
  apiKey: process.env.GGCOIN_KEY,
});

// The published npm SDK. Every movement is a double entry:
// postTransaction writes one on your own account — the agent's
// sub-wallet pays out, the master wallet is credited. Amounts
// are integer base units, never floats.
await gg.postTransaction({
  transactionId: txId,
  posting: {
    transactionId: txId,
    entries: [
      { id: debitId, transactionId: txId, walletId: masterWalletId,
        subWalletId: agent.walletId, direction: "debit", amount: "500" },
      { id: creditId, transactionId: txId, walletId: masterWalletId,
        subWalletId: null, direction: "credit", amount: "500" },
    ],
  },
});

Core concepts

The primitives every integration is built on.

Auth

API keys, sandbox first

Grab a key in labs and initialize the client. Sandbox keys mirror production, so you can build and test the entire flow before you go live.

Money

Integer-exact amounts

Every amount is an integer in the coin's smallest unit — no floats, no decimals at rest, no rounding drift between your service and the ledger.

Ledger

Double-entry, append-only

Balances are derived from an append-only double-entry ledger. Nothing is edited in place; corrections are new entries that net to zero, so history stays auditable.

Webhooks

HMAC-signed events

Every webhook is signed with a timestamp and nonce and retried with backoff. Verify the signature and you can trust the event — no polling, no spoofing.

Put a wallet in your agent's hands.

Sandbox keys mirror production — build the whole flow before you go live.

Running a game or creator platform? See use cases