Skip to content

Conversation

@rkalis
Copy link
Member

@rkalis rkalis commented Oct 16, 2023

No description provided.

- Create "unlockers" for smart contract functions
- Create "unlockers" for P2PKH inputs
- Add TransactionBuilder that can:
  - add inputs (+ their unlockers & potential sequence numbers)
  - add outputs (regular and op_return)
  - set locktime
  - set a max fee as a safety feature
  - build & send the transaction
- Add some tests, still need more
@vercel
Copy link

vercel bot commented Oct 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cashscript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2023 2:03pm

@rkalis rkalis changed the title Add advanced TransactionBuilder (for combining different contracts) Add advanced TransactionBuilder (for combining contracts) Oct 16, 2023
@rkalis rkalis merged commit cc83e76 into master Oct 16, 2023
@rkalis rkalis deleted the transaction-builder branch October 16, 2023 14:04
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.

2 participants