In-depth documentation on ApeSwap is available at apeswap docs.
The following assumes the use of node@>=14
.
yarn
yarn compile
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.
The following networks are currently configured for migration:
bsc
bscTestnet
polygon
polygonTestnet
npx truffle migrate --network <network-name>
yarn test