Skip to main content

Chain Information

📚 Code

# Clone the repository
git clone https://github.com/osmosis-labs/osmosis.git

# Navigate into the directory
cd osmosis

# Switch to your desired version (Refer 'Binary Map' for versions)
git checkout <your_desired_version>

# Install the dependencies
make install

# Init
osmosisd --home ~/.osmosisd init defiantlabs

🌐 Binary Map

Here's a table summarizing the binary versions used in osmosis-1.🚀
Some of the version names do not match the tags.

Block Range 📦Version 📔
1 ➡️ 1314500v3 ➡️ 🔗
1314501 ➡️ 2383300v4 ➡️ 🔗
2383301 ➡️ 3401000v5 ➡️ 🔗
3401001 ➡️ 4707300v7 ➡️ 🔗
4707301 ➡️ 5432450v9 ➡️ 🔗
5432451 ➡️ 6246000v11 ➡️ 🔗
6246001 ➡️ 7241500v12 ➡️ 🔗
7241501 ➡️ 7937500v13 ➡️ 🔗
7937501 ➡️ 8732500v14 ➡️ 🔗
8732501 ➡️ 2383300v15 ➡️ 🔗
10517001 ➡️ 11126099v16 ➡️ 🔗
11126100 ➡️ 11155349v17 ➡️ 🔗
11155350 ➡️ 11317300v18 ➡️ 🔗
11317301 ➡️ currentv19 ➡️ 🔗

💾 Snapshots

Download snapshots from polkachu. Place extracted snapshot in ~/.osmosisd/data before you start your node.


🚀 Node Configuration

Use either the Manual Config, or the Script below to configure your node.

📂 Manual Config

1️⃣ Download genesis.json to ~/.osmosisd/config.

2️⃣ Modify the chain-id in your client.toml

osmosis-1

3️⃣ Update the seeds in your config.toml

seeds = "20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:12556,3cc024d1c760c9cd96e6413abaf3b36a8bdca58e@seeds.goldenratiostaking.net:1630,4dac1272a42e6b9e3ae3766304e12f1cb09ecbf0@osmosis-seed.panthea.eu:40656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:12556,ebc272824924ea1a27ea3183dd0b9ba713494f83@osmosis-mainnet-seed.autostake.com:26716,f515a8599b40f0e84dfad935ba414674ab11a668@osmosis.blockpane.com:26656"

4️⃣ Set minimum-gas-prices in app.toml

0.0025uosmo

🔧 Script

#!/bin/bash

# Download genesis.json
GENESIS_URL="https://media.githubusercontent.com/media/osmosis-labs/networks/main/osmosis-1/genesis.json"
curl -s "$GENESIS_URL" > ~/.osmosisd/config/genesis.json

# Modify chain-id
sed -i 's/chain-id = ".*"/chain-id = "osmosis-1"/' ~/.osmosisd/config/client.toml

# Modify seeds
SEEDS="20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:12556,3cc024d1c760c9cd96e6413abaf3b36a8bdca58e@seeds.goldenratiostaking.net:1630,4dac1272a42e6b9e3ae3766304e12f1cb09ecbf0@osmosis-seed.panthea.eu:40656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:12556,ebc272824924ea1a27ea3183dd0b9ba713494f83@osmosis-mainnet-seed.autostake.com:26716,f515a8599b40f0e84dfad935ba414674ab11a668@osmosis.blockpane.com:26656"
sed -i "s/seeds = \".*\"/seeds = \"$SEEDS\"/" ~/.osmosisd/config/config.toml

# Modify minimum-gas-prices
GAS="0.0025uosmo"
sed -i "s/seeds = \".*\"/seeds = \"$GAS\"/" ~/.osmosisd/config/config.toml


🕵️ Explorer

🔗 https://explore.defiantlabs.net/osmosis

🌐 RPC

🔗 https://rpc.osmosis.strange.love

💻 API

🔗 https://api.osmosis.strange.love

🗂️ Chain Registry

🔗 https://github.com/cosmos/chain-registry/tree/master/osmosis