/memswap-api

Primary LanguageTypeScriptMIT LicenseMIT

Getting Started

  1. Run the development server:
npm install
# or
yarn
  1. Add the necessary env variables:
ACTIVE_NETWORK=
RESERVOIR_API_KEY=

# Mainnet Variables
PONDER_RPC_URL_1=
MEMSWAP_ERC20_1=
MEMSWAP_ERC20_1_STARTBLOCK=
MEMSWAP_ERC721_1=
MEMSWAP_ERC721_1_STARTBLOCK=
MEMSWAP_SOLUTIONPROXY_1=
MEMSWAP_SOLUTIONPROXY_1_STARTBLOCK=

# Goerli Variables
PONDER_RPC_URL_5=
MEMSWAP_ERC20_5=
MEMSWAP_ERC20_5_STARTBLOCK=
MEMSWAP_ERC721_5=
MEMSWAP_ERC721_5_STARTBLOCK=
MEMSWAP_SOLUTIONPROXY_5=
MEMSWAP_SOLUTIONPROXY_5_STARTBLOCK=
  1. Start the dev server by running this command
npm run dev
# or
yarn dev
# or
pnpm dev