Skip to content

Commit

Permalink
Add macos m1 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Jan 19, 2024
1 parent 66cdcd7 commit d16ea6f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/groestlcoin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
name: hwi-${{ github.sha }}-wheel-and-sdist

macos:
macos-intel:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
Expand All @@ -84,11 +84,37 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: hwi-${{ github.sha }}-macos
name: hwi-${{ github.sha }}-macos-intel
path: dist/hw*
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: hwi-${{ github.sha }}-macos
name: hwi-${{ github.sha }}-macos-intel

macos-m1:
runs-on: flyci-macos-large-latest-m1
steps:
- uses: actions/checkout@v2
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install pyenv
run: brew install pyenv
- name: Install pyenv 3.9.7
run: PYTHON_CONFIGURE_OPTS="--enable-framework" BUILD_DATE="Jan 1 2019" BUILD_TIME="00:00:00" pyenv install 3.9.7
- name: Set local Python version to 3.9.7
run: pyenv local 3.9.7
- name: Compile OSX binary
run: ./contrib/build_bin.sh
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: hwi-${{ github.sha }}-macos-m1
path: dist/hw*
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: hwi-${{ github.sha }}-macos-m1
4 changes: 2 additions & 2 deletions docs/examples/groestlcoin-core-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ You can give this out to people as you normally would. When coins are sent to it

## Sending

To send Groestlcoin, we will use `walletcreatefundedpsbt`. This will create a Partially Signed Groestlcoin Transaction which is funded by inputs from the wallets (i.e. your watching only inputs selected with Groestlcoin Core's coin selection algorithm).
To send Groestlcoin, we will use `walletcreatefundedpsbt`. This will create a Partially Signed Groestlcoin Transaction which is funded by inputs from the wallets (i.e. you're watching only inputs selected with Groestlcoin Core's coin selection algorithm).
This PSBT can be used with HWI to produce a signed PSBT which can then be finalized and broadcast.

For example, suppose I am sending to 1 GRS to grs1q257z5t76hedc36wmmzva05890ny3kxd7xfwrgy. First I create a funded psbt with BIP 32 derivation paths to be included:
For example, suppose I am sending 1 GRS to grs1q257z5t76hedc36wmmzva05890ny3kxd7xfwrgy. First I create a funded psbt with BIP 32 derivation paths to be included:
```
$ src/groestlcoin-cli -rpcwallet=trezor walletcreatefundedpsbt '[]' '[{"grs1q257z5t76hedc36wmmzva05890ny3kxd7xfwrgy":1}]' 0 '{"includeWatching":true}' true
{
Expand Down

0 comments on commit d16ea6f

Please sign in to comment.