mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-01-27 17:43:33 +00:00
This might give Python devs an easier time than if all the sample code lived deep inside a gradle project. This means there is no root project gradle build file; the reference-doc-builder and java-examples modules are separate java projects, with their own build files.
13 lines
486 B
Bash
Executable File
13 lines
486 B
Bash
Executable File
#!/bin/bash
|
|
source "env.sh"
|
|
|
|
# Take a BSQ swap offer.
|
|
$BISQ_HOME/bisq-cli --password=xyz --port=9998 takeoffer --offer-id=8368b2e2-anb6-4ty9-ab09-3ebdk34f2aea
|
|
|
|
# Take an offer that is not a BSQ swap offer.
|
|
# The payment-account-id param is required, the fee-currency param is optional.
|
|
$BISQ_HOME/bisq-cli --password=xyz --port=9998 takeoffer \
|
|
--offer-id=83e8b2e2-51b6-4f39-a748-3ebd29c22aea \
|
|
--payment-account-id=fe20cdbd-22be-4b8a-a4b6-d2608ff09d6e \
|
|
--fee-currency=BTC
|