diff --git a/ci/Dockerfile.ledger b/ci/Dockerfile.ledger deleted file mode 100644 index fb4c6bc415..0000000000 --- a/ci/Dockerfile.ledger +++ /dev/null @@ -1,9 +0,0 @@ -# Taken from bitcoindevkit/rust-hwi -FROM ghcr.io/ledgerhq/speculos - -RUN apt-get update -RUN apt-get install wget -y -RUN wget "https://github.com/LedgerHQ/speculos/blob/master/apps/nanos%23btc%232.1%231c8db8da.elf?raw=true" -O /speculos/btc.elf -ADD automation.json /speculos/automation.json - -ENTRYPOINT ["python", "./speculos.py", "--automation", "file:automation.json", "--model", "nanos", "--display", "headless", "--vnc-port", "41000", "btc.elf"] diff --git a/ci/automation.json b/ci/automation.json deleted file mode 100644 index 9de2f60e6b..0000000000 --- a/ci/automation.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": 1, - "rules": [ - { - "regexp": "Address \\(\\d/\\d\\)|Message hash \\(\\d/\\d\\)|Confirm|Fees|Review|Amount", - "actions": [ - [ "button", 2, true ], - [ "button", 2, false ] - ] - }, - { - "text": "Sign", - "conditions": [ - [ "seen", false ] - ], - "actions": [ - [ "button", 2, true ], - [ "button", 2, false ], - [ "setbool", "seen", true ] - ] - }, - { - "regexp": "Approve|Sign|Accept", - "actions": [ - [ "button", 3, true ], - [ "button", 3, false ] - ] - } - ] -} diff --git a/ci/start-core.sh b/ci/start-core.sh deleted file mode 100755 index 4c0bb6992a..0000000000 --- a/ci/start-core.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env sh - -echo "Starting bitcoin node." -mkdir $GITHUB_WORKSPACE/.bitcoin -/root/bitcoind -regtest -server -daemon -datadir=$GITHUB_WORKSPACE/.bitcoin -fallbackfee=0.0002 -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -blockfilterindex=1 -peerblockfilters=1 - -echo "Waiting for bitcoin node." -until /root/bitcoin-cli -regtest -datadir=$GITHUB_WORKSPACE/.bitcoin getblockchaininfo; do - sleep 1 -done -/root/bitcoin-cli -regtest -datadir=$GITHUB_WORKSPACE/.bitcoin createwallet $BDK_RPC_WALLET -echo "Generating 150 bitcoin blocks." -ADDR=$(/root/bitcoin-cli -regtest -datadir=$GITHUB_WORKSPACE/.bitcoin -rpcwallet=$BDK_RPC_WALLET getnewaddress) -/root/bitcoin-cli -regtest -datadir=$GITHUB_WORKSPACE/.bitcoin generatetoaddress 150 $ADDR