Skip to content

Commit 677bab4

Browse files
Support to RGB Swaps (#373)
* feat: allow create offer and bid psbts * refactor: rename sign methods * feat: add consig file * feat: add swap tests * chore: rename structs to friendly names * feat: finish public offers cycle * feat: expose wasm methods * test: create swap flow (wasm32) * feat: add swap fee * Minnor correction: reponse to response * refactor: add ecdh between peers * feat: add offer expire datetime * fix: typo --------- Co-authored-by: Jose D Robles <[email protected]>
1 parent 772bb1e commit 677bab4

36 files changed

+4321
-293
lines changed

.env

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# :: Explorers ::
12
# BITCOIN_EXPLORER_API_MAINNET=http://18.217.213.66:3000
23
# BITCOIN_EXPLORER_API_TESTNET=http://18.217.213.66:3000
34
# BITCOIN_EXPLORER_API_SIGNET=http://18.217.213.66:3000
@@ -15,12 +16,23 @@ BITCOIN_EXPLORER_API_REGTEST=http://localhost:3000/regtest/api
1516
# BITCOIN_ELECTRUM_API_MAINNET=mempool.space:50001
1617
# BITCOIN_ELECTRUM_API_TESTNET=mempool.space:60001
1718
# BITCOIN_ELECTRUM_API_SIGNET=mempool.space:60601
19+
20+
# :: LN ::
1821
LNDHUB_ENDPOINT=https://lndhubx-prod.bitmask.app
1922
#LNDHUB_ENDPOINT=https://lndhubx.bitmask.app
20-
# CARBONADO_ENDPOINT=https://qvijq4x0ei.execute-api.us-east-2.amazonaws.com/dev/carbonado
23+
24+
# :: Bitmask & Carbonado Server ::
25+
STRESS_TEST=false
26+
BITCOIN_NETWORK=regtest
2127
BITMASK_ENDPOINT=http://localhost:7070
2228
CARBONADO_ENDPOINT=http://localhost:7070/carbonado
23-
BITCOIN_NETWORK=regtest
24-
STRESS_TEST=false
29+
# CARBONADO_ENDPOINT=https://qvijq4x0ei.execute-api.us-east-2.amazonaws.com/dev/carbonado
30+
31+
# :: Marketplace ::
32+
UDAS_UTXO=3b367e1facc3174e97658295961faf6a4ed889129c881b7a73db1f074b49bd8a:
2533
MARKETPLACE_SEED=lion bronze dumb tuna perfect fantasy wall orphan improve business harbor sadness
26-
UDAS_UTXO=3b367e1facc3174e97658295961faf6a4ed889129c881b7a73db1f074b49bd8a:0
34+
MARKETPLACE_NOSTR=cd591c134a0d88991326b1619953d0eae2287d315a7c4a93c1e4883a8c26c464
35+
# 1..100
36+
MARKETPLACE_FEE_PERC=
37+
# xpub..
38+
MARKETPLACE_FEE_XPUB=

Cargo.lock

Lines changed: 41 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)