Deploy Stellar Mainnet logo

Deploy Stellar Mainnet

Community
kaankacar
deploy-stellar-mainnet

Walk through the testnet → mainnet deployment checklist for a Soroban contract or Stellar dApp. Use when a user says "deploy to Stellar mainnet", "going live on Stellar", "deploy my Soroban contract", "Stellar production deployment", "mainnet checklist", or "ship it on Stellar". Covers pre-deployment verification, deployment mechanics with stellar CLI, and post-deployment monitoring with Soroban-specific gates.

Overview

Publisherkaankacar
Repositorystellar-build
Skill namedeploy-stellar-mainnet
Stars
36
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by kaankacar on GitHub. Read the source before you install it.

Installation

Install the Deploy Stellar Mainnet AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kaankacar/stellar-build/tree/main/skills/stellar/deploy-stellar-mainnet
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kaankacar/stellar-build.git /tmp/stellar-build
mkdir -p .claude/skills
cp -r /tmp/stellar-build/skills/stellar/deploy-stellar-mainnet .claude/skills/deploy-stellar-mainnet
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Deploy Stellar Mainnet in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Deploy Stellar Mainnet on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Deploy Stellar Mainnet is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

What this skill does

Walk through three gates. Do not let the user skip a gate.

Gate 1: Pre-deployment verification

Check each item. If any fails, stop and fix before moving on.

Contract correctness:

  • All contract tests pass on testnet (stellar contract invoke ... against a deployed testnet copy)
  • At least one end-to-end integration test exists (deploy → invoke → assert state)
  • Storage usage profiled — no unbounded growth, TTL extension wired up for long-lived data
  • Authorization paths reviewed — every require_auth is justified, no missing auth on sensitive operations
  • CPI (cross-contract call) safety considered if calling other contracts (reentrancy patterns)

Security:

  • No unwrap() on user-controlled paths — use ? with proper error types
  • No panics on malformed input
  • Integer overflow handled — checked_* arithmetic or i128 where appropriate
  • Admin operations gated by explicit role checks
  • If accepting assets, contract uses the Stellar Asset Contract (SAC) correctly

Audit / formal verification (for high-value contracts):

  • At least informal peer review by someone outside the team
  • For contracts holding >$100K TVL or critical infra: third-party audit (Certora, OtterSec, Code4rena are active on Stellar — see data/lumenloop/audits/registry.json)
  • If skipping audit, document explicit risk acceptance with reasoning

Operational:

  • Admin keys: who holds them, where stored (hardware wallet preferred, NOT in CI secrets)
  • Upgrade path: contract is upgradeable via WASM hot-swap, OR explicitly immutable and documented as such
  • Emergency pause exists and is admin-only if user-facing funds are involved
  • Deploy SOPs documented (1-pager — at minimum: who can deploy, network config, contract ID location)

Gate 2: Deployment mechanics

Check stellar CLI is installed: stellar --version (install: cargo install stellar-cli or brew install stellar-cli).

bash
# 1. Ensure mainnet network is configured
# SDF doesn't run a public mainnet RPC. Pick a provider from
# https://developers.stellar.org/docs/data/apis/rpc/providers
# (sorobanrpc.com, below, is one of the free public ones)
stellar network add mainnet \
  --rpc-url https://mainnet.sorobanrpc.com \
  --network-passphrase "Public Global Stellar Network ; September 2015"

# 2. Build optimized WASM
stellar contract build
# Artifact lands at target/wasm32v1-none/release/<contract>.wasm
# (target/wasm32-unknown-unknown/... on older toolchains)

# 3. Upload to mainnet
stellar contract upload \
  --network mainnet \
  --source <DEPLOYER_KEY> \
  --wasm target/wasm32v1-none/release/<contract>.wasm
# Save the returned WASM hash

# 4. Deploy (instantiate) from the uploaded hash.
#    If the contract has a __constructor, pass its args after `--`;
#    they run atomically with the deploy.
stellar contract deploy \
  --network mainnet \
  --source <DEPLOYER_KEY> \
  --wasm-hash <HASH> \
  -- --<arg-name> <value>
# Save the returned contract ID

# 5. Only for contracts with a separate `initialize` function (no constructor).
#    Anyone can call it between deploy and init, so prefer a constructor.
stellar contract invoke \
  --network mainnet \
  --id <CONTRACT_ID> \
  --source <DEPLOYER_KEY> \
  -- initialize <ARGS>

# 6. Verify by reading state
stellar contract invoke \
  --network mainnet \
  --id <CONTRACT_ID> \
  --source <DEPLOYER_KEY> \
  -- <read_method>

After successful deploy:

  • Verify contract responds to expected read methods on mainnet RPC
  • Run the smoke test from Gate 1 against the mainnet contract ID
  • Save contract ID to repo README + deployment-log.md (date, ID, WASM hash, deployer key fingerprint, commit SHA)
  • View on stellar.expert/explorer/public/contract/<CONTRACT_ID> and confirm it matches expectations

Gate 3: Post-deployment

Monitoring:

  • Indexer or event stream set up (Mercury, Subquery, or custom) to capture contract events
  • Alerting on: unexpected admin operations, large value transfers, paused state changes, error rate spikes
  • Dashboard for key metrics (TVL, user count, transaction volume) — even a simple Streamlit or Notion page works

Ecosystem distribution:

  • Announce on X / Discord with contract ID and a stellar.expert link to verify
  • Submit project to lumenloop.com if not already listed
  • Open PR to github.com/lumenloop/stellar-ecosystem-db adding a YAML entry — free distribution to the Stellar ecosystem

Funding / grants:

  • If pre-launch SCF Build Award already received: prepare tranche reports — route to scf-tranche-reporter
  • If not yet funded and round is open: route to scf-round-watcher for active round status, then scf-submission-drafter

Constraints

  • Do not let the user skip any Gate 1 checkbox. A broken mainnet contract is dramatically harder to fix than a delayed deploy
  • For first-time deployers, walk them through stellar CLI installation if which stellar returns nothing
  • For high-value contracts (anything holding user funds or being core infrastructure), refuse to proceed without at least informal peer-review evidence
  • Mainnet network passphrase is critical — never copy from testnet config. Mainnet is exactly Public Global Stellar Network ; September 2015; testnet is Test SDF Network ; September 2015. Both end in "September 2015", so check the whole string (stellar network info --network mainnet prints the passphrase the RPC reports)

Frequently asked questions

What does the Deploy Stellar Mainnet AI skill do?

Walk through the testnet → mainnet deployment checklist for a Soroban contract or Stellar dApp. Use when a user says "deploy to Stellar mainnet", "going live on Stellar", "deploy my Soroban contract", "Stellar production deployment", "mainnet checklist", or "ship it on Stellar". Covers pre-deployment verification, deployment mechanics with stellar CLI, and post-deployment monitoring with Soroban-specific gates.

Why use Deploy Stellar Mainnet on TypingMind?

Because you install it once and use it with any model. Deploy Stellar Mainnet is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Deploy Stellar Mainnet in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kaankacar/stellar-build/tree/main/skills/stellar/deploy-stellar-mainnet. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Deploy Stellar Mainnet?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Deploy Stellar Mainnet?

As many as you like. As long as a model supports skills, you can use Deploy Stellar Mainnet with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Deploy Stellar Mainnet AI skill free?

It is published on GitHub by kaankacar. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇