1.0.1 • Published 11 months ago

@majinfi/contracts v1.0.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
11 months ago

Majin Finance

Majin Finance is a decentralized finance (DeFi) project inspired by Uniswap V3, purpose-built for Kakarot with enhanced features and optimizations.

Technology Stack

  • Hardhat: Ethereum development environment
  • Foundry: Testing framework and toolchain

Prerequisites

Setup

  1. Clone the repository:

    git clone https://github.com/majinfi/contracts.git
    cd contracts
  2. Install dependencies:

    bun install
  3. Install Foundry dependencies:

    forge install

Build

To compile the contracts:

bun run build

This command runs both Hardhat and Foundry builds.

Test

Run the test suite:

bun test

For Hardhat-specific tests:

bun x hardhat test --grep "TestSuite"

For Foundry-specific tests:

forge test

Deploy

To dry-deploy the contracts on local Hardhat network:

bun run deploy

This script deploys contracts to the network specified in your Hardhat config.

Format

To format Solidity files:

bun run fmt

Linting

To lint the codebase:

bun run lint

Documentation

For more detailed information about the project structure and contract interactions, please refer to our documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the GPL-3.0-or-later License.

1.0.1

11 months ago

1.0.0

11 months ago