Skip to content

Matik86/mibboverse-contracts

Repository files navigation

Base

Website mibboverse.com Blog Farcaster Twitter Mibboverse

🌀 Mibboverse

Mibboverse – a new gaming universe built on the Base ecosystem, where luck and chaos are the constant companions of everything within it.

This repository contains the smart contracts that power the game.

Deployed Contracts

All contracts are deployed on Base

Address Name Contracts Overview
0x8792fB6633F207A6E5171E5cf34c0B9594a39Cc4 Crystals Proxy Contract ERC20 token used as in-game currency
0x32a388e3BD3ae8C4Ba9918604A9690d0dED9d192 CrystalsV2 Implementation Contract
0x254737e8Ad378deB9fd8fB228Dea279bb7FCe5A3 Artifacts1155 ERC1155 NFT representing collectible game artifacts
0xdDa12482811FA76F3d1C23b548C495EEeE9F23C5 TokenVault Contract for claiming rewards by users
0xc8Db0750c4da6dc903e2d350B338D7918Ab08075 GenesisNFT Genesis Egg NFT collection of the Mibboverse

Project Structure

mibboverse-contracts
│
├── contracts
│   ├── ArtifactsERC1155.sol
│   ├── CrystalsProxy_v2.sol
│   ├── ProxyExample.sol
│   ├── GenesisNFT.sol
│   ├── TestERC20.sol
│   ├── TokenVault.sol
│   └── TestERC20.sol
│
├── ignition
│   └── modules
│       ├── ArtifactsERC1155.ts
│       ├── CrystalsV2.ts
│       ├── GenesisNFT.ts
│       └── TokenVault.ts
│
├── test
│   ├── ArtifactsERC1155.ts
│   ├── CrystalsProxy_v2.ts
│   ├── GenesisERC721.ts
│   └── TokenVault.ts
│
├── .gitignore
├── README.md
├── hardhat.config.ts
├── logo.webp
├── package.json
└── tsconfig.json

Installation

To run this project locally, you need Node.js and Hardhat installed.

  1. Clone the repository:
git clone https://github.com/<your-username>/mibboverse-contracts.git
cd mibboverse-contracts
  1. Install dependencies:
npm install
  1. (Optional) Install Hardhat globally if you haven't yet:
npm install --save-dev hardhat
  1. Configure environment variables for deployment (if needed):
BASE_SEPOLIA_RPC_URL=your_rpc_url
PRIVATE_KEY=your_private_key

Common Commands

Command Description
npx hardhat compile Compile all smart contracts
npx hardhat test Run tests for contracts

Deploy contracts on the Base Sepolia

npx hardhat run ignition/modules/ArtifactsERC1155.ts --network baseSepolia
npx hardhat run ignition/modules/CrystalsV2.ts --network baseSepolia
npx hardhat run ignition/modules/GenesisNFT.ts --network baseSepolia
npx hardhat run ignition/modules/TokenVault.ts --network baseSepolia

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published