refactor: rename project from dgray.io to kashilo.com

This commit is contained in:
2026-02-10 18:43:49 +01:00
parent 4e77ce92f3
commit 9069404942
60 changed files with 260 additions and 260 deletions

View File

@@ -2,11 +2,11 @@
// Client must find nonce where SHA256(challenge + nonce) has N leading zeros
// Server-first: tries /pow/challenge endpoint, falls back to local generation
const POW_SERVER = 'https://pow.dgray.io'
const POW_SERVER = 'https://pow.kashilo.com'
const DIFFICULTY = 4
const SERVER_TIMEOUT_MS = 1500
const LOCAL_HMAC_KEY = 'dgray-pow-local-v1'
const LOCAL_HMAC_KEY = 'kashilo-pow-local-v1'
async function hmacSign(message) {
const enc = new TextEncoder()