Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeftarmascarenhas/stlharvest-challenge
https://github.com/jeftarmascarenhas/stlharvest-challenge
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeftarmascarenhas/stlharvest-challenge
- Owner: jeftarmascarenhas
- Created: 2024-05-19T00:54:17.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-29T03:54:42.000Z (6 months ago)
- Last Synced: 2024-05-29T16:22:35.130Z (6 months ago)
- Language: TypeScript
- Size: 954 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STLHarvest Challenge
Test to create STLHarvest offers a platform enabling users to deposit STL tokens to earn weekly
incentives. Participants should have the flexibility to withdraw their initial investments
and corresponding reward shares whenever they choose.By Jeftar Mascarenhas
## Env variables
If you using mainnets or test networks
```shell
npx hardhat vars set RPC_API_KEY
npx hardhat vars set HR_TEAM_PRIVATE_KEY
npx hardhat vars set ETHERSCAN_API_KEY
```## Docker
```shell
docker build . -t hrteam
docker run hrteam
```## Custom Scripts
```shell
npm run test:watch
npm run start:dev
npm run deploy:dev
npm run chain
npm run clean
npm run clean
```## Custom Tasks
```shell
npx hardhat balance --choose-network localhost --network localhost
npx hardhat balance --choose-network sepolia --network sepolia
```## Hardhat Tasks
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts
```## Contracts
Contracts deployed on Sepolia network
- [STL Token Sepolia](https://sepolia.etherscan.io/address/0xD53a06CfA828a622388E7792dFc7B9368B61e959#code) [x]
- [STL Harvest Poll Sepolia](https://sepolia.etherscan.io/address/0xD53a06CfA828a622388E7792dFc7B9368B61e959#code) [x]## Behavioral Diagram
![STLHarvest Behavioral Diagram](./BehavioralDiagram.png)