feat(relayer): цена SOL из NATS + WS-раздача + деплой-артефакты
deploy-contract / deploy-contract (release) Failing after 3m34s
deploy-contract / deploy-contract (release) Failing after 3m34s
priceSource больше не рандомит: цена берётся из NATS (market.price.solusdt), конверсия строка->целое x1e8 без float. Шлюз раздаёт цену по WS (/ws, нормализация /api/... -> /...) — фронт просто выводит её. Добавлены Dockerfile и helm-чарт для деплоя в k3s.
This commit is contained in:
@@ -16,11 +16,14 @@
|
||||
"@anchor-lang/core": "^1.0.0",
|
||||
"@solana/spl-token": "^0.4.15",
|
||||
"@solana/web3.js": "^1.98.0",
|
||||
"bn.js": "^5.2.0"
|
||||
"bn.js": "^5.2.0",
|
||||
"nats": "^2.29.3",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bn.js": "^5.2.0",
|
||||
"@types/node": "^25.0.0",
|
||||
"@types/ws": "^8.5.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user