> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Migrate a Cosmos app chain

> Choose how to move a Cosmos SDK app chain to Solana: halt the chain and let holders claim, or keep it running and bridge the token over IBC. Includes a Cosmos-to-Solana concept map.

Cosmos SDK chains reach Solana by halting and letting holders claim, or by
keeping the chain and bridging the token. Compare the two paths, map chain
concepts to Solana, and follow the runbook for the path you choose.

**Decide whether the Cosmos chain keeps running.** Everything else follows from
that choice: who has to act, where the supply lives, and what your team operates
after the move.

<Columns cols={3}>
<Card title="Halt and claim">

Retire the chain, publish a final snapshot, and let holders claim on Solana. The
Cosmos validators, relayers, and upgrade process go away.

</Card>
<Card title="IBC bridge">

Keep the chain and bridge the token. A light client on Solana verifies Cosmos
headers, and mints are backed by tokens escrowed on Cosmos.

</Card>
<Card title="Reference code for both">

Sentinel and Akash publish open-source implementations of each path.

</Card>
</Columns>

## Why Solana is a good fit

Do not start a migration because another team did. The strongest reason to
choose Solana is that the network already operates at the scale most app chains
are working toward:

- **Secure:** one globally distributed validator set secures every program, so
  your team inherits deep shared security instead of operating its own
  validators.
- **100M+ quarterly active wallets:** a live user base to acquire from instead
  of bootstrapping activity on an isolated chain.
- **$2T annual DEX volume and $10B+ DeFi TVL:** real liquidity and market
  structure for your token to plug into on day one.
- **Billions of transactions per quarter at fees under $0.0025:** consumer-scale
  activity stays affordable for users and for your own operational jobs.
- **Mature developer ecosystem:** established program frameworks, testing
  resources, [RPC](/developers/docs/rpc) providers, indexers, wallets, and
  payment rails.

Two tradeoffs still deserve honest validation before you commit: IBC connections
do not carry over, so you either retire them or run a bridge you deploy and
operate yourself, and CosmWasm contracts need a real rewrite to Solana's account
model rather than a port.

On Solana, a [program](/developers/docs/core/programs) is executable onchain
code, an [account](/developers/docs/core/accounts) is the durable state that
programs read and write, and a [transaction](/developers/docs/core/transactions)
is the signed bundle of instructions that asks programs to do work. If that
model fits your product and operations, the migration has a stronger foundation.

## Two migration paths

Cosmos app chains reach Solana in one of two ways. The difference is whether the
Cosmos chain keeps running.

- **[Halt and
  claim](/developers/docs/migrate-to-solana/cosmos/app-chain/halt-and-claim):**
  stop the chain at an agreed height, export its final state, and let holders
  claim the same balances on Solana. The application logic moves into Solana
  programs and the Cosmos chain retires.
- **[IBC
  bridge](/developers/docs/migrate-to-solana/cosmos/app-chain/ibc-bridge):** keep
  the chain and its validators, and bridge the token to Solana. A light client
  program on Solana verifies Cosmos headers, so mints are backed by tokens
  locked on Cosmos and proven onchain.

|  | Halt and claim | IBC bridge |
| --- | --- | --- |
| What happens to the Cosmos chain | It halts at a pre-announced height. | It keeps producing blocks. |
| What holders do | Claim on Solana with a Merkle proof, after pre-registering a Solana address or by signing with their Cosmos key. | Send a deposit on Cosmos. The tokens are locked there and minted to their Solana address. |
| Where the canonical supply lives | On Solana, in the claim vault and holders' wallets. | On Cosmos. Supply on Solana is backed by the Cosmos escrow. |
| What holders trust | The published snapshot, the claim program, and whoever holds its upgrade authority. | The light client, the Cosmos validator set, and whoever holds the Solana programs' upgrade authorities. |
| What you operate | The claim program, a claim portal, and support for as long as claims stay open. | Relayers, light-client freshness, rate limits, and supply monitoring for as long as the bridge exists. |
| When Cosmos infrastructure can retire | After the archive and read-only window. | Not while the bridge exists. |
| Reference implementation | [Sentinel](https://github.com/sentinel-official/sentinel-solana) | [Akash](https://github.com/akash-network/node/tree/main/contracts/solana) |

## Choose a path

Answer these questions before you design anything else:

- **Does the product still need its own chain?** If the application logic can
  live in Solana programs, halt and claim removes validators, relayers, and
  chain upgrades from your operations. If the chain still does work Solana
  programs cannot take over, bridge the token instead.
- **Where should supply be canonical?** Halt and claim moves the whole supply to
  Solana once. A bridge leaves it on Cosmos and grows the Solana float one
  deposit at a time.
- **Who has to act?** Halt and claim needs every holder to claim, so plan for a
  long claim window and for exchanges claiming on behalf of their users. A
  bridge only involves the holders who want tokens on Solana.
- **What can you operate for years?** A claim program is small and finishes when
  claims close. A bridge needs relayers, monitoring, a pause plan, and careful
  custody of upgrade authorities for as long as it exists.

The paths are not exclusive. A team can bridge first to bring liquidity to
Solana, then halt and run a final claim for the remaining supply. If you combine
them, keep escrowed and bridged balances out of the claims file so nothing is
paid twice.

## Concept map: Cosmos app chain to Solana

Use this table to translate chain-level responsibilities. For contract-level
primitives such as `Item`, `Map`, and `execute`, see the [CosmWasm quick
reference](/developers/docs/migrate-to-solana/cosmos/cosmwasm#quick-reference).

| Cosmos app chain | Solana | What changes |
| --- | --- | --- |
| Your own validator set and staking security | Solana's shared validator set | You stop running consensus. Your team runs programs and off-chain services instead. |
| Custom module: keeper plus KV store | [Program](/developers/docs/core/programs) plus the [accounts](/developers/docs/core/accounts) it owns | Logic and state are separate. Every account an instruction touches is passed in explicitly. |
| `Msg` and its `MsgServer` handler | [Instruction](/developers/docs/core/instructions) | A [transaction](/developers/docs/core/transactions) carries one or more instructions and runs them in order, atomically. |
| Keeper-to-keeper calls between modules | [Cross Program Invocation (CPI)](/developers/docs/core/cpi) | The calling program passes the accounts the callee needs. |
| Module store keys and prefixes | [Program Derived Addresses (PDAs)](/developers/docs/core/pda) | Addresses are derived from seeds, so programs rarely store lookup tables of child addresses. |
| gRPC and LCD queries | [RPC](/developers/docs/rpc) account reads and indexers | There is no onchain query handler. Clients read accounts and logs directly or through an indexer. |
| ABCI events | Program logs and Anchor events | Indexers and support tools read these from transaction metadata. |
| `x/bank` denom | [SPL token](/developers/docs/tokens) mint | Use the Token Program, or [Token Extensions](/developers/docs/tokens/extensions) for metadata, transfer fees, or pausing. |
| `x/auth` accounts and sequence numbers | Ed25519 keypairs; replay protection through a recent blockhash | For transactions signed long before submission, use [durable nonces](/developers/docs/core/transactions/durable-nonces). |
| Bech32 addresses backed by secp256k1 keys | Base58 Ed25519 addresses | Neither address can be derived from the other. See [address linking](/developers/docs/migrate-to-solana/cosmos/app-chain/halt-and-claim#address-linking). |
| `x/staking` delegations of your token | A staking program you build or adopt | Native staking on Solana is for SOL. Staking your migrated token is application logic. |
| `x/gov` and the community pool | [Realms](https://realms.today) and governed treasuries | See [governance migration](/developers/docs/migrate-to-solana/cosmos/app-chain/halt-and-claim#governance-migration). |
| `x/authz` grants | Token delegate approvals or program-defined authorities | A PDA can sign for accounts a program controls. |
| `x/feegrant` | Fee payer | Any signer can pay a transaction's fees, so sponsoring a user needs no extra module. |
| `BeginBlock` and `EndBlock` hooks | Instructions sent by off-chain keepers | Nothing runs automatically each block. Schedule recurring work and read time from the Clock sysvar. |
| Gas and minimum gas prices | [Base fee plus optional priority fee](/developers/docs/core/fees) per compute unit | Each transaction has a compute budget, so expensive verification needs profiling. |
| `x/upgrade` software upgrade | [Program upgrade](/developers/docs/core/programs/program-deployment) by the upgrade authority | You upgrade only your own programs. No validator coordination is involved. |
| Genesis file and state export | Program initialization plus migration jobs | Balances and positions come from your final snapshot or bridge, not a genesis file. |
| IBC channels | A bridge, or an IBC light client program on Solana | See the [IBC bridge path](/developers/docs/migrate-to-solana/cosmos/app-chain/ibc-bridge). |

## Client SDKs

Your off-chain code needs to build transactions, read accounts, and call your
programs on Solana: the claim portal, relayers, CLIs, and support tools. Pick
the SDK that matches the code you already have:

- **TypeScript:** [@solana/kit](/developers/docs/clients/official/javascript)
  for frontends, portals, and Node services.
- **Rust:** the [Rust SDK crates](/developers/docs/clients/official/rust) for
  services and tooling written in Rust.
- **Go:** [solana-go](/developers/docs/clients/community/go), useful when your
  node, CLI, or operator daemons are already Go, as most Cosmos SDK codebases
  are. Sentinel uses it for a Go client generated from its program IDLs, and
  Akash uses it in the `akt` CLI to validate Solana transaction signatures.

## Reference migrations

Two Cosmos teams have published open-source code for moving to Solana, one for
each path. Neither had a published mainnet deployment when this guide was
written, so read them as reference designs and check each repository for current
status before you copy a pattern.

### Sentinel: halt and claim

[sentinel-solana](https://github.com/sentinel-official/sentinel-solana) moves
the Sentinel dVPN chain to Solana. The dVPN modules are rewritten as an Anchor
program, a distributor program pays out the final snapshot, and holders prove
ownership by signing with their Cosmos key, so no pre-registration is needed.
Vesting accounts carry over with their schedules.

[Read the Sentinel case study](/developers/docs/migrate-to-solana/cosmos/app-chain/halt-and-claim#case-study-sentinel).

### Akash: IBC bridge

[Akash](https://github.com/akash-network/node/tree/main/contracts/solana) keeps
its chain running and bridges AKT to Solana. A new Cosmos module escrows AKT, a
Tendermint light client program on Solana verifies Akash headers, and the AKT
program mints only against a proof of each deposit.

[Read the Akash case study](/developers/docs/migrate-to-solana/cosmos/app-chain/ibc-bridge#case-study-akash).
