Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 767 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 767 Bytes

jupiter-monitoring-service

generate a new keypair for jupiter monitoring service and fund it

export keypairs_dir=~/projects/dialect
solana-keygen new --outfile ${keypairs_dir}/jupiter-service-dev-local-key.json
solana-keygen pubkey ${keypairs_dir}/jupiter-service-dev-local-key.json > ${keypairs_dir}/jupiter-service-dev-local-key.pub
solana -k ${keypairs_dir}/jupiter-service-dev-local-key.json airdrop 300

start server

export keypairs_dir=~/projects/dialect
PRIVATE_KEY=$(cat ${keypairs_dir}/jupiter-service-dev-local-key.json) yarn start:dev

start client

export keypairs_dir=~/projects/dialect
MONITORING_SERVICE_PUBLIC_KEY=$(cat ${keypairs_dir}/jupiter-service-dev-local-key.pub) ts-node test/jupiter-clients.ts