kaspanet / rusty-kaspa

Kaspa full-node reference implementation and related libraries in the Rust programming language
ISC License
488 stars 153 forks source link

P2SH wasm javascript example #600

Open patrickdalla opened 4 days ago

patrickdalla commented 4 days ago

I'm having difficulty in figuring out how to implement an transaction send and later spend with time lock using P2SH.

I could send a transaction, but I don't know how to spend the generated UTXO.

I think a simple example with 2 steps, one creating a p2sh transaction and other using the utxo to send this utxo's kaspa to p2kh would help any developer in quickly implement and customize its script.

KaffinPX commented 4 days ago

Can you ping me on Discord #development channel?