Skip to content

ApeSwapFinance/apeswap-swap-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

77ad963 · Mar 3, 2023

History

43 Commits
May 31, 2021
May 31, 2021
May 31, 2021
May 31, 2021
Mar 3, 2023
Feb 7, 2021
May 31, 2021
Feb 7, 2021
Feb 7, 2021
Feb 7, 2021
Feb 7, 2021
Sep 15, 2021
Mar 3, 2023
Apr 25, 2022
Mar 3, 2023
Mar 3, 2023
Feb 7, 2021
Mar 3, 2023

Repository files navigation

Ape Factory

Test Contracts

In-depth documentation on ApeSwap is available at apeswap docs.

Local Development

The following assumes the use of node@>=14.

Install Dependencies

yarn

Compile Contracts

yarn compile

Migrate Contracts

Setup

Create a .env file in the root directory of this project. Copy in the variables from .env.example and fill them in as needed. The API key is needed to verify the contracts after a migration, but it's not needed for a migration.

Migrate

The following networks are currently configured for migration:

  • bsc
  • bscTestnet
  • polygon
  • polygonTestnet

npx truffle migrate --network <network-name>

Run Tests

yarn test