Crowdsale - skanakakorn/eth-nonode GitHub Wiki

Source code

Exercise

Deploy the contract with these parameters. Fund goal 1000 wei, duration 15 minutes, reward 1 token for each 100 wei, use any token you want.

Try various functions.

  1. Send fund to the contract but not enough to meet the goal.
  2. Withdraw fund from the contract.
  3. Send enough fund to the contract to meet the goal.
  4. Withdraw fund from the contract but not by the beneficiary.
  5. Withdraw fund from the contract by the beneficiary.