DIGIT-ARC read-only archive · snapshot: July 23, 2026

Need help writing a smart contract - Solidity

2 posts · originally from https://geek.digit.in/community/threads/need-help-writing-a-smart-contract-solidity.210393/

D
Deleted member 345628 Original post #1
Sep 23, 2021 at 12:04 AM
Here is the contract details :

Beach T-Shirts company designs and sells T-Shirts at outlets across the country.
They work with Threads Inc, a garment factory to get the T-shirts stitched.
Help write a smart contract that allows Beach T-Shirts to create a new order with x
qty of T-Shirts. Threads Inc should be able to accept the order. They should then be able to indicate order complete & communicate cost.
Once the order is done & cost has been communicated , Beach T-Shirts should be
able to confirm that payment is done (assume actual payment is done outside of
the smart contract).
Note: The same Ethereum account should not be able to act on behalf of both
entities.
Please help . thanks