Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Jul 24, 2023
1 parent 0855707 commit 8e4d096
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ openSTXTransfer({
amount: 10000, // tokens, denominated in micro-STX
memo: 'Nr. 1337', // optional; a memo to help identify the tx

postConditionMode: PostConditionMode.Deny, // whether the tx should fail when unexpected assets are transferred
postConditions: [], // for an example using post-conditions, see next example

onFinish: response => {
// WHEN user confirms pop-up
console.log(response.txid); // the response includes the txid of the transaction
Expand Down Expand Up @@ -123,8 +120,8 @@ openContractCall({
functionName: 'vote',
functionArgs: [pick],

postConditionMode: PostConditionMode.Deny,
postConditions: [],
postConditionMode: PostConditionMode.Deny, // whether the tx should fail when unexpected assets are transferred
postConditions: [], // for an example using post-conditions, see next example

onFinish: response => {
// WHEN user confirms pop-up
Expand Down

1 comment on commit 8e4d096

@vercel
Copy link

@vercel vercel bot commented on 8e4d096 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.