All I Want For Christmas is ETH
The ChristmasPresent contract is used to time-lock some EVM native tokens that can only be withdrawn by the contract owner after Christmas.
You can use this contract to introduce a lazy friend to the EVM ecosystem in a funny and motivational way!
If you want to reuse this, quite simple:
- Change the hard-coded
unlockTime
in the contract - Deploy the contract with a reasonable amount of native tokens (those are your present)
- Give the seed phrase of the contract to your friend along with some hints of what to do with this.
Common commands
npx hardhat help
npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts
Credits
This project is strongly inspired of Hardhat's TypeScript sample project.