Initial Hash Wallet price aggregator (Cloudflare Worker)

Single endpoint serving USD spot prices for Hash Wallet, sourcing from
Kraken (majors) and NonKYC (Wownero), KV-cached and refreshed via cron
every minute. Drop-in /v2/rates shape compatible with the existing wallet
client; preferred /v1/prices returns everything in one call.
This commit is contained in:
jwinterm
2026-05-14 08:58:58 -04:00
commit f4bf98f6fc
6 changed files with 302 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "es2022",
"module": "es2022",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"isolatedModules": true,
"noEmit": true,
"lib": ["es2022"],
"types": ["@cloudflare/workers-types"]
},
"include": ["src/**/*.ts"]
}