---
# System prepended metadata

title: WEB3 CODING BOOTCAMP AT BLOCKFUSE LABS - WEEK 6

---

# WEB3 CODING BOOTCAMP AT BLOCKFUSE LABS - WEEK 6

**It's week six!** We focused on Hardhat, Unit Testing and Foundry. I'll be dropping gitub repos to each project we worked on this week.

**Hardhat** is a development environment for Ethereum. We use it to scaffold our projects, deploy contracts, testing and scripting.

**Unit Testing** a.k.a. component or module testing, is a form of software testing by which isolated source code (in this case, smart contract's functions) is tested to validate expected behavior.

**Foundry** is similar to hardhat only that it uses solidity for testing and scripting while hardhat uses javascript or typescript.
<h3>
Projects  
</h3>

* **Kwagarelly Token:** This is a smart contract that follows the ERC20 token standard. All its functions are testing using mocha and chai, I also deployed it on seplolia testnet. Contract Address: 0xfFB229Ca799b1974972d7b621ec4a94Cc866B5e8, Github Repo: https://github.com/viktrified/kwagarelly-token
* **Simple Voting:** Written in solidity, I wrote a simple voting system where users can either vote yes or no, and change vote. The contract also returns the percentage of yes and no votes. Github Repo: https://github.com/viktrified/simple-voting
* **Swap Contract:** A contract that lets users swap ERC20 tokens for another. I wrote test for ERC20 tokens used and also for the swap contract. Check it out! Github Repo: https://github.com/viktrified/swapContract
* **Staking Pool:** One of my favorite contracts, it implements a staking mechanism for an ERC20 token. Github Repo: https://github.com/viktrified/stakingPool
* **Testing Core:** I deployed this contract Today during the Core Blockchain event hosted at Blockfuse. I added a ReadMe on how I did it. Github Repo: https://github.com/viktrified/TestingCore

We're still pushing! Building while learning is the best! 
14 weeks to go! NEVER SETTLE!
