Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
4259583
docs: record security review findings
ivanlele Nov 6, 2026
d57368a
update http client dependencies.
ivanlele Nov 6, 2026
e08e3ee
pin taproot commitment vectors.
ivanlele Nov 6, 2026
f1f1064
add policy bit value encoding.
ivanlele Nov 6, 2026
02d9973
add bitcoin policy registry.
ivanlele Nov 6, 2026
b9d5633
verify bitcoin policy transaction evidence.
ivanlele Nov 6, 2026
2da7d79
add liquid policy registry.
ivanlele Nov 6, 2026
8f603dd
verify liquid policy transaction evidence.
ivanlele Nov 6, 2026
8a421cd
add liquid policy execution.
ivanlele Nov 6, 2026
2095296
add liquid policy pset operations.
ivanlele Nov 6, 2026
241ddf2
register the portable policy crate.
ivanlele Nov 6, 2026
33029c6
test bitcoin policy kernel.
ivanlele Nov 6, 2026
a4a70a3
add liquid fixture generator.
ivanlele Nov 6, 2026
1179e60
add liquid transaction test vectors.
ivanlele Nov 6, 2026
ac598c9
test liquid policy verification.
ivanlele Nov 6, 2026
41aabdb
test bitcoin policy jet adapter.
ivanlele Nov 6, 2026
0de943c
test bitcoin policy execution adapter.
ivanlele Nov 6, 2026
bc041a0
add bitcoin policy execution adapter.
ivanlele Nov 6, 2026
b357874
expose liquid policy execution.
ivanlele Nov 6, 2026
4f38d9b
add bitcoin policy endpoints.
ivanlele Nov 6, 2026
9b2b81d
add liquid policy endpoints.
ivanlele Nov 6, 2026
3314c5b
make policy signing the service api.
ivanlele Nov 6, 2026
29ec1f1
remove legacy bitcoin signing handler.
ivanlele Nov 6, 2026
dfda3f6
remove legacy liquid signing handler.
ivanlele Nov 6, 2026
f57ed0b
remove legacy tweak handler.
ivanlele Nov 6, 2026
d35da50
add verified policy finalization.
ivanlele Nov 6, 2026
38e91a6
add bitcoin policy cli.
ivanlele Nov 6, 2026
c494f99
add liquid policy cli.
ivanlele Nov 6, 2026
f4aa579
remove legacy cli tests.
ivanlele Nov 6, 2026
7432b83
make policy commands the main cli flow.
ivanlele Nov 6, 2026
54cb691
remove legacy bitcoin transaction commands.
ivanlele Nov 6, 2026
7f8694f
remove legacy liquid transaction commands.
ivanlele Nov 6, 2026
c22e1c2
remove legacy address and demo commands.
ivanlele Nov 6, 2026
a4fd794
test bitcoin policy cli.
ivanlele Nov 6, 2026
fe25f7b
test liquid policy cli.
ivanlele Nov 6, 2026
517c53f
pin transport dependency versions.
ivanlele Nov 6, 2026
ee9fce8
add reviewed policy templates.
ivanlele Nov 6, 2026
48a196d
test compiled policy templates.
ivanlele Nov 6, 2026
a514eea
replace legacy demos with policy workflow.
ivanlele Nov 6, 2026
f0bd0b2
document bitcoin and liquid policy profiles.
ivanlele Nov 6, 2026
2b59910
document the policy workflow.
ivanlele Nov 6, 2026
f96a90d
add CI job to publish images.
ivanlele Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Publish release image

on:
release:
types: [published]

jobs:
publish:
name: Publish service image to GHCR
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out release tag
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: refs/tags/${{ github.event.release.tag_name }}
persist-credentials: false

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Log in to GHCR
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Generate image tags and labels
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/${{ github.repository }}
flavor: latest=false
tags: |
type=raw,value=${{ github.event.release.tag_name }}
type=raw,value=latest,enable=${{ !github.event.release.prerelease }}

- name: Build and publish image
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Contributions of all kinds are welcome — bug reports, documentation improvemen

The workspace is organised into focused crates. Keep changes scoped to the appropriate crate and discuss cross-crate changes in an issue first.

- [`core`](core/README.md): Simplicity execution engine and Bitcoin/Elements environments.
- [`service`](service/README.md): Axum HTTP service exposing the sign/PSBT, sign/PSET, and key-tweak endpoints.
- [`cli`](cli/README.md): `clap`-based CLI for interacting with the service and accessing ecosystem utilities.
- [`policy`](policy/README.md): Portable `bitcoin-policy-v1` registry and verified context.
- [`core`](core/README.md): Policy execution adapter and shared Bitcoin/Elements primitives.
- [`service`](service/README.md): Axum HTTP service exposing separate Bitcoin/Liquid policy APIs and the version endpoint.
- [`cli`](cli/README.md): Primary `policy` workflow and key generation.

## Issues

Expand Down Expand Up @@ -47,14 +48,13 @@ The service reads `config.toml` from the current directory by default. You can p
cargo run --quiet -- start --config path/to/your/config.toml
```

To exercise CLI commands against the running service, use the demo scripts:
To exercise the policy CLI against a matching Testnet4 service, follow the
[demo's artifact requirements](cli/README.md#demo):

```bash
# Bitcoin regtest demo
cd cli && ./scripts/demo_btc.sh

# Elements / Liquid testnet demo
cd cli && ./scripts/demo_elements.sh
./cli/scripts/demo_btc.sh --help
# With reviewed policy artifacts configured:
./cli/scripts/demo_btc.sh review
```

## Docker
Expand Down
Loading
Loading