Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README-DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Installieren Sie das Modul in Ihr Projekt:
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'beispiel.berechnung.host.com';
const MEMPOOL_HOST = 'beispiel.berechnung.host.com';
const INTERCOM_HOST = 'beispiel.intercom.host.com';
const PASSPHRASE = 'ein sicheres Passwort';

Expand All @@ -109,7 +109,7 @@ Installieren Sie das Modul in Ihr Projekt:
// HINWEIS: Dies ist ein asynchroner Aufruf
client
.initNew({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
})
Expand All @@ -126,7 +126,7 @@ Wenn der Client ohne vorab generierte Seed-Phrase oder vorhandenen Master-Key in

Einige Argumente während der Initialisierung sind optional, wie z.B. `initOffline`, das verwendet wird, um den Client im Offline-Modus zu initialisieren.

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.
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.

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.

Expand All @@ -135,7 +135,7 @@ Während der Initialisierung muss dem Client ein benutzerdefiniertes `passPhrase
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'beispiel.berechnung.host.com';
const MEMPOOL_HOST = 'beispiel.berechnung.host.com';
const INTERCOM_HOST = 'beispiel.intercom.host.com';
const PASSPHRASE = 'ein sicheres Passwort';
```
Expand All @@ -146,7 +146,7 @@ const client = new ABlockWallet();

// Initialisieren Sie den Client mit der benötigten Konfiguration
client.initFromMasterKey({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
},
Expand All @@ -161,7 +161,7 @@ Wenn bereits ein vorhandener Master-Schlüssel vorhanden ist, sollte diese Art d
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'beispiel.compute.host.com'
const MEMPOOL_HOST = 'beispiel.mempool.host.com'
const INTERCOM_HOST = 'beispiel.intercom.host.com'
const PASSPHRASE = 'ein sicheres Passwort'
const SEED_PHRASE = 'eine Seed-Phrase, die wie eine Ansammlung zufälliger Wörter aussehen sollte'
Expand All @@ -171,7 +171,7 @@ const client = new ABlockWallet();

// Initialisieren Sie den Client mit der benötigten Konfiguration
client.initFromSeed({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
},
Expand Down Expand Up @@ -204,7 +204,7 @@ Diese Art der Initialisierung gibt den entsprechenden Master-Schlüssel (in vers
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'example.compute.host.com';
const MEMPOOL_HOST = 'example.mempool.host.com';
const INTERCOM_HOST = 'example.intercom.host.com';
const PASSPHRASE = 'a secure passphrase';

Expand All @@ -213,7 +213,7 @@ const client = new ABlockWallet();

// Konfiguration
const config = {
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
};
Expand Down Expand Up @@ -677,7 +677,7 @@ const zahlungsergebnis = await makeRbPayment(
}
},
"status": "pending",
"computeHost": "http://127.0.0.1:3003"
"mempoolHost": "http://127.0.0.1:3003"
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions README-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Installez le module dans votre projet :
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'exemple.hote.calcul.com';
const MEMPOOL_HOST = 'exemple.hote.calcul.com';
const INTERCOM_HOST = 'exemple.hote.intercom.com';
const PASSPHRASE = 'une phrase secrète';

Expand All @@ -109,7 +109,7 @@ Installez le module dans votre projet :
// REMARQUE : C'est un appel asynchrone
client
.initNew({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
})
Expand All @@ -126,7 +126,7 @@ Lorsque le client est initialisé sans phrase de récupération pré-générée

Certains arguments lors de l'initialisation sont facultatifs, tels que `initOffline`, qui est utilisé pour initialiser le client dans un état hors ligne.

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.
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.

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.

Expand All @@ -135,7 +135,7 @@ Une `passPhrase` définie par l'utilisateur doit être fournie au client lors de
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'exemple.hote.calcul.com';
const MEMPOOL_HOST = 'exemple.hote.calcul.com';
const INTERCOM_HOST = 'exemple.hote.intercom.com';
const PASSPHRASE = 'une phrase secrète';
```
Expand All @@ -146,7 +146,7 @@ const client = new ABlockWallet();

// Initialisez le client avec la configuration nécessaire
client.initFromMasterKey({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
},
Expand All @@ -161,7 +161,7 @@ Lorsqu'une clé maître existante est disponible, ce type d'initialisation **doi
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'example.compute.host.com'
const MEMPOOL_HOST = 'example.mempool.host.com'
const INTERCOM_HOST = 'example.intercom.host.com'
const PASSPHRASE = 'une phrase secrète sécurisée'
const SEED_PHRASE = 'une phrase de départ qui devrait ressembler à un tas de mots aléatoires'
Expand All @@ -171,7 +171,7 @@ const client = new ABlockWallet();

// Initialisez le client avec la configuration nécessaire
client.initFromSeed({
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
},
Expand Down Expand Up @@ -204,7 +204,7 @@ Ce type d'initialisation renverra la clé maître correspondante (sous une forme
```typescript
import { ABlockWallet } from '@a-block/a-blockjs';

const COMPUTE_HOST = 'example.compute.host.com';
const MEMPOOL_HOST = 'example.mempool.host.com';
const INTERCOM_HOST = 'example.intercom.host.com';
const PASSPHRASE = 'a secure passphrase';

Expand All @@ -213,7 +213,7 @@ const client = new ABlockWallet();

// Configuration
const config = {
computeHost: COMPUTE_HOST,
mempoolHost: MEMPOOL_HOST,
intercomHost: INTERCOM_HOST,
passPhrase: PASSPHRASE,
};
Expand Down Expand Up @@ -676,7 +676,7 @@ saveEncryptedTx(druid, encryptedTx);
}
},
"status": "pending",
"computeHost": "http://127.0.0.1:3003"
"mempoolHost": "http://127.0.0.1:3003"
}
}
}
Expand Down
Loading