NFT Fractionalizer with Purchase, Redeem and Buyout Functionality
It is a Foundry repo with Solidity tests powered by the ds-test library.
git clone repo
- Ensure you have installed Rust and Cargo: Install Rust
- Install Foundry: instructions
- Run tests:
forge test
Copy the .env.example file to .env and update the values:
PRIVATE_KEY=''
ETHERSCAN_API_KEY=''
INFURA_API_KEY=''
NFTCollection:
./script/1_deploy.sh
TokenVault:
./script/2_deploy.sh
forge tree
forge build
forge test -vvv
forge test --match-contract <ContractTest> --match-test <testName> -vvvvv