Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 1.51 KB

README.md

File metadata and controls

80 lines (57 loc) · 1.51 KB

Mox NFT

This is part of the Cyfrin Updraft Vyper Course.

Centralized Gateway

Centralized option: https://gateway.pinata.cloud/ipfs/QmanoFs6a4GHRtTW32w1fFJSv61TFT8Vk9qKqFF1mcdjMK

Getting Started

Prerequisites

  • git
    • You'll know you've done it right if you can run git --version and see a version number.
  • anvil
    • You'll know you've done it right if you can run anvil --version and see an output like anvil 0.2.0 (fdd321b 2024-10-15T00:21:13.119600000Z)
  • moccasin
    • You'll know you've done it right if you can run mox --version and get an output like: Moccasin CLI v0.3.0

Installation

git clone https://github.com/cyfrin/mox-nft-cu
cd mox-nft-cu

Quickstart

# Deploy and mint the basic NFT
mox run deploy_basic_nft

# Deploy and mint the Mood NFT
mox run deploy_mood_nft

# Flip the mood of the deployed Mood NFT
mox run flip_mood

Usage

Compile

mox compile

Test

mox test

Formatting

Python

uv run ruff check --select I --fix
uv run ruff check . --fix

Vyper

uv run mamushi src