Skip to content

Instantly share code, notes, and snippets.

@sdmg15
Created June 2, 2026 11:43
Show Gist options
  • Select an option

  • Save sdmg15/0b29a06f3ecbd923ea752cf2f2dee2f0 to your computer and use it in GitHub Desktop.

Select an option

Save sdmg15/0b29a06f3ecbd923ea752cf2f2dee2f0 to your computer and use it in GitHub Desktop.

Send and Receive Silent Payment with BDK-SP Workshop instructions

Organization

Tip

Execute the stage 1 of the frigate_playbook.sh before participating of the workshop. Installation of dependencies takes time and depends of connectivity.

The presentation as well as the playbooks has been structured semantically by numbered stages. There are 7 in total:

  1. Setup
  2. Fund bdk-cli wallet
  3. Create a silent payment output
  4. Find a silent payment output
  5. Fund a transaction with a silent payment output
  6. Verify a silent payment change output
  7. Spend a silent payment output

Each stage is composed of multiple steps, all numbered, to ensure execution order. All steps are documented with an accompanying comment.

Important

If you are following this workshop live, do not execute the commands you see on the presentation blindly! Follow the presentation through stages, but stick to the steps in the playbook of your choice.

Requirements:

Clone the repository:

git clone --depth 1 https://github.com/sdmg15/bdk-sp --branch feat/frigate

Once cloned head over the folder doc/tabconf7:

cd doc/tabconf7

and open the frigate_playbook.sh to start following the different steps.

Once you have the dependencies for the playbook installed, you are ready to follow the workshop.

Happy workshop!

PS: The instructions here are adapted from https://github.com/bitcoindevkit/bdk-sp/blob/398b18f73fb63d65909627f9d2cae837957f87ec/doc/tabconf7/README.md and https://github.com/bitcoindevkit/bdk-sp/blob/7c4707954852c6ed1cc8f4136050c54cb67b0ada/doc/tabconf7/regtest_playbook.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment