How can I write a smart contract to give role based permission for a transaction to take place. Say there are five people A, B, C, D and E. A wants to send some ethers to B. But the transaction will not take place until and unless C, D and E give confirmation/approve.
Is it possible to do with ethereum smart contracts? Can someone give me sample code for the same?
Thanks in advance.