Developers
Add NOBA to your bot
Everything a tip bot, wallet or exchange needs to list NOBA, for Solana mainnet and devnet side by side. Try it all on devnet first, with free test NOBA from our faucet.
Token facts
NOBA is a classic SPL token (not Token-2022). Both networks use the same program and the same 9 decimals, so code written for devnet works on mainnet with only the mint address changed.
Mainnet
- Mint
-
9UiwgJnVk9CdQx7Nm2YwR25F8rPGcuzSqLgRF7kdB1Zp - Symbol and name
- NOBA · NobaCoin
- Decimals
- 9 (1 NOBA = 1,000,000,000 base units)
- Token program
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA- Mint authority
- None (revoked)
- Freeze authority
- None (revoked)
- Supply
- 999,988,261 NOBA, live
- Explorer
- Solscan
Devnet
- Mint
-
FiXcRkQLX8RFeexpDiE2hPrdTWpU3BF7sdHfKBZ1cvU5 - Symbol and name
- NOBA · NobaCoin (Devnet)
- Decimals
- 9, as on mainnet
- Token program
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA- Mint authority
- Kept by NobaCoin, to refill the faucet
- Freeze authority
- None
- Value
- None. Devnet NOBA is for testing only.
- Get some
- The devnet faucet
- Explorer
- Solana Explorer (devnet)
Logos and metadata
Use these files as they are. They're served with open CORS, so a bot can load them directly.
- Token picture
- logo.png (512 × 512, the on-chain picture)
- Mark, transparent
- logo-mark.png (512 × 512)
- Metadata, mainnet
- token/noba.json
- Metadata, devnet
- token/devnet.json
For a Discord emoji, upload noba-128.png and name it
NOBA. Please don't recolour or crop the dragon.
Price and market
NOBA trades in one pool: Raydium's CPMM pool
GJP4Dhz53z8j5JzNTp63zFhJMcjDKhFZUeTsLD6ksrak (NOBA/SOL). Its price is
published by:
- DexScreener
- GeckoTerminal
- Jupiter
- Our own /api/price, cached for a minute
The pool is small (about $1K in it), so one trade can move the price a lot. Price tips off an average, or check two sources, and don't let a single spike turn a small tip into a big one.
Code
JavaScript with
@solana/kit
and @solana-program/token. For devnet, swap the mint and use
https://api.devnet.solana.com. Amounts are always base units: multiply
NOBA by 109.
Setup
npm install @solana/kit @solana-program/token
import { address, createSolanaRpc } from "@solana/kit";
// Mainnet. Devnet: "FiXcRkQLX8RFeexpDiE2hPrdTWpU3BF7sdHfKBZ1cvU5" and https://api.devnet.solana.com
export const NOBA = address("9UiwgJnVk9CdQx7Nm2YwR25F8rPGcuzSqLgRF7kdB1Zp");
export const DECIMALS = 9;
export const rpc = createSolanaRpc("https://api.mainnet-beta.solana.com");
1. A wallet's NOBA balance
import { address } from "@solana/kit";
import { findAssociatedTokenPda, TOKEN_PROGRAM_ADDRESS } from "@solana-program/token";
export async function nobaBalance(owner) {
const [account] = await findAssociatedTokenPda({
owner: address(owner),
mint: NOBA,
tokenProgram: TOKEN_PROGRAM_ADDRESS,
});
try {
const { value } = await rpc.getTokenAccountBalance(account).send();
return BigInt(value.amount); // base units
} catch {
return 0n; // no NOBA account yet
}
}
2. Send NOBA
Use transferChecked, which makes the network check the mint and decimals.
Open the recipient's NOBA account in the same transaction; it costs the sender about
0.002 SOL the first time.
import {
address, appendTransactionMessageInstructions, createSolanaRpcSubscriptions,
createTransactionMessage, getSignatureFromTransaction, pipe,
sendAndConfirmTransactionFactory, setTransactionMessageFeePayerSigner,
setTransactionMessageLifetimeUsingBlockhash, signTransactionMessageWithSigners,
} from "@solana/kit";
import {
findAssociatedTokenPda, getCreateAssociatedTokenIdempotentInstruction,
getTransferCheckedInstruction, TOKEN_PROGRAM_ADDRESS,
} from "@solana-program/token";
const rpcSubscriptions = createSolanaRpcSubscriptions("wss://api.mainnet-beta.solana.com");
const sendAndConfirm = sendAndConfirmTransactionFactory({ rpc, rpcSubscriptions });
// sender: a KeyPairSigner (createKeyPairSignerFromBytes); amount: base units as a bigint
export async function sendNoba(sender, to, amount) {
const recipient = address(to);
const ata = (owner) =>
findAssociatedTokenPda({ owner, mint: NOBA, tokenProgram: TOKEN_PROGRAM_ADDRESS }).then(([a]) => a);
const source = await ata(sender.address);
const destination = await ata(recipient);
const { value: blockhash } = await rpc.getLatestBlockhash().send();
const message = pipe(
createTransactionMessage({ version: 0 }),
(m) => setTransactionMessageFeePayerSigner(sender, m),
(m) => setTransactionMessageLifetimeUsingBlockhash(blockhash, m),
(m) => appendTransactionMessageInstructions([
getCreateAssociatedTokenIdempotentInstruction({
payer: sender, ata: destination, owner: recipient, mint: NOBA,
}),
getTransferCheckedInstruction({
source, mint: NOBA, destination, authority: sender, amount, decimals: DECIMALS,
}),
], m),
);
const signed = await signTransactionMessageWithSigners(message);
await sendAndConfirm(signed, { commitment: "confirmed" });
return getSignatureFromTransaction(signed);
}
3. Spot a deposit
Give each user their own deposit address, watch its NOBA account, and credit what the
chain says arrived, at finalized. Keep each signature you credit, so
nothing is credited twice.
// depositOwner: the deposit wallet's address; depositAccount: its NOBA account (as in example 1)
export async function newDeposits(depositOwner, depositAccount, alreadyCredited) {
const found = [];
const signatures = await rpc
.getSignaturesForAddress(depositAccount, { limit: 50, commitment: "finalized" })
.send();
for (const { signature, err } of signatures) {
if (err || alreadyCredited.has(signature)) continue;
const tx = await rpc
.getTransaction(signature, {
commitment: "finalized", encoding: "jsonParsed", maxSupportedTransactionVersion: 0,
})
.send();
if (!tx?.meta) continue;
// The change in this wallet's NOBA, never what a memo or a token's name says
const noba = (rows) =>
BigInt(rows?.find((b) => b.mint === NOBA && b.owner === depositOwner)?.uiTokenAmount.amount ?? "0");
const received = noba(tx.meta.postTokenBalances) - noba(tx.meta.preTokenBalances);
if (received > 0n) found.push({ signature, received }); // base units
}
return found;
}
Mistakes we see
- Trusting the symbol. Anyone can make a token called NOBA. Always check the mint address.
-
Plain
transferinstead oftransferChecked: it skips the mint and decimals check. - Forgetting the account cost. Opening a NOBA account costs about 0.002 SOL; budget for it.
-
Crediting at
processed: wait forfinalizedbefore crediting deposits. - Using floats for amounts. Keep base units as integers (BigInt).
Endpoints
Open to any origin, cached for a minute. Use them as much as you need; please cache on your side too.
- Everything above
-
/token.json - Live numbers
-
/api/stats(JSON) - Price
-
/api/price(JSON) - Total supply
-
/api/supply/total(plain number) - Circulating supply
-
/api/supply/circulating(plain number)
curl https://nobacoin.xyz/api/price
{"mint":"9UiwgJnVk9CdQx7Nm2YwR25F8rPGcuzSqLgRF7kdB1Zp","pool":"GJP4Dhz5…ksrak",
"priceUsd":"0.000007134","source":"DexScreener","at":"2026-11-21T14:00:00.000Z"}
Checklist for bot owners
- Network: Solana. Type: SPL token (classic Token program).
-
Mint:
9UiwgJnVk9CdQx7Nm2YwR25F8rPGcuzSqLgRF7kdB1Zp - Symbol: NOBA. Decimals: 9.
-
Explorer link:
https://solscan.io/tx/{signature} - Logo: nobacoin.xyz/logo.png
- Minimum tip: a few cents' worth. NOBA's price is small, so set the minimum in NOBA from a dollar amount.
- Test it on devnet first: the devnet mint and the faucet.
- Tell us when you're live, and we'll add your bot to the site.
Get in touch
Questions, or need more devnet NOBA for a bigger test? Ask in the Den or write to nobacoin@proton.me.