GLUN
English
An open coin on the TON blockchain

Accept GLUN on your site

Payments go straight from the buyer’s wallet to yours in seconds. No sign-up, no contracts, no approval and no fees to us: add our badge, a payment button and, if you like, automatic exchange through STON.fi.

GLUN contract on TON
EQC1Fl4Nd_to4LcjpA8bAR-uW4j5RvICvpivaSt6bwZbRvAr

Why GLUN

A payment method you can add today, without asking anyone.

◎

Open

GLUN is a standard jetton on TON. Every transfer is public on the blockchain, the liquidity pool tokens are burned, and anyone can check it.

◉

Accessible

Any buyer with a TON wallet such as Tonkeeper, Telegram Wallet or MyTonWallet can pay, from any country, at any time.

✓

No formalities

No sign-up with us, no contract, no approval and no waiting. You only need your own wallet address.

∞

No barriers

No minimum amount, no monthly fee and no commission from us. The buyer pays only the small TON network fee.

⚡

Money arrives at once

The coins land in your wallet within seconds. Nobody holds them for you and nobody can freeze them.

⇄

Easy STON.fi adapter

Show the price in Gram, let buyers pay in Gram and receive GLUN, or exchange GLUN you receive: a small adapter on the STON.fi SDK does it.

The «We accept GLUN» badge

The same emblem our own projects show. Pick a variant, copy the code and paste it into your site: the image is served from glun.uk.

Theme
Size
Language
Code for your siteDownload SVG
<a href="https://glun.uk" target="_blank" rel="noopener">
  <img src="https://glun.uk/badge/accept-glun-en-dark.svg" width="170" height="64" alt="We accept GLUN">
</a>

Add GLUN payments in four steps

Everything below works with your own wallet and public services. Nothing to install from us.

  1. 1

    Get a TON wallet

    Install Tonkeeper, Telegram Wallet or MyTonWallet and copy your wallet address. GLUN will arrive there; to see it, add the token by the contract address above.

  2. 2

    Put a payment button on your site

    A link opens the buyer’s wallet with everything filled in. The amount is in the smallest units: 1 GLUN = 1 000 000 000. Put the order number in text, so you know which order was paid.

    HTML
    <!-- YOUR_WALLET: your TON address; amount: 500 GLUN = 500 000 000 000 -->
    <a href="ton://transfer/YOUR_WALLET?jetton=EQC1Fl4Nd_to4LcjpA8bAR-uW4j5RvICvpivaSt6bwZbRvAr&amount=500000000000&text=ORDER-1042">
      Pay 500 GLUN
    </a>

    For buyers on a computer, the same link starting with https://app.tonkeeper.com/transfer/ opens Tonkeeper on the web.

  3. 3

    Confirm the payment

    Your server asks the public Toncenter API for incoming GLUN transfers to your wallet and finds the one with the order number and the right amount.

    JavaScript
    // Node.js 18+ (runs on your server)
    const WALLET = "YOUR_WALLET";
    const GLUN = "EQC1Fl4Nd_to4LcjpA8bAR-uW4j5RvICvpivaSt6bwZbRvAr";
    
    async function findPayment(orderId, glunAmount) {
      const url = "https://toncenter.com/api/v3/jetton/transfers" +
        `?owner_address=${WALLET}&jetton_master=${GLUN}&direction=in&limit=50&sort=desc`;
      const { jetton_transfers } = await (await fetch(url)).json();
      const need = BigInt(glunAmount) * 1_000_000_000n;
      return jetton_transfers.find(t =>
        !t.transaction_aborted &&
        BigInt(t.amount) >= need &&
        t.decoded_forward_payload?.comment === orderId
      ); // undefined = not paid yet
    }
    
    const tx = await findPayment("ORDER-1042", 500);
    if (tx) console.log("paid:", tx.transaction_hash);

    Check that the transfer is not aborted and remember its transaction_hash, so one transfer never pays two orders. A free Toncenter API key raises the request limit.

  4. 4

    Optional: the STON.fi adapter

    A few lines on the official STON.fi SDK give you the live price and a ready transaction to exchange Gram and GLUN. Use it to show prices in Gram, to accept Gram and convert it, or to exchange the GLUN you receive.

    JavaScript
    // npm i @ston-fi/api @ston-fi/sdk @ton/ton
    import { StonApiClient } from "@ston-fi/api";
    import { Client, dexFactory } from "@ston-fi/sdk";
    import { Address } from "@ton/ton";
    
    const GLUN = "EQC1Fl4Nd_to4LcjpA8bAR-uW4j5RvICvpivaSt6bwZbRvAr";
    const TON = "EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c"; // native Gram
    const api = new StonApiClient();
    const client = new Client({ endpoint: "https://toncenter.com/api/v2/jsonRPC" });
    
    // 1. The price: how many GLUN for 1 Gram
    const sim = await api.simulateSwap({
      offerAddress: TON, askAddress: GLUN,
      offerUnits: "1000000000", slippageTolerance: "0.01",
    });
    console.log("1 Gram =", Number(sim.askUnits) / 1e9, "GLUN");
    
    // 2. A ready swap for the buyer's wallet (Gram -> GLUN)
    const dex = dexFactory(sim.router);
    const router = client.open(dex.Router.create(sim.router.address));
    const tx = await router.getSwapTonToJettonTxParams({
      userWalletAddress: Address.parse(BUYER_WALLET),
      proxyTon: dex.pTON.create(sim.router.ptonMasterAddress),
      offerAmount: sim.offerUnits, askJettonAddress: GLUN,
      minAskAmount: sim.minAskUnits, queryId: Date.now(),
    });
    // send tx to the buyer through TonConnect: tonConnectUI.sendTransaction(...)

    The transaction goes to the buyer’s wallet through TonConnect, and the buyer signs it. Your server never holds anyone’s coins or keys.

The coin

GLUN

This is GLUN. Remember the coin by its snowflake.

NameGLUNCOIN (GLUN)
BlockchainTON
Decimals9
LiquiditySTON.fi pool, LP tokens burned
GLUN contract on TONEQC1Fl4Nd_to4LcjpA8bAR-uW4j5RvICvpivaSt6bwZbRvAr
Burn transactiontonviewer.com

Be the first to know

Leave your email to get GLUN news and updates first.

Only GLUN news, no spam. To unsubscribe, write to [email protected].

Personal cabinet

Come back once a day and collect 100 GLUN. As soon as 1 000 GLUN add up, we send them to your wallet.

Sign in with your TON wallet: Tonkeeper, MyTonWallet and others. Your GLUN will be sent to this wallet.

Follow GLUN

Contact

Questions about accepting GLUN, partnerships or listing your project here: write to us.

[email protected]

Access code of the day

To get the access code of the day, sign in to your personal cabinet and collect the daily reward of 100 GLUN coins.