UIK · your identity
The User Identity Key identifies a GitHub user. Its token ID is the numeric GitHub user ID, and registration binds it to a wallet.
Code Markets documentation
A guide to repository tokens, launching from your terminal, and the keys that connect GitHub to your wallet.
Code Markets lets you launch a market for a public GitHub repository. A market has its own token and an on-chain liquidity pool. Your GitHub identity and repository key establish who can launch it; the market token is the asset people trade.
Launch your repository01 / Understand the market
At launch, the repository receives a market token with a name, ticker, image, and supply. Its pool pairs that token with a supported asset, also called the numeraire. The selected deployment lists available pairings: these can include WETH, tokenized stocks such as AAPLc, and FREECODE on Base. Chain and pairing choices belong to the launch and are retained when you resume it.
The launch configures token supply for sale and liquidity across price ranges. A buy exchanges the pairing asset for repository tokens; a sell exchanges repository tokens for the pairing asset. Trades change the pool's balance and price. Larger trades relative to available liquidity generally move the execution price further. A displayed spot price is a reference; your quote describes the trade you are about to make.
The pairing asset also has its own value. A repository token's price in that asset and its displayed dollar price can therefore move differently.
Choose buy or sell, enter an amount, and review the quote, fees, and minimum received before approving. Slippage tolerance sets how far execution may move from the quote; the transaction must satisfy its minimum output. Token spending may require approvals before the swap. Confirm the requested wallet actions and wait for on-chain confirmation to see the completed trade.
Pool fees accrue as trades execute. The launch terms define the fee schedule and recipient shares, including the RIK holder, FreecodeFund, and Doppler. Some launches start with a fee that decreases over time; the applicable schedule depends on the deployment. Review the launch preview and the market's fee details for its actual rates and split.
The repository royalty share is routed through the repository's splitter and collected by the current RIK holder. Where a launch uses an additional Rehype fee, that fee is routed to the FreecodeFund treasury. Fee income depends on trading activity; the site does not promise a fixed return.
A launch can reserve tokens for the creator while making the remaining sale supply available to the pool. The preview shows the allocation recipient, amount, vesting duration, and any cliff before submission. Vesting makes tokens available over the configured schedule, and vested tokens can be claimed.
02 / Launch from the terminal
Start in a local checkout of a public GitHub repository you control. Install Git and the
GitHub CLI, and sign in to GitHub with
gh auth login. Use npm to install the markets executable:
npm install --global @codemarkets/markets
cd my-project
markets auth login
markets doctor
markets launch --dry-run
markets auth login establishes GitHub authentication and a platform
session. Wallet sign-in happens in the browser: follow the terminal's request and
confirm the displayed code. The session is stored in your operating system's credential
store. markets doctor checks launch prerequisites;
--dry-run plans the launch without writing registrations or submitting
transactions.
markets launch
8453; Robinhood uses 4663 when its deployment is enabled.
markets status --watch
markets launch
Use status --watch to follow remote progress until it settles. If you close
the browser or interrupt the terminal, rerun markets launch and choose
Resume. Accepted configuration and chain/pairing choices are retained. Rerunning
reconciles the operation with on-chain state; a repository market already launched or
launching is reused.
First establish a valid platform session with markets auth login. Supply an
image and explicit chain and pairing for an unattended run:
markets launch --chain 8453 --numeraire AAPLc --image ./token.png --non-interactive
The pairing must be offered by the selected deployment. Without chain and pairing flags, a new unattended launch defaults to Base and WETH. An existing operation keeps its saved choices. Unattended runs resume automatically and report required input instead of prompting; any wallet approval requirements still apply.
03 / Know your keys
The User Identity Key identifies a GitHub user. Its token ID is the numeric GitHub user ID, and registration binds it to a wallet.
The Repository Identity Key identifies a repository by its numeric GitHub repository ID. Its current holder authorizes the market launch.
Numeric IDs identify the GitHub user and repository; names and slugs provide readable labels. A UIK represents the user, a RIK represents control of the repository's market launch and royalty collection, and a market token is traded in its liquidity pool. Holding market tokens does not make you the RIK holder.
Keep going