stacks.js
stacks.js copied to clipboard
feat!: Update post-condition representation to humand readable types
- update post-condition representations for SIP
Example Post-conditions should now be human-readable and serializable. This is a breaking change.
const condition = {
type: 'stx-postcondition',
address: 'SP...123',
condition: 'eq',
amount: 10000
}
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| stacksjs-docs | 🛑 Canceled (Inspect) | Sep 17, 2024 3:18pm |
👏 👏
Great changes!
I have a doubt regarding the
sentnot-sentkeywords.Does the past tense make more sense than the previous version (Sends, DoesNotSend)?
Yeah, they're not perfect. I also prefer "will" "does" (from the perspective of the person constructing the PC before the tx, but folks on the wallets standards calls prefer red "post"-tense for "post" conditions 😅