Documentation

Deployment

Deploy Cylend contracts to Mantle and Sapphire testnets

Prerequisites

  • • Hardhat installed in contract directory
  • • Deployer wallet with MNT (Mantle) and ROSE (Sapphire)
  • • Environment variables configured

Deploy Commands

1. Deploy PrivateLendingIngress (Mantle)

npx hardhat deploy --network mantleSepolia --tags Ingress

2. Deploy LendingCore (Sapphire)

npx hardhat deploy --network sapphireTestnet --tags Core

3. Configure Hyperlane Router

npx hardhat run scripts/configureRouter.ts
Important

Save the deployed contract addresses and update your .env files after deployment.

Current Deployment

Mantle Sepolia

PrivateLendingIngress: 0xF6bA22c8C3774EaAF7048cB0504C77238A927fAF

ISM: 0x7c20ddbe7E9923210d110f7AbacB8e0051FbbaCB

Sapphire Testnet

LendingCore: 0xF57a9FEAdCfb103ACC3f20a82F74858330b26862

Related