0.1.26 • Published 9 months ago

@majora-finance/fees v0.1.26

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Majora Protocol Fees

Description

Majora Protocol Fees is a Hardhat-based project that implements fee management for the Majora protocol. This project demonstrates the use of smart contracts for handling protocol fees in a decentralized finance (DeFi) environment.

Features

  • Smart contract implementation for fee management
  • Integration with Hardhat for development and testing
  • Comprehensive test suite
  • Gas optimization
  • Upgradeable contracts using OpenZeppelin

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/majora-finance/fees.git
  2. Navigate to the project directory:

    cd fees
  3. Install dependencies:

    npm install

Usage

Here are some common commands you can use:

  • Compile contracts:

    npx hardhat compile
  • Run tests:

    npx hardhat test
  • Deploy contracts:

    npx hardhat run scripts/deploy.ts
  • Generate documentation:

    npx hardhat docgen

Development

This project uses Hardhat as the development environment. You can find the Hardhat configuration in the hardhat.config.ts file.

Testing

We use Hardhat's built-in testing framework. Run the tests using:

 npx hardhat test

Code Coverage

To generate a code coverage report, run:

 npx hardhat coverage
0.1.26

9 months ago

0.1.22

9 months ago

0.1.24

9 months ago

0.1.25

9 months ago

0.1.16

9 months ago