Skip to content

kshyun28/ton-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ton-sample-app

A sample TON DApp from the TON and Telegram Blockchain Course.

Local Development

Contract

  1. Install dependencies: yarn
  2. Compile and run tests: yarn jest
  3. Deploy to testnet/mainnet: yarn blueprint run

    NOTE: Before deploying, replace the address and owner_address in contract/scripts/deploy.ts with your testnet wallet.

DApp

  1. Install dependencies: yarn
  2. Run DApp: yarn dev

    NOTE: Before running, replace the contract address in dapp/src/hooks/useMainContract.ts with your deployed contract address.

Resources