@majinfi/contracts v1.0.1
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
Clone the repository:
git clone https://github.com/majinfi/contracts.git cd contractsInstall dependencies:
bun installInstall Foundry dependencies:
forge install
Build
To compile the contracts:
bun run buildThis command runs both Hardhat and Foundry builds.
Test
Run the test suite:
bun testFor Hardhat-specific tests:
bun x hardhat test --grep "TestSuite"For Foundry-specific tests:
forge testDeploy
To dry-deploy the contracts on local Hardhat network:
bun run deployThis script deploys contracts to the network specified in your Hardhat config.
Format
To format Solidity files:
bun run fmtLinting
To lint the codebase:
bun run lintDocumentation
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.