Skip to content

Repository containing the code that was implemented during the IMT Bootcamp

Notifications You must be signed in to change notification settings

NicoPolazzi/bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootcamp 2025

During the bootcamp at IMT of Lucca in the week of 24-28/2/2025, I studied the implementation of decentralized applications and these are the results of these days.

Main deliverables

The project consists of two main deliverables: election and amm. The former contains a contract to handle an election in a distributed environment, and the latter implements a protocol to handle distributed exchanges of tokens.

Instructions

The projects are developed using the Hardhat framework. So, you need to install NodeJS on your operating system before building the projects.

Initialize the project

npm init
npm install --save-dev hardhat
npx hardat init

Install dependencies

You need to install the dependecies needed to run the tests.

npm install --save-dev @nomicfoundation/hardhat-toolbox

Also, if you want to build the amm contracts, you will need solmante to get the implementation of an ERC20 token.

npm install --save-dev @rari-capital/solmate

Build and run the tests

To compile the application:

npx harhat compile

To test the application:

npx harhat test

About

Repository containing the code that was implemented during the IMT Bootcamp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published