- Set application fee (
setAppFee(10)
) - (Optional) Set seller approval requirement (
setIsSellerApprovalRequired(true)
) - (Optional) Approve seller (
setSellerApproved(seller, true)
)
For testing, waffle
is used along with ethers
.
- Run Hardhat node with
npm run node
. - Deploy contracts with
npm run deploy -- --network localhost
. Copy the contracts' addresses into the application.
- Run
npm run deploy -- --network <network>
.