Skip to content

Commit

Permalink
fix: updated links to docs.tact-lang.org (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota authored Mar 13, 2024
1 parent 7e85f62 commit fcb2eac
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/02-addresses.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<p>All contracts are deployed by sending them a message. While any message can be used for this purpose, best practice is to use the special <code>Deploy</code> message.</p>
<p>This message has a single field, <code>queryId</code>, provided by the deployer (usually set to zero). If the deployment succeeds, the contract will reply with a <code>DeployOk</code> message and echo the same <code>queryId</code> in the response.</p>
<hr>
<p>If you&#39;re using Tact&#39;s <a href="https://docs.tact-lang.org/tools/typescript#tact-contract-in-typescript">auto-generated</a> TypeScript classes to deploy, sending the deploy message should look like:</p>
<p>If you&#39;re using Tact&#39;s <a href="https://docs.tact-lang.org/ecosystem/tools/typescript#tact-contract-in-typescript">auto-generated</a> TypeScript classes to deploy, sending the deploy message should look like:</p>
<pre><code class="language-ts">const msg = { $$type: &quot;Deploy&quot;, queryId: 0n };
await contract.send(sender, { value: toNano(1) }, msg);
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/03-sender.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2 id="the-intricate-math">The intricate math</h2>
<div style="padding-left: 1em; margin: 1em 0; position: relative;">
<div style="position: absolute; top: 0; bottom: 0%; left: 0; width: 3px; background-color: green;"></div>
<strong>Info</strong>: More details for different sending modes can check
<a href="https://docs.tact-lang.org/language/ref/message-modes#combining-modes">here</a>
<a href="https://docs.tact-lang.org/book/message-mode#combining-modes-with-flags">here</a>
</div>
<!-- HTML_TAG_END -->
<div class="navMarkdown">
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/routes/(examples)/01-the-deployable-trait/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This message has a single field, `queryId`, provided by the deployer (usually se

---

If you're using Tact's [auto-generated](https://docs.tact-lang.org/tools/typescript#tact-contract-in-typescript) TypeScript classes to deploy, sending the deploy message should look like:
If you're using Tact's [auto-generated](https://docs.tact-lang.org/ecosystem/tools/typescript#tact-contract-in-typescript) TypeScript classes to deploy, sending the deploy message should look like:

```ts
const msg = { $$type: "Deploy", queryId: 0n };
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(examples)/03-send-coins/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Send mode `SendRemainingBalance` will ignore the outgoing value and send the ent
<div style="padding-left: 1em; margin: 1em 0; position: relative;">
<div style="position: absolute; top: 0; bottom: 0%; left: 0; width: 3px; background-color: green;"></div>
<strong>Info</strong>: More details for different sending modes can check
<a href="https://docs.tact-lang.org/language/ref/message-modes#combining-modes">here</a>
<a href="https://docs.tact-lang.org/book/message-mode#combining-modes-with-flags">here</a>
</div>

0 comments on commit fcb2eac

Please sign in to comment.