{"id":13734568,"url":"https://github.com/tact-lang/tact-template","last_synced_at":"2025-04-05T11:07:17.603Z","repository":{"id":105020015,"uuid":"602991028","full_name":"tact-lang/tact-template","owner":"tact-lang","description":"Tact project template","archived":false,"fork":false,"pushed_at":"2025-03-29T08:14:44.000Z","size":711,"stargazers_count":81,"open_issues_count":15,"forks_count":49,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-29T09:23:03.994Z","etag":null,"topics":["tact","template","ton"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tact-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-17T11:37:47.000Z","updated_at":"2025-03-29T08:14:46.000Z","dependencies_parsed_at":"2024-01-12T02:42:53.494Z","dependency_job_id":"e542dff4-9a69-41ac-824f-c986577005f1","html_url":"https://github.com/tact-lang/tact-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tact-lang%2Ftact-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tact-lang%2Ftact-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tact-lang%2Ftact-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tact-lang%2Ftact-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tact-lang","download_url":"https://codeload.github.com/tact-lang/tact-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325693,"owners_count":20920714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tact","template","ton"],"created_at":"2024-08-03T03:00:57.476Z","updated_at":"2025-04-05T11:07:17.567Z","avatar_url":"https://github.com/tact-lang.png","language":"TypeScript","funding_links":[],"categories":["Tools and utilities [↑](#contents)"],"sub_categories":["Templates"],"readme":"# Tact template project\n\nThis template comes pre-configured to kickstart your new Tact project. It includes the Tact compiler, TypeScript, Jest integrated with [Sandbox](https://github.com/ton-org/sandbox), and a sample demonstrating how to run tests.\n\n## How to use\n\nFirst, let's install all the dependencies:\n\n```shell\nyarn install\n```\n\nNow we're ready to build our contract:\n\n```shell\nyarn build\n```\n\nOnce you've built our contract, you can deploy it:\n\n```shell\nyarn deploy\n```\n\nLet's look at some other useful commands.\n\nTo test your contract after changes, run:\n\n```shell\nyarn test\n```\n\nIf you want to quickly check your changes for validity, run:\n\n```shell\nyarn lint\n```\n\n## Deployment\n\nTo deploy a contract, follow these steps:\n\n1. Define the [`contract.tact`](./sources/contract.tact) file that will be used as entry point of your contract.\n2. Customize the [`contract.deploy.ts`](./sources/contract.deploy.ts) file based on your `contract.tact` to generate a deployment link. It is crucial to ensure the proper invocation of the `init()` function within the contract.\n\nIf you rename `contract.tact`, be sure to update [`tact.config.json`](./tact.config.json) accordingly. For a description of `tact.config.json`, see the [Configuration page in the Tact documentation](https://docs.tact-lang.org/book/config).\n\n## Testing\n\nYou can find some examples of contract tests in [`contract.spec.ts`](./sources/contract.spec.ts). For more information about testing, see the [Debugging and testing page in the Tact Documentation](https://docs.tact-lang.org/book/debug).\n\nTo add new test files to your contracts, create `*.spec.ts` files similar to the template's one. They will be automatically picked up by the testing commands, such as `yarn test`.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftact-lang%2Ftact-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftact-lang%2Ftact-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftact-lang%2Ftact-template/lists"}