Steps on how to deploy a Project with Payment Splitter
- Setup the PaymentSplitter.sol
- Pass the constructor arguments of the payee and the shares like:
["addess1", "address2", "address3"]
Ps. dont forget to include your address to put in the payees
and for the shares:
[20, 40, 40]
Ps. the sum of all shares must be equal to 100
-
Depoly the PaymentSplitter.sol
-
Copy or save the contract address of the Deployed PaymentSplitter.sol
-
Setup NFT.sol and rename the file to your project name
-
Pass the constructor arguments, as for the _payments parameter paste the contract address of the Deployed PaymentSplitter.sol
-
Deploy NFT.sol