Skip to content

Commit 5b8dd9d

Browse files
committed
Explain the import in deployable trait
1 parent 173a145 commit 5b8dd9d

File tree

1 file changed

+2
-0
lines changed
  • src/routes/(examples)/01-the-deployable-trait

1 file changed

+2
-0
lines changed

src/routes/(examples)/01-the-deployable-trait/content.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ If you're using TypeScript to deploy, sending the deploy message should look lik
1212
const msg = { $$type: "Deploy", queryId: 0n };
1313
await contract.send(sender, { value: toNano(1) }, msg);
1414
```
15+
16+
You can see the implementation of the trait [here](https://github.com/tact-lang/tact/blob/main/stdlib/libs/deploy.tact). Notice that the file *deploy.tact* needs to be imported from the standard library using the `import` keyword.

0 commit comments

Comments
 (0)