[03]Docs
How gitcap works
Any public GitHub repo becomes one token market on Solana. This page explains each part, and lets you try the numbers with the same math pump.fun uses.
- Supply
- 1,000,000,000
- On the curve
- 793,100,000
- Graduates at
- ≈85 SOL raised
- Trading fee
- 1.25%CURVE
- Listing
- ≈0.009 SOL rent
Overview
One repo, one market.
gitcap turns a public GitHub repo into a token you can trade. Each market is keyed to GitHub's numeric repo id inside the gitcap program, so a repo gets exactly one market, even after a rename or a transfer.
Markets run on pump.fun on Solana: a bonding curve first, then a PumpSwap pool. Not affiliated with the repo's owners. They get no fees. Click through the four steps.
Example repo. The id seeds the market's address on chain, so a rename never opens a second market.
Bonding curve
A price from the first trade.
The curve sells 793,100,000 of the 1,000,000,000 tokens. Each buy raises the price and each sell lowers it, so there is always a price both ways. Set how much SOL the curve has raised, then try a buy.
- Price now
- 0.07 (7 zeros) 381SOL
- Market cap now
- 38.06 SOL
- You get
- 12,796,024
- Share of supply
- 1.280%
- You pay
- 0.5 SOL
- Fees (1.25%)
- 0.006173 SOL
- Average price
- 0.07 (7 zeros) 386SOL
- Price impact
- 1.41%
- Price after
- 0.07 (7 zeros) 391SOL
- Not spent
- 0
Same math as pump.fun's curve: x · y = k on virtual reserves of 30 SOL and 1.073B tokens, with the 1.25% fee charged on top of the SOL going in. Before fees, a token starts at 0.07 (7 zeros) 28 SOL and ends at 0.06 (6 zeros) 411 SOL.
Fees
1.25% per trade on the curve.
On the curve the trading fee is 1.25%: the pump.fun fee 0.95% plus the gitcap fee 0.30%, which is pump.fun's creator fee. Both are set by pump.fun. In the PumpSwap pool the total is up to 1.2%, and gitcap's share falls from 0.95% to 0.05% as the market cap grows.
On the bonding curve, a buy pays the fees on top of the SOL that reaches the curve. pump.fun sets these rates, not gitcap. After graduation the PumpSwap pool charges up to 1.2%, and gitcap's share falls from 0.95% to 0.05% as the market cap grows.
Breakdown
- gitcap fee (0.30%)pump.fun's creator fee, swept to the gitcap treasury.
- 0.002963 SOL
- pump.fun fee (0.95%)Paid to the pump.fun protocol.
- 0.009383 SOL
- Goes into the tradeThis SOL reaches the curve and buys your tokens.
- 0.987654 SOL
- Trading fee (1.25%)
- 0.012346 SOL
A buy followed by a sell of the same position pays the fee twice, about 2.47% before any price movement.
Graduation
From curve to pool.
A market graduates at ≈85 SOL raised, into a PumpSwap pool: the curve stops trading and its reserves seed the pool, and the LP tokens burned at graduation: the liquidity is locked for good. Click a phase, or play the whole sequence.
Phase 0 · Bonding curve
- Curve
- Graduating
- Pool
Trading on the bonding curve
Every market starts here, on pump.fun. The curve sells 793,100,000 tokens and always quotes a buy and a sell price. The buy that takes the last curve token is cut to fit, and the curve completes.
- Trading
- Buy and sell on the curve, 1.25% per trade
- Where the SOL is
- In the curve account, 0 to ≈85 SOL
- Who can act
- Anyone can trade
Where the reserves are
Curve
Kept for the pool
PumpSwap pool
Listing a repo
Repo to market in one transaction.
Anyone can list any public repo. There is no listing fee: you pay ≈0.009 SOL of account rent and the network fee, and your opening buy settles in the same transaction. Try the form below: it checks the link the same way the real form does, and shows what you would pay.
- 1
Resolve the repo id
We ask GitHub for the repo and keep its numeric id. The id stays the same after a rename or a transfer, so it is the market's key.
- 2
Check for a market
The form looks for the repo's market account, whose address is derived from the repo id. If it exists, you are sent to the market instead: a repo can be listed once.
- 3
List in one transaction
The gitcap program's launch registers the repo and creates the pump.fun coin and its curve, with the gitcap fee vault as the coin's creator. You pay the account rent and the network fee.
- 4
Opening buy first
Your opening buy runs in the same transaction, right after the coin is created, so nobody can buy before you.
Opening buy
On a curve, every buy raises the price for the next one. Listing and buying in one transaction means the lister's buy is the first on the curve. Move the slider to see a 1 SOL buy that lands after someone else's.
- First buy gets
- 34,199,203
- After 2 SOL ahead
- 30,163,723 (11.8% fewer)
Simulated on pump.fun's curve with the 1.25% fee, from a fresh listing.
Programs
Programs and addresses.
Everything runs on Solana. Copy an address or open it on Solscan.
- Network
- Solana
- Cluster
- mainnet-beta
- RPC
- https://api.mainnet-beta.solana.com
- Explorer
- https://solscan.io
gitcap program
Stores one market per repo id and lists repos (launch), creating each coin through pump.fun.
Deploying soon.
gitcap fee vault
The pump.fun creator of every gitcap coin. Creator fees collect here; sweep_fees sends them to the treasury.
Deploying soon.
pump.fun
Creates the coins and runs their bonding curves.
6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6PPumpSwap
The AMM graduated coins trade on, in their canonical pool.
pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEAToken-2022
The token program every gitcap coin uses.
TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Each market also has its own coin (mint) and curve address. Find them on the market page, or read the repo's market account, as in the developer examples below.
For developers
Read and trade in TypeScript.
Short TypeScript examples with @solana/web3.js and the pump.fun SDK, the same calls this site makes. Bring your own RPC URL and keypair.
// npm i @solana/web3.js @coral-xyz/anchor @pump-fun/pump-sdk @pump-fun/pump-swap-sdk bn.jsimport { Connection, PublicKey } from "@solana/web3.js"; // The public endpoint is rate limited: use your own provider for real traffic.export const connection = new Connection("https://api.mainnet-beta.solana.com", "confirmed"); export const GITCAP_PROGRAM = new PublicKey("… // gitcap program id, see Programs above");FAQ
Questions.
Q.01What am I buying?
A token for one GitHub repo, traded in that repo's market on Solana. It is a pump.fun coin: its price comes from a bonding curve, then from a PumpSwap pool. It is a position on where the project goes, and it gives you no rights over the code.
Q.02Do the repo's owners get anything?
No. Anyone can list any public repo. The owners are not affiliated with its market, get no fees and have not endorsed it.
Q.03Can a repo be listed twice?
No. The gitcap program stores each market at an address derived from GitHub's numeric repo id, so a second listing fails on chain, even after the repo is renamed or moved to another owner.
Q.04What does it cost to list a repo?
No listing fee. You pay the account rent for the new market, coin and curve (≈0.009 SOL), the Solana network fee, and any opening buy you choose. The opening buy settles in the same transaction, so nobody can trade ahead of you.
Q.05What are the trading fees?
1.25% per trade on the curve: 0.95% to pump.fun and 0.30% to gitcap, which earns pump.fun's creator fee. pump.fun sets these rates, not gitcap. In the PumpSwap pool the total is up to 1.2%, and gitcap's share falls from 0.95% to 0.05% as the market cap grows.
Q.06What happens at graduation?
A market graduates at ≈85 SOL raised. pump.fun moves the curve's SOL and remaining tokens into a PumpSwap pool and trading carries on there. Your tokens stay the same tokens.
Q.07Is the liquidity locked?
Yes, for good. At graduation the pool's LP tokens are burned, so nobody holds them and nobody, gitcap included, can pull the liquidity.
Q.08Which wallets work?
Any Solana wallet, such as Phantom, Solflare or Backpack. You can also sign in with email and get a wallet created for you.
Q.09Has gitcap been audited?
No third-party audit has been published. The gitcap program is small: it registers the repo and creates the coin through pump.fun, and holds no funds besides fees. It is tested against the live pump.fun program. Treat it as unaudited and only trade what you can afford to lose.