publicstring commited on
Commit
d1f3a73
·
verified ·
1 Parent(s): 215f01d

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -3
app.js CHANGED
@@ -10,7 +10,6 @@ app.use(express.json());
10
  // CONFIGURATION & INITIALIZATION
11
  // ============================================================================
12
  const PORT = process.env.PORT || 7860;
13
- const REGISTRY_URL = process.env.REGISTRY_URL || 'https://everydaytok-agentq-core-logics.hf.space';
14
  const PUBLIC_ENDPOINT = process.env.PUBLIC_ENDPOINT;
15
  const SELLER_PRIV_KEY = process.env.SELLER_PRIVATE_KEY;
16
 
@@ -25,8 +24,7 @@ if (!SUPABASE_URL || !SUPABASE_SERVICE_KEY || !PUBLIC_ENDPOINT || !SELLER_PRIV_K
25
  const supabase = createClient(SUPABASE_URL, SUPABASE_SERVICE_KEY);
26
 
27
  const sellerCore = new ClinchSeller({
28
- privateKeyHex: SELLER_PRIV_KEY,
29
- registryUrl: REGISTRY_URL
30
  });
31
 
32
  sellerCore.on('log', msg => console.log(`[Ginger Log] ${msg}`));
 
10
  // CONFIGURATION & INITIALIZATION
11
  // ============================================================================
12
  const PORT = process.env.PORT || 7860;
 
13
  const PUBLIC_ENDPOINT = process.env.PUBLIC_ENDPOINT;
14
  const SELLER_PRIV_KEY = process.env.SELLER_PRIVATE_KEY;
15
 
 
24
  const supabase = createClient(SUPABASE_URL, SUPABASE_SERVICE_KEY);
25
 
26
  const sellerCore = new ClinchSeller({
27
+ privateKeyHex: SELLER_PRIV_KEY
 
28
  });
29
 
30
  sellerCore.on('log', msg => console.log(`[Ginger Log] ${msg}`));