/Ithil-2023-12

Core contracts of Ithil V2

Primary LanguageSolidityOtherNOASSERTION

ithil

Ithil Protocol

Solidity NodeJS

Discord Twitter Website Docs

Ithil is a financial interoperability layer that connects the whole web3 space facilitating new value creation via crowdlending.

This repository contains the core smart contracts for Ithil V2.

Key Features

  • Earn single-sided APY on a wide range of tokens
  • Grow your portfolio with one-click investment strategies
  • Purchase on-chain assets and repay your debt over time
  • Rent NFTs to access guarded communities or Play2Earn games
  • Develop new integrations to create totally novel on-chain financial services

Installation

Prerequisites for this project are:

  • Git
  • NodeJS v16.x
  • Rust
  • Yarn

To get a copy of the source

git clone https://github.com/Ithil-protocol/v2-core
cd v2-core
forge install

Usage

Create an environment file .env copying the template environment file

cp .env.example .env

and add the following content:

ARBITRUM_RPC_URL="https://..." needed to run arbitrum fork tests

Load it in your local env with source .env and finally you can compile the contracts:

forge build

Test

forge test

and to view in details the specific transactions happening

forge test -vvvv

Security

Audit reports are available in the audits folder. If you find bugs, please follow the instructions on the SECURITY.md file. We have a bug bounty program that covers the main source files.

Documentation

You can read more about Ithil on our documentation website.

Licensing

The main license for the Ithil contracts is the Business Source License 1.1 (BUSL-1.1), see LICENSE file to learn more. The Solidity files licensed under the BUSL-1.1 have appropriate SPDX headers.

Disclaimer

This application is provided "as is" and "with all faults." Me as developer makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this software. There are inherent dangers in the use of any software, and you are solely responsible for determining whether this software product is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this software product.