cocoon-sdk 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,29 +80,9 @@ Quick links:
|
|
|
80
80
|
|
|
81
81
|
Important for users integrating from another project:
|
|
82
82
|
|
|
83
|
-
- The intended path is to run `scripts/setup.ts` once and copy `SECRET` + TLS paths.
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
If you cannot run `scripts/setup.ts`, use this tested certificate generation format:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
openssl genpkey -algorithm ed25519 -out /tmp/cocoon-client.key.pem
|
|
91
|
-
openssl req -x509 \
|
|
92
|
-
-key /tmp/cocoon-client.key.pem \
|
|
93
|
-
-out /tmp/cocoon-client-cert.pem \
|
|
94
|
-
-days 1 \
|
|
95
|
-
-subj "/C=AE/ST=DUBAI/O=TDLib Development/OU=Security/CN=localhost"
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Then set:
|
|
99
|
-
|
|
100
|
-
```env
|
|
101
|
-
COCOON_TLS_CERT_PATH=/tmp/cocoon-client-cert.pem
|
|
102
|
-
COCOON_TLS_KEY_PATH=/tmp/cocoon-client.key.pem
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Note: this only covers TLS material. You still need a valid `SECRET` (recommended via setup flow).
|
|
83
|
+
- The intended and supported path is to run `scripts/setup.ts` once and copy `SECRET` + TLS paths.
|
|
84
|
+
- Manual certificate generation is intentionally not documented here.
|
|
85
|
+
- If you skip setup, the full flow usually won't work (missing secret/state initialization/top-up context).
|
|
106
86
|
|
|
107
87
|
## TON Balance Guidance
|
|
108
88
|
|