You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+33-10Lines changed: 33 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,13 @@
1
1
# Simplicity DEX
2
2
3
-
A distributed exchange built on the NOSTR protocol, leveraging Simplicity smart contracts and the PACT (PACT for Auditable Contract Transactions) messaging protocol.
3
+
A distributed exchange built on the NOSTR protocol, leveraging Simplicity smart contracts and the PACT (PACT for
Simplicity DEX is a decentralized exchange that combines the power of Simplicity smart contracts with the distributed messaging capabilities of NOSTR. By utilizing the PACT protocol, we enable secure, auditable, and transparent trading of digital assets without relying on centralized intermediaries.
8
+
Simplicity DEX is a decentralized exchange that combines the power of Simplicity smart contracts with the distributed
9
+
messaging capabilities of NOSTR. By utilizing the PACT protocol, we enable secure, auditable, and transparent trading of
10
+
digital assets without relying on centralized intermediaries.
8
11
9
12
## Key Features
10
13
@@ -16,11 +19,13 @@ Simplicity DEX is a decentralized exchange that combines the power of Simplicity
16
19
17
20
## DEX Messaging Protocol
18
21
19
-
The core of our DEX is the **PACT (PACT for Auditable Contract Transactions)** protocol, which defines the format of trading offers. This protocol is fully adapted to be compatible with the NOSTR event structure.
22
+
The core of our DEX is the **PACT (PACT for Auditable Contract Transactions)** protocol, which defines the format of
23
+
trading offers. This protocol is fully adapted to be compatible with the NOSTR event structure.
20
24
21
25
### Offer Structure
22
26
23
-
A PACT offer is implemented as a standard NOSTR event with kind `30078` (non-standard, ephemeral event kind for DEX offers). The event structure maps to PACT requirements as follows:
27
+
A PACT offer is implemented as a standard NOSTR event with kind `30078` (non-standard, ephemeral event kind for DEX
28
+
offers). The event structure maps to PACT requirements as follows:
24
29
25
30
| NOSTR Field | PACT Field | Data Type | Required | Description |
0 commit comments