@acentswap/aceswap-core
v9.2.0
Published
🎛 Core contracts for the AceSwap protocol
Downloads
7
Readme
Ace Factory
In-depth documentation on AceSwap is available at aceswap 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
acent
acentTestnet
npx truffle migrate --network <network-name>
Run Tests
yarn test