Welcome to the NFT Project! This repository contains the Solidity code for creating, deploying, and managing non-fungible tokens (NFTs) on the Ethereum blockchain. Built with security and efficiency in mind, this project leverages the ERC-721 standard to create unique digital assets that can be securely stored, traded, and managed on the blockchain.
- ERC-721 Compliant: Ensures compatibility with existing NFT marketplaces and wallets.
- Metadata Management: Configures token metadata to enhance user experience on platforms that support NFTs.
- Gas Optimization: Designed with gas efficiency in mind to reduce transaction costs.
- Contracts: Contains the core Solidity files defining the NFT smart contracts.
- Scripts: Includes scripts for deploying and interacting with the contracts.
- Tests: Comprehensive test suite to ensure contract functionality and security.
- Solidity: Recommended version (e.g., 0.8.x)
- Clone the Repository:
git clone https://github.com/jprabhat/Foundary-NFT.git cd Foundary-NFT
Foundry consists of:
- Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
- Chisel: Fast, utilitarian, and verbose solidity REPL.
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help