This backend does the following:
- Listen for transactions happening on the Solana pool
- Filter deposit transactions
- Transfer tokens from the pool on Eclipse
- Clone the repo and
cd
into thebackend
directory:cd backend
- Install dependencies:
npm install
- Execute the backend:
tsx src/index.ts
RPC_ENDPOINT_SOLANA
: Solana RPC EndpointRPC_ENDPOINT_ECLIPSE
: Eclipse RPC EndpointKEYPAIR_1
: Signer Keypair