Decentrawar Player Guide

Your path to conquering the decentralized universe.

1. First Steps

Welcome, commander! To begin your conquest, you need:

  • A Web3 Wallet: Like MetaMask. This is your identity and the vault for all your assets.
  • Initial Tokens ($DWG): The game provides a faucet. Use it to claim your first 100 $DWG and start playing.

2. Connecting to Base Network

Decentrawar runs on the Base network to ensure transaction fees (gas) are extremely low, allowing you to play without breaking the bank.

Add Base to Your Wallet

The easiest way is using Chainlist.org. Search for "Base" and click "Add to Wallet".

Get Ether (ETH) on Base

You need a small amount of ETH on Base for gas fees. You can "bridge" it from Ethereum using the official Base Bridge.

Tip: Some exchanges (like Coinbase) let you withdraw ETH directly to the Base network.

3. Your First Land

Lands are the source of your power and wealth. Each land is an NFT that belongs to you.

  • Conquer Neutral Lands: Find an empty coordinate and purchase it. The price is dynamic and increases as the universe expands and as you acquire more territory.
  • $DWG Production: Each land you own generates $DWG constantly. Claim your rewards regularly to finance your expansion!

4. Military Power

  • Recruitment: Use $DWG to recruit soldiers from the main dashboard.
  • Garrison: Soldiers in your wallet must be "garrisoned" on one of your lands to be used for attack or defense.
  • Withdraw to Wallet: You can withdraw soldiers from a land back to your wallet. After a waiting period of 24 hours, they become an ERC-1155 Token, safe from battlefield losses.

5. The Art of War

Strategy is key. Moving your troops takes real time, so plan ahead.

  • Intra-World Combat: Within a single world, attacks can only be launched against adjacent lands (including diagonals).
  • Inter-World Combat (The Gates): Attacks and reinforcements between worlds are major events. They can only be launched from the `(1,1)` coordinate to the `(1,1)` coordinate of an adjacent world. These "gates" are the most critical strategic points in the universe.
  • Dynamic Movements: The battlefield is alive. If you attack a land and it's captured by an ally before your troops arrive, your attack will automatically convert into a reinforcement. Conversely, if you send reinforcements to an allied land and it's conquered by an enemy, your troops will engage in combat upon arrival!
  • Pyrrhic Victories: Be careful! If you win a battle but lose all your surviving troops in the process, the land will be considered lost and will be permanently burned, disappearing from the map.
  • The Resolution Window: When your attack arrives, you have 6 hours to resolve the combat. If you don't, the defender can purge your attack, destroying all your troops in transit!

6. Universe Expansion

When the last world is fully populated, any player can create the next one. After a world is created, there is a 8-hour cooldown before the next can be initiated. The pioneer receives a reward of 1000 $DWG.

Tokenomics & Formulas

Soldier Price

The price increases with every soldier you already own.

  • SOLDIER_BASE_PRICEStarting cost per soldier
    0.1 DWG
  • SOLDIER_PRICE_INCREMENTAdded cost per soldier owned
    0.0001 DWG

Total Cost for a batch is calculated efficiently in the contract.

Land Price

Calculated in two steps:

  1. Base Price: Increases by 0.05 DWG for every land sold globally, up to a max of 100000 DWG.
  2. Personal Multiplier: The base price is increased by 1.00% compounded for each land you own. Final Price = Base Price × (1.01 ^ Your N Lands).

Battle Resolution

  • DEFENSE_BONUS_PERCENTStandard bonus for defenders
    12.00 %
  • INTER_WORLD_DEFENSE_BONUSAdditional bonus for (1,1) gate defense
    88.00 %

When attacking a `(1,1)` gate from another world, the defender's total bonus becomes a massive 100%.

Chain Information

Decentrawar runs on the Base network.

Your wallet (e.g., MetaMask) should prompt you to switch to or add the network automatically. If you need to add it manually, use these details or a service like Chainlist:

  • Network Name
    Base
  • Chain ID
    8453
  • RPC URL
    https://mainnet.base.org
  • Currency
    ETH