Skip to content

NFT Fractionalizer with Purchase, Redeem and Buyout Functionality

Notifications You must be signed in to change notification settings

VitalR/FractionalNFT

Repository files navigation

Fractional NFT Project

NFT Fractionalizer with Purchase, Redeem and Buyout Functionality

About this repo

It is a Foundry repo with Solidity tests powered by the ds-test library.

Setup

  1. git clone repo
  2. Ensure you have installed Rust and Cargo: Install Rust
  3. Install Foundry: instructions
  4. Run tests: forge test

Pre-deployment

Copy the .env.example file to .env and update the values:

PRIVATE_KEY=''
ETHERSCAN_API_KEY=''
INFURA_API_KEY=''

Deployment & Verification

NFTCollection:

./script/1_deploy.sh

TokenVault:

./script/2_deploy.sh

Example of Foundry/Forge commands

forge tree
forge build
forge test -vvv
forge test --match-contract <ContractTest> --match-test <testName> -vvvvv

About

NFT Fractionalizer with Purchase, Redeem and Buyout Functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published