Skip to content

Avento-Labs/swap-aggregator-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swap Aggregator Contracts

This repository contains the smart contracts for the Swap Aggregator, a blockchain solution for aggregating token swaps across multiple Automated Market Makers (AMMs) on Ethereum.

Getting Started

Follow these instructions to set up the project on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • npm

Installation

  1. Clone the Repository

    git clone https://github.com/Avento-Labs/swap-aggregator-contracts
  2. Install Dependencies

    npm install
  3. Create .env File Create an .env file in the root directory of the project and add the following environment variables:

    MNEMONIC='YOUR MNEMNONIC'
    GOERLI_RPC_URL='YOUR ALCHEMY OR INFURA GOERLI RPC URL'
    MAINNET_RPC_URL='YOUR ALCHEMY OR INFURA MAINNET RPC URL'
  4. Compile Contracts

     npm run compile
  5. Run Forked Mainnet

     npm run start-node

    Note: This step is important for running the API server and tests locally.

  6. Deploy Contracts

     npm run deploy
  7. Run Tests

     npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published