Skip to content

Commit

Permalink
chore: fix publish/mint collection example
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcrazycoder committed Aug 10, 2023
1 parent 7fe5819 commit def6e4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/node/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ async function mint() {
destination: userWallet.selectedAddress,
changeAddress: userWallet.selectedAddress,
postage: 1000,
mediaContent: IMG_BASE64,
mediaType: "image/png",
mediaContent: 'Sample content',
mediaType: "text/plain",
outs: [{address: 'tb1pk6yxhcwzzjg9gwsumnlrh3l9q3ajxk657e7kqwmwpd8mklmnmehsrn3hu2', value: 1000}]
});

Expand Down
3 changes: 2 additions & 1 deletion examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"read": "node read",
"send": "node send",
"create-psbt": "node create-psbt",
"instant-buy": "node instant-buy"
"instant-buy": "node instant-buy",
"publish-collection": "node collections"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit def6e4c

Please sign in to comment.