[bisq-network/bisq] Add api method createcryptopaymentacct (#5356)

Stan notifications at github.com
Thu Mar 25 22:50:09 CET 2021


This change supports creation of `BSQ` `BLOCKCHAIN` payment method accounts.

- Added proto message defs to `grpc.proto`.
- Added grpc server boilerplate to `GrpcPaymentAccountsService`.
- Added server impl to `CoreApi`, `CorePaymentAccountsService`.
- Added `createcryptopaymentacct-help.txt`.
- Added CLI side support for new api method.
- Added opt parsing unit tests to `OptionParsersTest`.

This is the 1st PR in a series, with the goal of supporting the BTC/BSQ trading pair.  Support for other crypto currency payment accounts will be added later.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5356

-- Commit Summary --

  * Add api method createcryptopaymentacct
  * Add cli side help for createcryptopaymentacct

-- File Changes --

    M cli/src/main/java/bisq/cli/CliMain.java (23)
    M cli/src/main/java/bisq/cli/GrpcClient.java (49)
    M cli/src/main/java/bisq/cli/Method.java (1)
    M cli/src/main/java/bisq/cli/opts/ArgumentList.java (1)
    A cli/src/main/java/bisq/cli/opts/CreateCryptoCurrencyPaymentAcctOptionParser.java (75)
    M cli/src/main/java/bisq/cli/opts/MethodOpts.java (1)
    M cli/src/main/java/bisq/cli/opts/OptLabel.java (1)
    M cli/src/test/java/bisq/cli/opt/OptionParsersTest.java (89)
    M core/src/main/java/bisq/core/api/CoreApi.java (8)
    M core/src/main/java/bisq/core/api/CorePaymentAccountsService.java (50)
    M core/src/main/java/bisq/core/api/CoreWalletsService.java (20)
    A core/src/main/resources/help/createcryptopaymentacct-help.txt (39)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcPaymentAccountsService.java (37)
    M proto/src/main/proto/grpc.proto (21)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5356.patch
https://github.com/bisq-network/bisq/pull/5356.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210325/0a5c1792/attachment-0001.htm>


More information about the bisq-github mailing list