A contract that allows anyone to upload and manage their own NFT across marketplaces.
$ forge build$ forge test$ forge fmt$ forge snapshot$ anvilSteps to deploy to sepolia.
Populate the .env file with the following variables:
SEPOLIA_RPC_URLETHERSCAN_API_KEYACCOUNT(name of the imported foundry account)
Next, run:
$ make deploy ARGS="--network sepolia"After the deployment, find the contract address in:
broadcast/DeployOwnft.s.sol/<network-id>/run-latest.json
and the ABI:
out/Ownft.sol/Ownft.json
Update Makefile to deploy to any other network.
$ cast <subcommand>$ forge --help
$ anvil --help
$ cast --help