- Clone the repository:
git clone https://github.com/SergZen/solana-dex-adapter
cd solana-dex-adapter- Install dependencies:
yarn install-
Add your solana private key to SECRET_KEY in .env.
-
Add SOL and USDC in devnet for your address https://spl-token-faucet.com/?token-name=USDC
Run the main script:
yarn startThe entry point is src/index.ts.