{"id":13410222,"url":"https://github.com/labraburn/node-tonlib","last_synced_at":"2025-03-14T15:32:11.564Z","repository":{"id":57896755,"uuid":"528982761","full_name":"labraburn/node-tonlib","owner":"labraburn","description":"NodeJS wrapper for tonlibjson","archived":true,"fork":false,"pushed_at":"2022-08-27T00:36:33.000Z","size":7787,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-22T17:46:56.084Z","etag":null,"topics":["nodejs","ton","tonlib","tonlibjson"],"latest_commit_sha":null,"homepage":"","language":"C++","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/labraburn.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}},"created_at":"2022-08-25T19:00:26.000Z","updated_at":"2024-06-08T17:22:05.000Z","dependencies_parsed_at":"2023-01-16T18:46:07.536Z","dependency_job_id":null,"html_url":"https://github.com/labraburn/node-tonlib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labraburn%2Fnode-tonlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labraburn%2Fnode-tonlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labraburn%2Fnode-tonlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labraburn%2Fnode-tonlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labraburn","download_url":"https://codeload.github.com/labraburn/node-tonlib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243600714,"owners_count":20317323,"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":["nodejs","ton","tonlib","tonlibjson"],"created_at":"2024-07-30T20:01:05.613Z","updated_at":"2025-03-14T15:32:10.041Z","avatar_url":"https://github.com/labraburn.png","language":"C++","funding_links":[],"categories":["🧑‍💻 Development"],"sub_categories":["Libraries \u0026 SDKs"],"readme":"# node-tonlib\n\nNodeJS wrapper for [tonlibjson](https://github.com/ton-blockchain/ton/tree/master/tonlib/tonlib) written as c++ addon.\n- Binaries can be located here - [pytonlib](https://github.com/toncenter/pytonlib/tree/main/pytonlib/distlib)\n- Works on `Ubuntu 20.04`, `macOS Mojave`\n\n## Installation\n\n```\nnpm install node-tonlib\n```\n\n## Usage\n\n```ts\nimport tonlib from \"node-tonlib\";\nimport fetch from \"node-fetch\";\n\nconst configuration: tonlib.Configuration = await (\n  await fetch(\"https://ton.org/global-config.json\")\n).text();\n\nconst client = new tonlib.Client({\n  configuration: configuration,\n  keystorePath: `${__dirname}/keystore`,\n  network: \"mainnet\",\n});\n\nawait this.client\n  .send({\n    \"@type\": \"raw.getAccountState\",\n    account_address: {\n      account_address: \"EQCd3ASamrfErTV4K6iG5r0o3O_hl7K_9SghU0oELKF-sxDn\",\n    },\n  })\n  .then((res) =\u003e {\n    console.log(res);\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabraburn%2Fnode-tonlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabraburn%2Fnode-tonlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabraburn%2Fnode-tonlib/lists"}