├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── package-lock.json ├── package.json ├── src └── index.ts ├── tsconfig.build.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | # compiled output 2 | /dist 3 | /node_modules 4 | 5 | # Logs 6 | logs 7 | *.log 8 | npm-debug.log* 9 | yarn-debug.log* 10 | yarn-error.log* 11 | lerna-debug.log* 12 | 13 | # OS 14 | .DS_Store 15 | 16 | # Tests 17 | /coverage 18 | /.nyc_output 19 | 20 | # IDEs and editors 21 | /.idea 22 | .project 23 | .classpath 24 | .c9/ 25 | *.launch 26 | .settings/ 27 | *.sublime-workspace 28 | 29 | # IDE - VSCode 30 | .vscode 31 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /src 3 | transform.js 4 | 5 | # Typescript 6 | tsconfig*.json 7 | dist/tsconfig.build.tsbuildinfo 8 | 9 | # Docs 10 | /docs 11 | typedoc.json 12 | 13 | # Tests 14 | /coverage 15 | /test 16 | .nycrc.json 17 | 18 | # Logs 19 | logs 20 | *.log 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | lerna-debug.log* 25 | 26 | # OS 27 | .DS_Store 28 | 29 | # Tests 30 | /coverage 31 | /.nyc_output 32 | 33 | # IDEs and editors 34 | /.idea 35 | .project 36 | .classpath 37 | .c9/ 38 | *.launch 39 | .settings/ 40 | *.sublime-workspace 41 | .eslintrc.json 42 | 43 | # IDE - VSCode 44 | .vscode 45 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 TonStack 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Deprecation notice 2 | >⚠️ Repo was moved to [tonkite](https://github.com/tonkite/ton3-core) organization. 3 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ton3", 3 | "version": "0.0.16", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "ton3", 9 | "version": "0.0.16", 10 | "license": "MIT", 11 | "dependencies": { 12 | "ton3-core": "0.0.18", 13 | "ton3-providers": "0.0.9" 14 | }, 15 | "devDependencies": { 16 | "@types/node": "^17.0.23", 17 | "typescript": "^4.6.3" 18 | } 19 | }, 20 | "node_modules/@apidevtools/json-schema-ref-parser": { 21 | "version": "9.0.9", 22 | "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz", 23 | "integrity": "sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w==", 24 | "dependencies": { 25 | "@jsdevtools/ono": "^7.1.3", 26 | "@types/json-schema": "^7.0.6", 27 | "call-me-maybe": "^1.0.1", 28 | "js-yaml": "^4.1.0" 29 | } 30 | }, 31 | "node_modules/@jsdevtools/ono": { 32 | "version": "7.1.3", 33 | "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", 34 | "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" 35 | }, 36 | "node_modules/@noble/hashes": { 37 | "version": "1.1.2", 38 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", 39 | "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==", 40 | "funding": [ 41 | { 42 | "type": "individual", 43 | "url": "https://paulmillr.com/funding/" 44 | } 45 | ] 46 | }, 47 | "node_modules/@types/json-schema": { 48 | "version": "7.0.11", 49 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", 50 | "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" 51 | }, 52 | "node_modules/@types/node": { 53 | "version": "17.0.25", 54 | "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", 55 | "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", 56 | "dev": true 57 | }, 58 | "node_modules/argparse": { 59 | "version": "2.0.1", 60 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 61 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" 62 | }, 63 | "node_modules/axios": { 64 | "version": "0.25.0", 65 | "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", 66 | "integrity": "sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==", 67 | "dependencies": { 68 | "follow-redirects": "^1.14.7" 69 | } 70 | }, 71 | "node_modules/bath-es5": { 72 | "version": "3.0.3", 73 | "resolved": "https://registry.npmjs.org/bath-es5/-/bath-es5-3.0.3.tgz", 74 | "integrity": "sha512-PdCioDToH3t84lP40kUFCKWCOCH389Dl1kbC8FGoqOwamxsmqxxnJSXdkTOsPoNHXjem4+sJ+bbNoQm5zeCqxg==" 75 | }, 76 | "node_modules/call-me-maybe": { 77 | "version": "1.0.1", 78 | "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", 79 | "integrity": "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==" 80 | }, 81 | "node_modules/copy-anything": { 82 | "version": "3.0.2", 83 | "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-3.0.2.tgz", 84 | "integrity": "sha512-CzATjGXzUQ0EvuvgOCI6A4BGOo2bcVx8B+eC2nF862iv9fopnPQwlrbACakNCHRIJbCSBj+J/9JeDf60k64MkA==", 85 | "dependencies": { 86 | "is-what": "^4.1.6" 87 | }, 88 | "engines": { 89 | "node": ">=12.13" 90 | }, 91 | "funding": { 92 | "url": "https://github.com/sponsors/mesqueeb" 93 | } 94 | }, 95 | "node_modules/decimal.js": { 96 | "version": "10.3.1", 97 | "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", 98 | "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" 99 | }, 100 | "node_modules/follow-redirects": { 101 | "version": "1.15.1", 102 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", 103 | "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", 104 | "funding": [ 105 | { 106 | "type": "individual", 107 | "url": "https://github.com/sponsors/RubenVerborgh" 108 | } 109 | ], 110 | "engines": { 111 | "node": ">=4.0" 112 | }, 113 | "peerDependenciesMeta": { 114 | "debug": { 115 | "optional": true 116 | } 117 | } 118 | }, 119 | "node_modules/is-what": { 120 | "version": "4.1.7", 121 | "resolved": "https://registry.npmjs.org/is-what/-/is-what-4.1.7.tgz", 122 | "integrity": "sha512-DBVOQNiPKnGMxRMLIYSwERAS5MVY1B7xYiGnpgctsOFvVDz9f9PFXXxMcTOHuoqYp4NK9qFYQaIC1NRRxLMpBQ==", 123 | "engines": { 124 | "node": ">=12.13" 125 | }, 126 | "funding": { 127 | "url": "https://github.com/sponsors/mesqueeb" 128 | } 129 | }, 130 | "node_modules/js-yaml": { 131 | "version": "4.1.0", 132 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 133 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 134 | "dependencies": { 135 | "argparse": "^2.0.1" 136 | }, 137 | "bin": { 138 | "js-yaml": "bin/js-yaml.js" 139 | } 140 | }, 141 | "node_modules/openapi-client-axios": { 142 | "version": "5.1.2", 143 | "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.1.2.tgz", 144 | "integrity": "sha512-asLM6/X34tLvl+cjHFt20r+hfzOr6b/ktignqR+33bm30kCsXP/mmhYRkFjXKN79dGyqplv+qk0HMdGNaVOCig==", 145 | "dependencies": { 146 | "@apidevtools/json-schema-ref-parser": "^9.0.7", 147 | "bath-es5": "^3.0.3", 148 | "copy-anything": "^3.0.2", 149 | "openapi-types": "^10.0.0" 150 | }, 151 | "peerDependencies": { 152 | "axios": "^0.25.0", 153 | "js-yaml": "^4.1.0" 154 | } 155 | }, 156 | "node_modules/openapi-types": { 157 | "version": "10.0.0", 158 | "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz", 159 | "integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ==" 160 | }, 161 | "node_modules/ton3-core": { 162 | "version": "0.0.18", 163 | "resolved": "https://registry.npmjs.org/ton3-core/-/ton3-core-0.0.18.tgz", 164 | "integrity": "sha512-XQAkb2iSBfHBrW1N6JKER2TJ7dB1jGPYm7syHE2ogyuxzitza99faJb2JG9koMq6JyNNUmuSoEmr+w/XyFVeRQ==", 165 | "dependencies": { 166 | "@noble/hashes": "1.1.2", 167 | "decimal.js": "10.3.1", 168 | "tweetnacl": "1.0.3" 169 | } 170 | }, 171 | "node_modules/ton3-providers": { 172 | "version": "0.0.9", 173 | "resolved": "https://registry.npmjs.org/ton3-providers/-/ton3-providers-0.0.9.tgz", 174 | "integrity": "sha512-RMYAqlUR2aJSw08imKIpNyyT6/QI9MdMt/WRNzON25dwnkSGO1CqoO1DjZfdhefT0VwrFKlrrcZ9B1yvi3/Vhw==", 175 | "dependencies": { 176 | "axios": "^0.25.0", 177 | "openapi-client-axios": "^5.1.2" 178 | } 179 | }, 180 | "node_modules/tweetnacl": { 181 | "version": "1.0.3", 182 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", 183 | "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" 184 | }, 185 | "node_modules/typescript": { 186 | "version": "4.6.3", 187 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", 188 | "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", 189 | "dev": true, 190 | "bin": { 191 | "tsc": "bin/tsc", 192 | "tsserver": "bin/tsserver" 193 | }, 194 | "engines": { 195 | "node": ">=4.2.0" 196 | } 197 | } 198 | }, 199 | "dependencies": { 200 | "@apidevtools/json-schema-ref-parser": { 201 | "version": "9.0.9", 202 | "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz", 203 | "integrity": "sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w==", 204 | "requires": { 205 | "@jsdevtools/ono": "^7.1.3", 206 | "@types/json-schema": "^7.0.6", 207 | "call-me-maybe": "^1.0.1", 208 | "js-yaml": "^4.1.0" 209 | } 210 | }, 211 | "@jsdevtools/ono": { 212 | "version": "7.1.3", 213 | "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", 214 | "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" 215 | }, 216 | "@noble/hashes": { 217 | "version": "1.1.2", 218 | "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", 219 | "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" 220 | }, 221 | "@types/json-schema": { 222 | "version": "7.0.11", 223 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", 224 | "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" 225 | }, 226 | "@types/node": { 227 | "version": "17.0.25", 228 | "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.25.tgz", 229 | "integrity": "sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w==", 230 | "dev": true 231 | }, 232 | "argparse": { 233 | "version": "2.0.1", 234 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 235 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" 236 | }, 237 | "axios": { 238 | "version": "0.25.0", 239 | "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", 240 | "integrity": "sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==", 241 | "requires": { 242 | "follow-redirects": "^1.14.7" 243 | } 244 | }, 245 | "bath-es5": { 246 | "version": "3.0.3", 247 | "resolved": "https://registry.npmjs.org/bath-es5/-/bath-es5-3.0.3.tgz", 248 | "integrity": "sha512-PdCioDToH3t84lP40kUFCKWCOCH389Dl1kbC8FGoqOwamxsmqxxnJSXdkTOsPoNHXjem4+sJ+bbNoQm5zeCqxg==" 249 | }, 250 | "call-me-maybe": { 251 | "version": "1.0.1", 252 | "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", 253 | "integrity": "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==" 254 | }, 255 | "copy-anything": { 256 | "version": "3.0.2", 257 | "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-3.0.2.tgz", 258 | "integrity": "sha512-CzATjGXzUQ0EvuvgOCI6A4BGOo2bcVx8B+eC2nF862iv9fopnPQwlrbACakNCHRIJbCSBj+J/9JeDf60k64MkA==", 259 | "requires": { 260 | "is-what": "^4.1.6" 261 | } 262 | }, 263 | "decimal.js": { 264 | "version": "10.3.1", 265 | "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", 266 | "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" 267 | }, 268 | "follow-redirects": { 269 | "version": "1.15.1", 270 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", 271 | "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" 272 | }, 273 | "is-what": { 274 | "version": "4.1.7", 275 | "resolved": "https://registry.npmjs.org/is-what/-/is-what-4.1.7.tgz", 276 | "integrity": "sha512-DBVOQNiPKnGMxRMLIYSwERAS5MVY1B7xYiGnpgctsOFvVDz9f9PFXXxMcTOHuoqYp4NK9qFYQaIC1NRRxLMpBQ==" 277 | }, 278 | "js-yaml": { 279 | "version": "4.1.0", 280 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 281 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 282 | "requires": { 283 | "argparse": "^2.0.1" 284 | } 285 | }, 286 | "openapi-client-axios": { 287 | "version": "5.1.2", 288 | "resolved": "https://registry.npmjs.org/openapi-client-axios/-/openapi-client-axios-5.1.2.tgz", 289 | "integrity": "sha512-asLM6/X34tLvl+cjHFt20r+hfzOr6b/ktignqR+33bm30kCsXP/mmhYRkFjXKN79dGyqplv+qk0HMdGNaVOCig==", 290 | "requires": { 291 | "@apidevtools/json-schema-ref-parser": "^9.0.7", 292 | "bath-es5": "^3.0.3", 293 | "copy-anything": "^3.0.2", 294 | "openapi-types": "^10.0.0" 295 | } 296 | }, 297 | "openapi-types": { 298 | "version": "10.0.0", 299 | "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz", 300 | "integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ==" 301 | }, 302 | "ton3-core": { 303 | "version": "0.0.18", 304 | "resolved": "https://registry.npmjs.org/ton3-core/-/ton3-core-0.0.18.tgz", 305 | "integrity": "sha512-XQAkb2iSBfHBrW1N6JKER2TJ7dB1jGPYm7syHE2ogyuxzitza99faJb2JG9koMq6JyNNUmuSoEmr+w/XyFVeRQ==", 306 | "requires": { 307 | "@noble/hashes": "1.1.2", 308 | "decimal.js": "10.3.1", 309 | "tweetnacl": "1.0.3" 310 | } 311 | }, 312 | "ton3-providers": { 313 | "version": "0.0.9", 314 | "resolved": "https://registry.npmjs.org/ton3-providers/-/ton3-providers-0.0.9.tgz", 315 | "integrity": "sha512-RMYAqlUR2aJSw08imKIpNyyT6/QI9MdMt/WRNzON25dwnkSGO1CqoO1DjZfdhefT0VwrFKlrrcZ9B1yvi3/Vhw==", 316 | "requires": { 317 | "axios": "^0.25.0", 318 | "openapi-client-axios": "^5.1.2" 319 | } 320 | }, 321 | "tweetnacl": { 322 | "version": "1.0.3", 323 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", 324 | "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" 325 | }, 326 | "typescript": { 327 | "version": "4.6.3", 328 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", 329 | "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", 330 | "dev": true 331 | } 332 | } 333 | } 334 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ton3", 3 | "version": "0.0.16", 4 | "description": "TON Blockchain low-level API tools", 5 | "main": "./dist/index.js", 6 | "scripts": { 7 | "build": "tsc -p tsconfig.build.json" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/tonstack/ton3.git" 12 | }, 13 | "keywords": [ 14 | "ton", 15 | "boc", 16 | "cell", 17 | "api", 18 | "adnl", 19 | "liteserver", 20 | "liteclient", 21 | "blockchain" 22 | ], 23 | "author": "TonStack", 24 | "license": "MIT", 25 | "bugs": { 26 | "url": "https://github.com/tonstack/ton3/issues" 27 | }, 28 | "homepage": "https://github.com/tonstack/ton3#readme", 29 | "dependencies": { 30 | "ton3-core": "0.0.18", 31 | "ton3-providers": "0.0.9" 32 | }, 33 | "devDependencies": { 34 | "@types/node": "^17.0.23", 35 | "typescript": "^4.6.3" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { 2 | Bit, 3 | BOC, 4 | BOCOptions, 5 | Cell, 6 | CellType, 7 | CellOptions, 8 | Slice, 9 | Builder, 10 | Hashmap, 11 | HashmapE, 12 | Mnemonic, 13 | MnemonicBIP39, 14 | MnemonicOptions, 15 | KeyPair, 16 | Contracts, 17 | Address, 18 | AddressRewriteOptions, 19 | AddressStringifyOptions, 20 | Coins, 21 | Utils 22 | } from 'ton3-core' 23 | 24 | export * as Providers from 'ton3-providers' 25 | -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["./src/**/*.ts"], 4 | "exclude": ["./test"] 5 | } 6 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": true, 3 | "compilerOptions": { 4 | "module": "CommonJS", 5 | "target": "ES2020", 6 | "lib": [ 7 | "ES2020", 8 | "ESNEXT" 9 | ], 10 | "declaration": true, 11 | "removeComments": true, 12 | "emitDecoratorMetadata": true, 13 | "experimentalDecorators": true, 14 | "resolveJsonModule": true, 15 | "esModuleInterop": true, 16 | "sourceMap": true, 17 | "outDir": "./dist", 18 | "baseUrl": "./src", 19 | "incremental": true 20 | }, 21 | "include": ["./**/*.ts"], 22 | "exclude": ["node_modules", "dist"] 23 | } 24 | --------------------------------------------------------------------------------