2025-06-22 07:42:02 +03:00

52 lines
2.1 KiB
Plaintext

> stellar-price-oracle-service@1.0.0 start
> node index.js
๐Ÿš€ Stellar Oracle Pro initialized
๐Ÿ“‹ Contract: CAR27TD3JZTPGJGOZ6EQOFG4YS5T6MU2WBWMM6KXR3NQFXGUTSQFP3WG
๐Ÿ“ Provider: Configured
๐Ÿ”‘ Provider Public Key: GC3B5PP5MBWBDKP3AWK6EUOZIWQ75O3BXMD5TUW3YQU5XKU2LISY2LSL
๐Ÿ”„ Starting price update service...
๐Ÿ”„ Starting price update cycle #1...
๐Ÿ“Š Fetching prices from DexScreener API...
๐ŸŒ Stellar Oracle API running on port 3001
๐Ÿ“Š Health: http://localhost:3001/health
๐Ÿ’ฐ Prices: http://localhost:3001/prices
๐Ÿ“ˆ Status: http://localhost:3001/status
๐Ÿ’ฐ BTC: $102606.120000 via token_address (orca)
๐Ÿ’ฐ ETH: $2286.280000 via token_address (orca)
๐Ÿ’ฐ SOL: $136.052000 via token_address (raydium)
๐Ÿ’ฐ XLM: $1.001200 via token_address (uniswap)
๐Ÿ”„ Submitting BTC: $102606.12 via simple payment...
๐Ÿ“ก GET /health from ::1
๐Ÿ“ก Testing transaction system with BTC...
โœ… SYSTEM WORKS BTC: Transaction successful!
๐Ÿ“‹ Next step: Fix contract call once system proven working
๐Ÿ”„ Submitting ETH: $2286.28 via simple payment...
๐Ÿ“ก Testing transaction system with ETH...
โŒ SYSTEM ERROR ETH: TRY_AGAIN_LATER
๐Ÿ”„ Submitting SOL: $136.05 via simple payment...
๐Ÿ“ก Testing transaction system with SOL...
โŒ SYSTEM ERROR SOL: TRY_AGAIN_LATER
๐Ÿ”„ Submitting XLM: $1.00 via simple payment...
๐Ÿ“ก Testing transaction system with XLM...
โœ… SYSTEM WORKS XLM: Transaction successful!
๐Ÿ“‹ Next step: Fix contract call once system proven working
๐Ÿ“Š Update #1 complete in 8940ms
๐Ÿ’ฐ Fetched 4 prices | โ›“๏ธ Submitted 2 to Stellar
๐ŸŽ‰ Successfully updated 2 price(s) on Stellar blockchain!
โœ… Oracle service ready (30s updates)
๐ŸŽฏ Perfect for hackathon demos!
๐Ÿ“ก GET /prices from ::ffff:127.0.0.1
๐Ÿ“ก GET /health from ::ffff:127.0.0.1
๐Ÿ“ก GET /prices from ::ffff:127.0.0.1
๐Ÿ“ก GET /stats from ::ffff:127.0.0.1
๐Ÿ“ก GET /stats from ::ffff:127.0.0.1
๐Ÿ“ก GET /history/BTC from ::ffff:127.0.0.1
๐Ÿ“ก GET /history/ETH from ::ffff:127.0.0.1
๐Ÿ“ก GET /history/SOL from ::ffff:127.0.0.1
๐Ÿ“ก GET /history/XLM from ::ffff:127.0.0.1
๐Ÿ“ก GET /health from ::ffff:127.0.0.1
๐Ÿ‘‹ Stellar Oracle shutting down gracefully...