Personal project to learn Solidity.
- FutureBuild Token (FTRTKN)
- 21 decimals
- Initial supply of 100 million:
- 10% reserved for owners
- 15% reserved for developers
- 25% to pre-launch investors
- 25% for sale on the open market
- 5% for air-drop
- remaining 25% locked and accessible only for investing in community projects
- Once deployed, initializes a TokenSale contract.
- Initial investors receive their shar of the token pool
- Developers receive their share of the token pool, but with vesting:
- 10% first year
- 25% second year
- 25% third year
- 40% fourth year
- Users should be able to buy tokens using ETH or stablecoins like USDC. There should be a fixed price for this sale. Need to get ETH/USD conversion
- Staking contracts have an owner, a token to be staked and a token to be rewarded in.
- Can stake, unstake and claim rewards.
- Start and end at a particular time.
- Can be frozen by owner.
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.tsnpm install- if using VsCode for development, add the following to
settings.json:
"solidity.remappings": [
"@openzeppelin/=~node_modules/@openzeppelin/"
]
npx hardhat run scripts/deploy.tsto run deploy scriptnpx hardhat verify --network goerli 0x690aD8fABE17f1EeFF88E2Ef900f7b88e6eC0aF0to verify contracts on etherscan