concept unsuccessful crowdsale in category ethereum

appears as: n unsuccessful crowdsale
Building Ethereum Dapps: Decentralized applications on the Ethereum blockchain

This is an excerpt from Manning's book Building Ethereum Dapps: Decentralized applications on the Ethereum blockchain.

The last function you must implement to complete the first version of your crowdsale contract is refund(), which investors would call after an unsuccessful crowdsale:

Finalizing an unsuccessful crowdsale

If you’re up for it, you can also test the scenario of an unsuccessful crowdsale. I recommend you restart from scratch and go through all the steps you took earlier up to the point you contribute Ether to the crowdsale through the invest() function from various investor accounts. This time, though, don’t reach the funding objective.