Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit 333838a

Browse files
authored
Merge pull request #7 from ABlockOfficial/update_2.0.0
Update 2.0.0
2 parents 780ca46 + 864bf05 commit 333838a

23 files changed

+2329
-13045
lines changed

README-DE.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Installieren Sie das Modul in Ihr Projekt:
9898
```typescript
9999
import { ABlockWallet } from '@a-block/a-blockjs';
100100
101-
const COMPUTE_HOST = 'beispiel.berechnung.host.com';
101+
const MEMPOOL_HOST = 'beispiel.berechnung.host.com';
102102
const INTERCOM_HOST = 'beispiel.intercom.host.com';
103103
const PASSPHRASE = 'ein sicheres Passwort';
104104
@@ -109,7 +109,7 @@ Installieren Sie das Modul in Ihr Projekt:
109109
// HINWEIS: Dies ist ein asynchroner Aufruf
110110
client
111111
.initNew({
112-
computeHost: COMPUTE_HOST,
112+
mempoolHost: MEMPOOL_HOST,
113113
intercomHost: INTERCOM_HOST,
114114
passPhrase: PASSPHRASE,
115115
})
@@ -126,7 +126,7 @@ Wenn der Client ohne vorab generierte Seed-Phrase oder vorhandenen Master-Key in
126126
127127
Einige Argumente während der Initialisierung sind optional, wie z.B. `initOffline`, das verwendet wird, um den Client im Offline-Modus zu initialisieren.
128128
129-
Die Schnittstellen-Elemente `computeHost` und `intercomHost` werden verwendet, um die API-Endpunkte für den Compute-Knoten bzw. den ABlock Intercom-Server festzulegen, mit denen der Client verbunden werden soll.
129+
Die Schnittstellen-Elemente `mempoolHost` und `intercomHost` werden verwendet, um die API-Endpunkte für den Mempool-Knoten bzw. den ABlock Intercom-Server festzulegen, mit denen der Client verbunden werden soll.
130130
131131
Während der Initialisierung muss dem Client ein benutzerdefiniertes `passPhrase` übergeben werden, da dieses Passwort zur Verschlüsselung/Entschlüsselung von Daten während der Operationen verwendet wird.
132132
@@ -135,7 +135,7 @@ Während der Initialisierung muss dem Client ein benutzerdefiniertes `passPhrase
135135
```typescript
136136
import { ABlockWallet } from '@a-block/a-blockjs';
137137
138-
const COMPUTE_HOST = 'beispiel.berechnung.host.com';
138+
const MEMPOOL_HOST = 'beispiel.berechnung.host.com';
139139
const INTERCOM_HOST = 'beispiel.intercom.host.com';
140140
const PASSPHRASE = 'ein sicheres Passwort';
141141
```
@@ -146,7 +146,7 @@ const client = new ABlockWallet();
146146
147147
// Initialisieren Sie den Client mit der benötigten Konfiguration
148148
client.initFromMasterKey({
149-
computeHost: COMPUTE_HOST,
149+
mempoolHost: MEMPOOL_HOST,
150150
intercomHost: INTERCOM_HOST,
151151
passPhrase: PASSPHRASE,
152152
},
@@ -161,7 +161,7 @@ Wenn bereits ein vorhandener Master-Schlüssel vorhanden ist, sollte diese Art d
161161
```typescript
162162
import { ABlockWallet } from '@a-block/a-blockjs';
163163
164-
const COMPUTE_HOST = 'beispiel.compute.host.com'
164+
const MEMPOOL_HOST = 'beispiel.mempool.host.com'
165165
const INTERCOM_HOST = 'beispiel.intercom.host.com'
166166
const PASSPHRASE = 'ein sicheres Passwort'
167167
const SEED_PHRASE = 'eine Seed-Phrase, die wie eine Ansammlung zufälliger Wörter aussehen sollte'
@@ -171,7 +171,7 @@ const client = new ABlockWallet();
171171
172172
// Initialisieren Sie den Client mit der benötigten Konfiguration
173173
client.initFromSeed({
174-
computeHost: COMPUTE_HOST,
174+
mempoolHost: MEMPOOL_HOST,
175175
intercomHost: INTERCOM_HOST,
176176
passPhrase: PASSPHRASE,
177177
},
@@ -204,7 +204,7 @@ Diese Art der Initialisierung gibt den entsprechenden Master-Schlüssel (in vers
204204
```typescript
205205
import { ABlockWallet } from '@a-block/a-blockjs';
206206
207-
const COMPUTE_HOST = 'example.compute.host.com';
207+
const MEMPOOL_HOST = 'example.mempool.host.com';
208208
const INTERCOM_HOST = 'example.intercom.host.com';
209209
const PASSPHRASE = 'a secure passphrase';
210210
@@ -213,7 +213,7 @@ const client = new ABlockWallet();
213213
214214
// Konfiguration
215215
const config = {
216-
computeHost: COMPUTE_HOST,
216+
mempoolHost: MEMPOOL_HOST,
217217
intercomHost: INTERCOM_HOST,
218218
passPhrase: PASSPHRASE,
219219
};
@@ -677,7 +677,7 @@ const zahlungsergebnis = await makeRbPayment(
677677
}
678678
},
679679
"status": "pending",
680-
"computeHost": "http://127.0.0.1:3003"
680+
"mempoolHost": "http://127.0.0.1:3003"
681681
}
682682
}
683683
}

README-FR.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Installez le module dans votre projet :
9898
```typescript
9999
import { ABlockWallet } from '@a-block/a-blockjs';
100100
101-
const COMPUTE_HOST = 'exemple.hote.calcul.com';
101+
const MEMPOOL_HOST = 'exemple.hote.calcul.com';
102102
const INTERCOM_HOST = 'exemple.hote.intercom.com';
103103
const PASSPHRASE = 'une phrase secrète';
104104
@@ -109,7 +109,7 @@ Installez le module dans votre projet :
109109
// REMARQUE : C'est un appel asynchrone
110110
client
111111
.initNew({
112-
computeHost: COMPUTE_HOST,
112+
mempoolHost: MEMPOOL_HOST,
113113
intercomHost: INTERCOM_HOST,
114114
passPhrase: PASSPHRASE,
115115
})
@@ -126,7 +126,7 @@ Lorsque le client est initialisé sans phrase de récupération pré-générée
126126
127127
Certains arguments lors de l'initialisation sont facultatifs, tels que `initOffline`, qui est utilisé pour initialiser le client dans un état hors ligne.
128128
129-
Les éléments d'interface `computeHost` et `intercomHost` sont utilisés pour déterminer les points d'extrémité de l'API pour le nœud de Calcul et le serveur ABlock Intercom auxquels le client doit se connecter, respectivement.
129+
Les éléments d'interface `mempoolHost` et `intercomHost` sont utilisés pour déterminer les points d'extrémité de l'API pour le nœud de Calcul et le serveur ABlock Intercom auxquels le client doit se connecter, respectivement.
130130
131131
Une `passPhrase` définie par l'utilisateur doit être fournie au client lors de l'initialisation, car cette phrase sera utilisée pour chiffrer/déchiffrer les données lors des opérations.
132132
@@ -135,7 +135,7 @@ Une `passPhrase` définie par l'utilisateur doit être fournie au client lors de
135135
```typescript
136136
import { ABlockWallet } from '@a-block/a-blockjs';
137137
138-
const COMPUTE_HOST = 'exemple.hote.calcul.com';
138+
const MEMPOOL_HOST = 'exemple.hote.calcul.com';
139139
const INTERCOM_HOST = 'exemple.hote.intercom.com';
140140
const PASSPHRASE = 'une phrase secrète';
141141
```
@@ -146,7 +146,7 @@ const client = new ABlockWallet();
146146
147147
// Initialisez le client avec la configuration nécessaire
148148
client.initFromMasterKey({
149-
computeHost: COMPUTE_HOST,
149+
mempoolHost: MEMPOOL_HOST,
150150
intercomHost: INTERCOM_HOST,
151151
passPhrase: PASSPHRASE,
152152
},
@@ -161,7 +161,7 @@ Lorsqu'une clé maître existante est disponible, ce type d'initialisation **doi
161161
```typescript
162162
import { ABlockWallet } from '@a-block/a-blockjs';
163163
164-
const COMPUTE_HOST = 'example.compute.host.com'
164+
const MEMPOOL_HOST = 'example.mempool.host.com'
165165
const INTERCOM_HOST = 'example.intercom.host.com'
166166
const PASSPHRASE = 'une phrase secrète sécurisée'
167167
const SEED_PHRASE = 'une phrase de départ qui devrait ressembler à un tas de mots aléatoires'
@@ -171,7 +171,7 @@ const client = new ABlockWallet();
171171
172172
// Initialisez le client avec la configuration nécessaire
173173
client.initFromSeed({
174-
computeHost: COMPUTE_HOST,
174+
mempoolHost: MEMPOOL_HOST,
175175
intercomHost: INTERCOM_HOST,
176176
passPhrase: PASSPHRASE,
177177
},
@@ -204,7 +204,7 @@ Ce type d'initialisation renverra la clé maître correspondante (sous une forme
204204
```typescript
205205
import { ABlockWallet } from '@a-block/a-blockjs';
206206
207-
const COMPUTE_HOST = 'example.compute.host.com';
207+
const MEMPOOL_HOST = 'example.mempool.host.com';
208208
const INTERCOM_HOST = 'example.intercom.host.com';
209209
const PASSPHRASE = 'a secure passphrase';
210210
@@ -213,7 +213,7 @@ const client = new ABlockWallet();
213213
214214
// Configuration
215215
const config = {
216-
computeHost: COMPUTE_HOST,
216+
mempoolHost: MEMPOOL_HOST,
217217
intercomHost: INTERCOM_HOST,
218218
passPhrase: PASSPHRASE,
219219
};
@@ -676,7 +676,7 @@ saveEncryptedTx(druid, encryptedTx);
676676
}
677677
},
678678
"status": "pending",
679-
"computeHost": "http://127.0.0.1:3003"
679+
"mempoolHost": "http://127.0.0.1:3003"
680680
}
681681
}
682682
}

0 commit comments

Comments
 (0)