52 lines
2.1 KiB
Plaintext
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...
|