Short answer
Coins come from beating mobs and bosses on waves, including while you are offline. Spend them on things that keep paying — plot upgrades and new elements — before buying duplicate low-star eggs.
Earning coins
Official: “Defeat MOBS and BOSSES on Waves to earn COINS”, and your dragons fight offline, so coins keep coming while you are away.
Spending order
Editorial advice, until prices are documented:
- Missing elements first. One dragon of each element unlocks breeding variety.
- Plot upgrades that add slots or features. They raise everything else.
- Eggs for breeding stock. Duplicates are useful for breeding upward.
- Not food for starters. See apples & feeding.
Before logging off
Spend what you can, then log off — your new dragons will be earning while you are away.