Skip to content

Add examples/spillman.js and examples/vhtlc.js#31

Merged
tiero merged 16 commits intoarkade-os:masterfrom
louisinger:examples
May 19, 2025
Merged

Add examples/spillman.js and examples/vhtlc.js#31
tiero merged 16 commits intoarkade-os:masterfrom
louisinger:examples

Conversation

@louisinger
Copy link
Copy Markdown
Collaborator

  • vhtlc.js shows how to use the exported VHTLC.Script class to create and spend a Virtual Hashed Timelock contract.
  • spillman.js is using the base class VtxoScript to create a Spillman channel and shows how to use it.

it closes #23

@tiero please review

@louisinger louisinger requested a review from tiero March 24, 2025 23:53
@Kukks Kukks self-requested a review March 25, 2025 09:47
Comment thread examples/spillman.js
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com>
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/vhtlc.js Outdated
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com>
Comment thread examples/vhtlc.js Outdated
Comment thread examples/vhtlc.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/spillman.js Outdated
Comment thread examples/vhtlc.js Outdated
Comment thread examples/vhtlc.js
Comment thread examples/vhtlc.js Outdated
Comment thread examples/vhtlc.js Outdated
Comment thread examples/vhtlc.js Outdated
louisinger and others added 5 commits March 25, 2025 14:51
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
@louisinger louisinger requested a review from Kukks March 26, 2025 08:58
@tiero tiero merged commit c078b34 into arkade-os:master May 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an example folder

4 participants