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 V1.
- 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
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/v1-core
cd v1-core
forge install
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
forge test
and to view in details the specific transactions happening
forge test -vvvv
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.
You can read more about Ithil on our documentation website.
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.
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.