- Install docker
- Set
RPC_ENDPOINTandWSS_ENDPOINTincompose.yamlto a valid Solana RPC and WSS endpoint - Run
docker-compose up --build
- Raydium AMM v4
Data structure stored in Redis (see pooldb-updater/src/poolInfo.ts):
type PoolDBData = {
rpcData: string;
baseReserve: string;
quoteReserve: string;
mintAAmount: string;
mintBAmount: string;
poolPrice: string;
lastUpdated: number;
isValid: boolean;
accountId: PublicKey;
programId: PublicKey;
};- "pools" key in Redis, stored as RedisJSON