Nuttymoon / christmas-eth

🎁

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Change the hard-coded unlockTime in the contract
  2. Deploy the contract with a reasonable amount of native tokens (those are your present)
  3. 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.

About

🎁

License:MIT License


Languages

Language:TypeScript 86.7%Language:Solidity 13.3%