Skip to content

VitalR/FractionalNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors