Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 859 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 859 Bytes

SmartSwapX

SmartSwapX is a novel implementation of a customizable forward swap using smart contracts.

Introduction

Smart Swap Introduction

Deployed Version on Base Sepolia

ForwardSwapV1

Install and Test Locally

Install Dependencies

npm install --save-dev hardhat
npm install --save-dev @nomicfoundation/hardhat-toolbox
npm install --save-dev dotenv
npm install --save @openzeppelin/contracts

.env

WALLET_KEY="<YOUR_PRIVATE_KEY>"
BASESCAN_API_KEY="<YOUR_API_KEY>"

Compile, deploy and verify

npx hardhat compile
npx hardhat run scripts/deploy.ts --network base-sepolia
npx hardhat verify --network base-sepolia <deployed address>