├── .dockerignore ├── .env ├── .gitignore ├── .yarn └── releases │ └── yarn-3.4.1.cjs ├── .yarnrc.yml ├── Dockerfile ├── LICENSE ├── README.md ├── docker.sh ├── jest.config.js ├── package.json ├── src ├── api │ ├── handlers │ │ ├── handleAccountGet.ts │ │ ├── handleAccountGetChanged.ts │ │ ├── handleAccountGetLite.ts │ │ ├── handleAccountRun.ts │ │ ├── handleBlockWatch.ts │ │ ├── handleBlockWatchChanged.ts │ │ ├── handleGetBlock.ts │ │ ├── handleGetBlockByTime.ts │ │ ├── handleGetBlockLatest.ts │ │ ├── handleGetConfig.ts │ │ ├── handleGetParsedTransactions.ts │ │ ├── handleGetTransactions.ts │ │ └── handleSend.ts │ ├── limitBlocksHistory.ts │ └── startApi.ts ├── client.ts ├── config.ts ├── executor │ ├── runContract.spec.ts │ └── runContract.ts ├── index.ts ├── sync │ └── BlockSync.ts └── utils │ ├── convert.spec.ts │ ├── convert.ts │ ├── crc32.ts │ ├── fetchConfig.ts │ ├── formatSupportedBody.ts │ ├── log.ts │ ├── parseMessageBody.ts │ ├── rawTransactionToParsedTransaction.ts │ ├── resolveOperation.ts │ └── time.ts ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .env -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/.gitignore -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.4.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/.yarn/releases/yarn-3.4.1.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/README.md -------------------------------------------------------------------------------- /docker.sh: -------------------------------------------------------------------------------- 1 | set -e 2 | docker build --platform=linux/amd64 -t tonwhales/ton-api-v4:v57 . 3 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/package.json -------------------------------------------------------------------------------- /src/api/handlers/handleAccountGet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleAccountGet.ts -------------------------------------------------------------------------------- /src/api/handlers/handleAccountGetChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleAccountGetChanged.ts -------------------------------------------------------------------------------- /src/api/handlers/handleAccountGetLite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleAccountGetLite.ts -------------------------------------------------------------------------------- /src/api/handlers/handleAccountRun.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleAccountRun.ts -------------------------------------------------------------------------------- /src/api/handlers/handleBlockWatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleBlockWatch.ts -------------------------------------------------------------------------------- /src/api/handlers/handleBlockWatchChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleBlockWatchChanged.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetBlock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetBlock.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetBlockByTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetBlockByTime.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetBlockLatest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetBlockLatest.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetConfig.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetParsedTransactions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetParsedTransactions.ts -------------------------------------------------------------------------------- /src/api/handlers/handleGetTransactions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleGetTransactions.ts -------------------------------------------------------------------------------- /src/api/handlers/handleSend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/handlers/handleSend.ts -------------------------------------------------------------------------------- /src/api/limitBlocksHistory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/limitBlocksHistory.ts -------------------------------------------------------------------------------- /src/api/startApi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/api/startApi.ts -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/client.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/executor/runContract.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/executor/runContract.spec.ts -------------------------------------------------------------------------------- /src/executor/runContract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/executor/runContract.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/sync/BlockSync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/sync/BlockSync.ts -------------------------------------------------------------------------------- /src/utils/convert.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/convert.spec.ts -------------------------------------------------------------------------------- /src/utils/convert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/convert.ts -------------------------------------------------------------------------------- /src/utils/crc32.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/crc32.ts -------------------------------------------------------------------------------- /src/utils/fetchConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/fetchConfig.ts -------------------------------------------------------------------------------- /src/utils/formatSupportedBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/formatSupportedBody.ts -------------------------------------------------------------------------------- /src/utils/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/log.ts -------------------------------------------------------------------------------- /src/utils/parseMessageBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/parseMessageBody.ts -------------------------------------------------------------------------------- /src/utils/rawTransactionToParsedTransaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/rawTransactionToParsedTransaction.ts -------------------------------------------------------------------------------- /src/utils/resolveOperation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/resolveOperation.ts -------------------------------------------------------------------------------- /src/utils/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/src/utils/time.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ton-community/ton-api-v4/HEAD/yarn.lock --------------------------------------------------------------------------------