Smart contracts are programs, which are stored in a
decentralized network i.e. Block chain. These are written by users
to develop decentralized applications using different platform like
Ethereum and bitcoin. In current scenario, even though
blockchain support features like security and transparency.
Because of solidity language vulnerability, there is a possibility of
attacks on smart contracts in blockchain. So, to avoid those
attacks like i.e. Locked Ether, Transaction order dependency and
Time stamp dependency. We discussed, analyzed and tested these
attacks in this paper. Further, in our project supply chain
management for textile industry using block chain technology, we
have developed smart contract using solidity language on
Ethereum Platform. With the aim of protecting our project from
these attacks, we are thoroughly and experimentally analyzed.
And based on the experimental observations, we are going to
protect our project from these attacks. All the above mentioned
attacks are thoroughly studied and experimentally tested on
Ganache, Ropston test network, Rinkeby test network using
Remix IDE in JVM, injectedweb3and web3 provider
environments. Finally, we have suggested security measures to
protect from these attacks