Skip to content

posgame3/web3miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIXELMINER Mining dApp Documentation

Welcome to the documentation for the PIXELMINER Mining dApp – a decentralized, play-to-earn mining game built on Base L2. This version runs on Sepolia testnet for testing and development purposes.


Table of Contents

  1. Introduction
  2. Getting Started
  3. Expanding Your Mining Operation
  4. Mining & Rewards
  5. The $PXL Token
  6. Smart Contracts
  7. User Flow
  8. FAQ
  9. Links
  10. Contact & Support

Introduction

PIXELMINER is a decentralized play-to-earn game where players build virtual mining rooms, purchase facilities and miners, and earn $PXL tokens through Proof-of-Work mining. The game is currently running on Sepolia testnet.


Getting Started

Connecting Your Wallet

  • Click Connect Wallet on the dApp homepage.
  • Add the Sepolia network to your MetaMask:
    • Network Name: Sepolia
    • RPC URL: https://sepolia.infura.io/v3/YOUR-PROJECT-ID
    • Chain ID: 11155111
    • Currency Symbol: ETH
  • Ensure you have some Sepolia ETH for gas fees.

Buying Your Starter Facility

  • Every new player must purchase a starter facility using a small ETH deposit (e.g., 0.001 ETH).
  • The starter facility provides a 2x2 grid and a power generator.
  • After purchase, you can claim your free starter miner.

Claiming Your Free Miner

  • After buying your facility, select an available tile on the grid.
  • Click Claim Free Miner to receive your starter miner.
  • The miner will be placed on the selected tile and will start mining $PXL immediately.

Expanding Your Mining Operation

Buying Additional Miners

  • Additional miners are purchased using the $PXL token.
  • Select a tile on your grid and click Buy Miner.
  • Each miner has unique stats: hashrate, power consumption, and price.

Upgrading Your Facility

  • Once your grid is full, you can upgrade your facility to unlock more space and power.
  • Upgrades require $PXL and are subject to a cooldown period.

Mining & Rewards

  • Mining is automatic once a miner is placed on the grid.
  • $PXL rewards accrue in real time and can be claimed at any time by clicking Claim Rewards.
  • Your mining power and rewards are displayed in the dashboard.

The $PXL Token

  • $PXL is an ERC20 token used for buying miners, upgrading facilities, and claiming rewards.
  • You can earn $PXL through mining or purchase it on Uniswap.
  • Add $PXL to your wallet using the Add PXL to Wallet button in the Resource Management section.

Smart Contracts

  • PXLToken – $PXL token contract
  • MiningRig – Main game contract (facilities, miners, rewards)

All contract addresses and ABIs are available in the Links section.


User Flow

  1. Connect your wallet to Sepolia network.
  2. Buy a facility (pay ETH).
  3. Claim your free starter miner (choose a tile).
  4. Buy additional miners ($PXL).
  5. Upgrade your facility as needed.
  6. Claim your mining rewards.

FAQ

Q: I can't connect to the network!
A: Make sure you've added the Sepolia network to MetaMask with the correct settings.

Q: I can't buy a facility or claim a miner!
A: Make sure you have enough ETH in your wallet and have selected a free tile.

Q: How do I add $PXL to my wallet?
A: Click Add PXL to Wallet in the Resource Management section.

Q: Why can't I buy more miners?
A: You may need to upgrade your facility to unlock more space.


Links


Contact & Support


Powered by PIXELMINER – Play, Earn, Upgrade!

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors