Skip to content

Commit

Permalink
fix: πŸ› syntax fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
oleggrib committed Nov 30, 2023
1 parent 5b89ade commit ffe3b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/tokenscript/extra-features/token-messaging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

7. Run ```tokenscript emulate``` to preview your tokenscript in action

8. If TokenScript works as expected the copy file β€œout/tokenscript.tsml” to some HTTPS hosting and save file URL
8. If TokenScript works as expected then copy file **out/tokenscript.tsml** to some HTTPS hosting and save file URL

Now you can use this URL in tokenscript viewer. Dont forget to replace variables with values **chainId** , **contractAddress** , **tokenId** and replace **tokenScriptFileURL** with its value, its URL, where TSML file located
Now you can use this URL in tokenscript viewer. Don't forget to replace variables with values **chainId** , **contractAddress** , **tokenId** and replace **tokenScriptFileURL** with its value, its URL, where TSML file located

```
const singleTokenViewTokeScriptURL = `https://viewer-staging.tokenscript.org/?viewType=sts-token&chain=${chainId}&contract=${contractAddress}&tokenId=${tokenId}&tokenscriptUrl=${encodeURIComponent(tokenScriptFileURL)}`
Expand Down

0 comments on commit ffe3b20

Please sign in to comment.