Build Send Coins Batch Transaction #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Send Coins Batch Transaction | |
| on: | |
| workflow_dispatch: | |
| # Manual trigger remains, but we remove the 'inputs' section | |
| jobs: | |
| build-send-coins-batch-tx: | |
| runs-on: ubuntu-latest | |
| env: | |
| # Multisig specific config (from GitHub Actions variables) | |
| MULTISIG_ADDRESS: ${{ vars.MULTISIG_ADDRESS }} | |
| MULTISIG_SIGNERS_BASE64_PUBKEYS: ${{ vars.MULTISIG_SIGNERS_BASE64_PUBKEYS }} | |
| MULTISIG_THRESHOLD: ${{ vars.MULTISIG_THRESHOLD }} | |
| MULTISIG_WEIGHTS: ${{ vars.MULTISIG_WEIGHTS }} | |
| # Destination address to send coins to | |
| DESTINATION_ADDRESS: ${{ vars.DESTINATION_ADDRESS }} | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build Send Coins Batch Transaction | |
| run: npx tsx examples/send-coins/send-coins-batch-to-destination.ts |