Skip to content

This repository contains the Solidity code for managing non-fungible tokens (NFTs), leverages the ERC-721 standard to create unique digital assets that can be securely stored, traded, and managed on the blockchain.

License

Notifications You must be signed in to change notification settings

jprabhat/Foundary-NFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Project in Solidity

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.

Key Features

  • 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.

Project Structure

  • 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.

Getting Started

Prerequisites

  • Solidity: Recommended version (e.g., 0.8.x)

Installation

  1. 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.

Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

This repository contains the Solidity code for managing non-fungible tokens (NFTs), leverages the ERC-721 standard to create unique digital assets that can be securely stored, traded, and managed on the blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published