Skip to content

support to set nSequence as a number of second chunks #289

Open
@mr-zwets

Description

@mr-zwets

support to set nSequence as a number of second chunks

Currently this is not supported a laid out in the docs:

Because of the way time locks work, a corresponding time lock needs to be added to the transaction. This can be done in the CashScript SDK through [addInput()][addInput()] by passing the sequence as optional argument. However, the value passed into this function will always be treated as a number of blocks, so it is currently not supported to use this.age as a number of second chunks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjavascript-sdkRelates to the CashScript JavaScript SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions