cptlight commited on
Commit
fb392fa
·
1 Parent(s): 440d8f5

Deploy bit-settled SIM demo

Browse files
Files changed (2) hide show
  1. Dockerfile +20 -0
  2. README.md +21 -5
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hugging Face Docker Space for bit-settled.
2
+ # Builds directly from the public GitHub repo so this Space stays in sync.
3
+ FROM node:22-alpine
4
+
5
+ RUN apk add --no-cache git ca-certificates
6
+ WORKDIR /app
7
+
8
+ RUN git clone --depth 1 https://github.com/cptlight/bit-settled.git .
9
+
10
+ ENV NODE_ENV=production \
11
+ HOST=0.0.0.0 \
12
+ PORT=7860 \
13
+ PAYPAL_LIVE=0 \
14
+ AI_PROVIDER=none
15
+
16
+ EXPOSE 7860
17
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
18
+ CMD wget -qO- http://127.0.0.1:7860/api/health || exit 1
19
+
20
+ CMD ["node", "server.js"]
README.md CHANGED
@@ -1,10 +1,26 @@
1
  ---
2
- title: Bit Settled
3
- emoji: 🌖
4
- colorFrom: gray
5
- colorTo: red
6
  sdk: docker
 
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: bit-settled
3
+ emoji: 🤝
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: docker
7
+ app_port: 7860
8
  pinned: false
9
+ license: apache-2.0
10
+ short_description: PayPal merchant negotiation desk for agentic commerce
11
  ---
12
 
13
+ # bit-settled — live SIM demo
14
+
15
+ **PayPal's merchant negotiation desk for the agent economy.**
16
+
17
+ A merchant publishes a catalog and private policy; its native agent negotiates with any consumer's personal AI; both sign an Agent Commerce Contract; PayPal settles; a buyer claim is refunded from the merchant reserve in about a second.
18
+
19
+ This Space runs the **SIM** demo: no keys, no money, all flows deterministic and offline. Click **Run full demo** on the landing page.
20
+
21
+ - Source: https://github.com/cptlight/bit-settled
22
+ - License: Apache-2.0
23
+ - Start here: `/start.html`
24
+ - 5-step demo: `/demo.html`
25
+
26
+ The public demo never exposes private merchant floors, and never needs PayPal or AI credentials.