Перейти к основному содержимому

Examples of Smart Contracts

On this page, you can find TON smart contract references implemented for various program software.

к сведению

Make sure you have thoroughly tested contracts before using them in a production environment. This is a critical step to ensure the proper functioning and security of your software.

FunC Smart Contracts

Production used Contracts

ContractsDescription
wallet-contract
🪄 Run in WebIDE
Wallet v4 is proposed version of wallet to replace v3 or older wallets
liquid-staking-contract
🪄 Run in WebIDE
Liquid Staking (LSt) is a protocol that connects TON holders of all caliber with hardware node operators to participate in TON Blockchain validation through assets pooling.
modern_jetton
🪄 Run in WebIDE
Implementation of standard jetton with additional withdraw_tons and withdraw_jettons.
highloadwallet-v3This wallet is made for who need to send transactions at very high rates. For example, crypto exchanges.
stablecoin-contractJetton-with-governance FunC smart contracts. Used for stablecoins such as USDt.
governance-contract
🪄 Run in WebIDE
Core TON Blockchain contracts elector-code.fc and config-code.fc.
bridge-func
🪄 Run in WebIDE
TON-EVM Toncoin Bridge.
token-bridge-func
🪄 Run in WebIDE
TON-EVM token bridge - FunC smart contracts.
lockup-wallet-contract/universal
🪄 Run in WebIDE
Universal lockup wallet is contract that can store locked and restricted coins.
lockup-wallet-contract/vesting
🪄 Run in WebIDE
Vesting wallet smart-contract
multisig-contract
🪄 Run in WebIDE
(n, k)-multisig wallet is a wallet with n private keys holders, which accepts requests to send messages if the request collects at least k signatures of the holders.
token-contract
🪄 Run in WebIDE
Fungible, Non-Fungible, Semi-Fungible Tokens Smart Contracts
dns-contract
🪄 Run in WebIDE
Smart contracts of .ton zone.
nominator-pool
🪄 Run in WebIDE
Nominator pool smart contract
single-nominator-pool
🪄 Run in WebIDE
Single Nominator Pool smart contract
vesting-contract
🪄 Run in WebIDE
Nominator pool smart contract
storage
🪄 Run in WebIDE
TON Storage provider and fabric contracts

Ecosystem Contracts

ContractsDescription
telemint
🪄 Run in WebIDE
Telegram Usenames(nft-item.fc) and Telegram Numbers(nft-item-no-dns.fc) contracts.
capped-fungible-token
🪄 Run in WebIDE
Basic implementation of smart contracts for Jetton wallet and Jetton minter
gusarich-airdropImplementation of a Scalable Airdrop System for the TON blockchain. It can be used to distribute Jettons on-chain to any number of wallets.
getgems-io/nft-contracts
🪄 Run in WebIDE
Getgems NFT Contracts
lockup-wallet-deployment
🪄 Run in WebIDE
Deploy and run lockup Contract end to end
WTON
🪄 Run in WebIDE
This smart contract provides an implementation of wrapped toncoin, called WTON
wton-contract
🪄 Run in WebIDE
wTON contracts
contract-verifier-contracts
🪄 Run in WebIDE
Sources registry contracts which stores an on-chain proof per code cell hash.
vanity-contract
🪄 Run in WebIDE
Smart contract that allows to "mine" any suitable address for any contract.
ton-config-smc
🪄 Run in WebIDE
Simple contract for storing versioned data in TON Blockchain.
ratelance
🪄 Run in WebIDE
Ratelance is freelance platform that seeks to remove barriers between potential employers and workers.
logger.fc
🪄 Run in WebIDE
Contract that saves data in the local storage.
ton-nominators
🪄 Run in WebIDE
Ton Whales Nominator pool source code.
ton-link-contract-v3
🪄 Run in WebIDE
Ton-link allows smart contracts to access data outside of the blockchain while maintaining data security.
delab-team/fungible-token
🪄 Run in WebIDE
DeLab TON fungible-token implementation
whitelisted-wallet.fc
🪄 Run in WebIDE
Simple Whitelisted Wallet Contract
delab-team/jetton-pool
🪄 Run in WebIDE
The Jetton Pool TON smart contract is designed to create farm pools.
ston-fi/contracts
🪄 Run in WebIDE
Stonfi DEX core contracts
onda-ton
🪄 Run in WebIDE
Onda Lending Pool - Core smart contracts of the first lending protocol on TON
ton-stable-timer
🪄 Run in WebIDE
TON Stable Timer contract
HipoFinance/contract
🪄 Run in WebIDE
hTON is a decentralized, permission-less, open-source liquid staking protocol on TON Blockchain

Learning Contracts

ContractsDescription
counter.fc
🪄 Run in WebIDE
Counter smart contract with comments.
simple-distributor
🪄 Run in WebIDE
Simple TON distributor.
ping-pong.fc
🪄 Run in WebIDE
Simple contract to test sending Toncoin in different modes.
ton-random
🪄 Run in WebIDE
Two contracts that will help you in generating random numbers on-chain.
Blueprint simple contract
🪄 Run in WebIDE
Example smart contract
Blueprint jetton_minter.fc
🪄 Run in WebIDE
Smart contract example to mint Jettons on-chain.
Simple TON DNS Subdomain manager
🪄 Run in WebIDE
TON DNS subdomains manager.
disintar/sale-dapp
🪄 Run in WebIDE
React + NFT sale DApp with FunC

TON Smart Challenges

TON Smart Challenge 1

TON Smart Challenge 2

TON Smart Challenge 3

TON Smart Challenge 4

Fift Smart Contracts

FunC Libraries and Helpers

Add Reference

If you want to share a new example smart contract, make your PR for this page.

See Also