Skip to content

Commit

Permalink
cch: simple BTC/CKB payment channel hub service
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Jun 18, 2024
1 parent 34e45a3 commit bba8b9a
Show file tree
Hide file tree
Showing 46 changed files with 2,730 additions and 338 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- invoice-ops
- open-use-close-a-channel
- udt
- cross-chain-hub
release:
- "0.116.1"
name: e2e test for ${{ matrix.workflow }}
Expand All @@ -26,9 +27,21 @@ jobs:
wget "https://github.com/nervosnetwork/ckb/releases/download/v${version}/ckb_v${version}_x86_64-unknown-linux-gnu-portable.tar.gz"
tar -xvaf "ckb_v${version}_x86_64-unknown-linux-gnu-portable.tar.gz"
sudo mv "ckb_v${version}_x86_64-unknown-linux-gnu-portable"/* /usr/local/bin/
if [ ${{ matrix.workflow }} = "cross-chain-hub" ]; then
wget "https://bitcoin.org/bin/bitcoin-core-27.0/bitcoin-27.0-x86_64-linux-gnu.tar.gz"
tar -xvaf "bitcoin-27.0-x86_64-linux-gnu.tar.gz"
echo "$(pwd)/bitcoin-27.0/bin" >> $GITHUB_PATH
wget "https://github.com/lightningnetwork/lnd/releases/download/v0.18.0-beta/lnd-linux-amd64-v0.18.0-beta.tar.gz"
tar -xvaf "lnd-linux-amd64-v0.18.0-beta.tar.gz"
echo "$(pwd)/lnd-linux-amd64-v0.18.0-beta" >> $GITHUB_PATH
fi
- name: Start nodes
run: |
if [ ${{ matrix.workflow }} = "cross-chain-hub" ]; then
./tests/deploy/lnd-init/setup-lnd.sh
fi
# Prebuild the program so that we can run the following script faster
cargo build
cd tests/deploy/udt-init && cargo build && cd -
Expand Down
Loading

0 comments on commit bba8b9a

Please sign in to comment.