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
- For contracts setup follow this repository: https://github.com/windingtree/contracts
71
+
> Important! The private key of the server is a confidential information. Do not publish this key anywhere. Compromising this key will allow evil parties to fake p2p traffic between clients, servers and supplier nodes.
72
+
73
+
## Supplier Node configuration
74
+
75
+
```ini
76
+
NODE_TOPIC="<should be common between a node and client>"
77
+
NODE_CHAIN="gnosisChiado"
78
+
NODE_ENTITY_SIGNER_MNEMONIC="<will be generated during a setup procedure in the Supplier's Dapp>"
79
+
NODE_ENTITY_ID="<will be generated during a setup procedure in the Supplier's Dapp>"
VITE_WC_PROJECT_ID="<see guidelines of WalletConnect project registration above>"
121
+
VITE_SERVER_IP="127.0.0.1"# 46.101.211.99 in production
122
+
VITE_SERVER_PORT=33333 # 443 in production
123
+
VITE_SERVER_ID="server id generated above"
124
+
```
125
+
126
+
## Client's Dapp configuration
127
+
128
+
```ini
129
+
VITE_CHAIN="gnosisChiado"
130
+
VITE_NODE_TOPIC="<must be equal to NODE_TOPIC defined above>"
131
+
VITE_WC_PROJECT_ID="<see guidelines of WalletConnect project registration above>"
132
+
VITE_SERVER_ADDRESS="<must be equal to NODE_SERVER_ADDRESS defined above>"
133
+
```
134
+
135
+
## Building the Project
136
+
137
+
Compile the project's packages with:
138
+
139
+
```bash
140
+
pnpm run build
141
+
```
142
+
143
+
## Smart Contracts
144
+
145
+
The smart contracts are central to the MVP. Follow the specific setup instructions in the [smart contracts repository](https://github.com/windingtree/contracts).
146
+
147
+
## Coordination Server
60
148
61
-
- Start the protocol supplier Node server:
149
+
The coordination server facilitates communication between different parts of the MVP. Launch it with:
62
150
63
151
```bash
64
-
pnpm run start:node
152
+
pnpm run start:server:dev
65
153
```
66
154
67
-
###Supplier Dapp
155
+
## Supplier Node and Dapp
68
156
69
-
- Start the protocol supplier web application:
157
+
The supplier node acts as the backend for suppliers, while the supplier Dapp provides a user interface. Start these with:
70
158
71
159
```bash
160
+
pnpm run start:node:dev
72
161
pnpm run start:manager
73
162
```
74
163
75
-
###Client Dapp
164
+
## Client Dapp
76
165
77
-
- Start the protocol client web application:
166
+
The client Dapp is the frontend for the end-users. Get it running with:
0 commit comments