In-depth documentation on Uniswap V2 is available at uniswap.org.
The following assumes the use of node@>=10
.
- Install node modules
npm i
- In an
.env
file fill the following variable with deployer's private key:
DEPLOYER_PRIV_KEY=
- Run deployment script
npx hardhat run scripts/deploy.ts --network gameswift
- The obtained address is a
V2_FACTORY_ADDRESSES
entry for thesdk-core
package.