Awesome
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.
- You'll know you've done it right if you can run
- anvil
- You'll know you've done it right if you can run
anvil --version
and see an output likeanvil 0.2.0 (fdd321b 2024-10-15T00:21:13.119600000Z)
- You'll know you've done it right if you can run
- 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
- You'll know you've done it right if you can run
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