aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/harness
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-06-21 12:40:12 +0200
committerFlorian Dold <florian@dold.me>2022-07-08 11:08:30 +0200
commitb214934b75418d0d01c9556577d9594f1db5a319 (patch)
treed8ec18217a16e6b89859b30003a4a825fc63a66e /packages/taler-wallet-cli/src/harness
parent05cdbfb534bb194dbe6bdf049113ebea8139234f (diff)
downloadwallet-core-b214934b75418d0d01c9556577d9594f1db5a319.tar.xz
wallet-core: P2P push payments (still incomplete)
Diffstat (limited to 'packages/taler-wallet-cli/src/harness')
-rw-r--r--packages/taler-wallet-cli/src/harness/harness.ts30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/harness/harness.ts b/packages/taler-wallet-cli/src/harness/harness.ts
index 74a523343..3b58219bb 100644
--- a/packages/taler-wallet-cli/src/harness/harness.ts
+++ b/packages/taler-wallet-cli/src/harness/harness.ts
@@ -1296,6 +1296,36 @@ export class ExchangeService implements ExchangeServiceInterface {
);
}
}
+
+ await runCommand(
+ this.globalState,
+ "exchange-offline",
+ "taler-exchange-offline",
+ [
+ "-c",
+ this.configFilename,
+ "global-fee",
+ // year
+ "now",
+ // history fee
+ `${this.exchangeConfig.currency}:0.01`,
+ // kyc fee
+ `${this.exchangeConfig.currency}:0.01`,
+ // account fee
+ `${this.exchangeConfig.currency}:0.01`,
+ // purse fee
+ `${this.exchangeConfig.currency}:0.01`,
+ // purse timeout
+ "1h",
+ // kyc timeout
+ "1h",
+ // history expiration
+ "1year",
+ // free purses per account
+ "5",
+ "upload",
+ ],
+ );
}
async revokeDenomination(denomPubHash: string) {