Skip to content

Commit

Permalink
chore(sdk): update readme about cellDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Jul 18, 2024
1 parent 43ed431 commit 7159e7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ const {transaction, lockIndexes} = await sdk.lock.prepareTx(transaction: Transac
// and then directly generate sigHashAll from the giving transaction, sign it and return
// signed transaction. You need to call prepareTx before this function.
const signedTx = await sdk.lock.signPreparedTx(transaction, lockIndexes, signer);


//**** Get Nostr Scripts CellDeps ****//
const lockCellDeps = await sdk.lock.buildCellDeps();
const bindingCellDeps = await sdk.binding.buildCellDeps();
```

0 comments on commit 7159e7c

Please sign in to comment.