OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Defisaver V3 Contracts

Defisaver V3 Contracts is a public MIT-licensed Solidity repository containing the smart contracts and development workflows related to the Defi Saver ecosystem, including Foundry and Hardhat compilation and testing, Ethereum mainnet-fork tests, and custom tasks for flattening, verification, deployment on a Tenderly fork and network changes.

Independent OpenViST project profile, based on linked sources.

Defisaver V3 Contracts — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when your work requires repository-level Solidity contracts and development workflows for Ethereum DeFi, especially fork-based testing or the documented Hardhat deployment and verification tasks.

Who it is for

  • Solidity developers working on Ethereum DeFi contracts
  • Teams prototyping or extending DeFi smart-contract systems
  • Developers who need fork-based testing or documented contract deployment tasks

Documented uses

  • Study or reuse contracts related to the Defi Saver ecosystem
  • Compile and test Solidity contracts with Foundry or Hardhat
  • Run tests against a forked Ethereum mainnet state
  • Flatten, verify and deploy selected contracts through Hardhat tasks
  • Deploy selected contracts to a Tenderly fork
Before you choose

Requirements & limits

The repository is public and specifies an MIT license. Fork-based workflows require environment configuration and a mainnet RPC URL; Tenderly fork deployment requires a Tenderly fork ID.

  • It is a developer repository, not a documented end-user DeFi interface.
  • It supports both Foundry and Hardhat workflows.
  • Tests use forked mainnet state and may depend on the selected fork block.
  • Deployment and verification are exposed through custom Hardhat tasks.
  • The repository uses Solidity and targets Ethereum-related DeFi development.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run the repository’s fork-based Foundry tests

Set up the repository and run its Foundry tests against a forked Ethereum mainnet state.

Before you start

  • Foundry installed
  • A mainnet RPC URL
  • A repository .env file based on .env.example
  • Repository dependencies installed with Yarn and Foundry dependencies

Steps

  1. Run yarn in the repository folder and create .env from .env.example.

  2. Set ETHEREUM_NODE in .env to a mainnet RPC URL.

  3. Install Foundry dependencies with forge install foundry-rs/forge-std dapphub/ds-test.

  4. Run forge test; select a fork block in test-sol/config/config.json when needed.

Expected outcome

The repository’s Foundry test suite is invoked against a forked mainnet state.

Guide limitations

  • The README notes that tests run from a forked mainnet state, so an RPC URL and environment configuration are required.
  • Changing the fork block can affect test behavior.
Source-based practical guide

Deploy selected contracts on a Tenderly fork

Use the documented Hardhat task to deploy specified contracts to a Tenderly fork.

Before you start

  • Repository dependencies and environment configuration
  • A Tenderly fork ID entered in .env
  • The required Hardhat setup

Steps

  1. Prepare the repository and its .env configuration.

  2. Add the Tenderly fork ID to .env.

  3. Run npx hardhat deployOnFork followed by the selected contract names.

Expected outcome

The selected contracts are submitted through the repository’s Tenderly-fork deployment task.

Guide limitations

  • The README requires a Tenderly fork ID and environment configuration.
  • The source documents the task but does not establish deployment success for a particular environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
2 October 2026
Original website title
defisaver/defisaver-v3-contracts · Official homepage title · retained in its source language