/ton-console

Launch a successful business with TON blockchain: manage dapps, tokens and payments in one place with powerful API and deep commercial integrations

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Ton Console

Launch a successful business with TON blockchain: manage dapps, tokens and payments in one place with powerful API and deep commercial integrations

Try it

alt text

Run locally

  1. nvm use 2npm i 3npm run dev

Generate api

  1. Put new swagger.yaml to the ./scripts
  2. npm run generate-api

Lint & test

  • lint (eslint & prettier): npm run lint
  • test (vitest): npm run test
  • check typings (vite DOESN'T do it automatically): npx tsc --noEmit

Husky pre-commit hook

Runs lint for staged files and checks typescript typings (You don't have to install or configure husky, it is done automatically)

Build for dev

  1. nvm use
  2. npm ci
  3. npm run build:staging

Build for dev2

  1. nvm use
  2. npm ci
  3. npm run build:staging2

Build for prod

  1. nvm use
  2. npm ci
  3. npm run build