智能合约示例
在这个页面上,您可以找到为各种程序软件实现的TON智能合约的参考。
信息
确保在生产环境中使用它们之前彻底测试合约。这是确保您的软件正常运行和安全的关键步骤。
FunC智能合约
生产环境中使用的合约
| 合约 | 描述 | 
|---|---|
| wallet-contract 🪄 在WebIDE中运行 | Wallet v4是提出用于替换v3或更早的钱包的钱包版本 | 
| liquid-staking-contract 🪄 在WebIDE中运行 | Liquid Staking (LSt)是一个协议,连接所有水平的TON持有者与硬件节点运营商,通过资产池参与TON区块链验证。 | 
| modern_jetton 🪄 在WebIDE中运行 | 实现标准jetton,附加withdraw_tons和withdraw_jettons功能。 | 
| governance-contract 🪄 在WebIDE中运行 | TON区块链核心合约 elector-code.fc和config-code.fc。 | 
| bridge-func 🪄 在WebIDE中运行 | TON-EVM Toncoin桥。 | 
| token-bridge-func 🪄 在WebIDE中运行 | TON-EVM代币桥 - FunC智能合约。 | 
| lockup-wallet-contract/universal 🪄 在WebIDE中运行 | Universal lockup wallet是可以存储锁定的和受限的代币的合约。 | 
| lockup-wallet-contract/vesting 🪄 在WebIDE中运行 | Vesting钱包智能合约 | 
| multisig-contract 🪄 在WebIDE中运行 | (n, k)-多签名钱包是一个拥有n个私钥持有者的钱包,如果请求收集到至少k个持有者的签名,则接受发送消息的请求。 | 
| token-contract 🪄 在WebIDE中运行 | 可替代、不可替代、半可替代代币智能合约 | 
| dns-contract 🪄 在WebIDE中运行 | .ton区域的智能合约。 | 
| nominator-pool 🪄 在WebIDE中运行 | Nominator池智能合约 | 
| single-nominator-pool 🪄 在WebIDE中运行 | 单一Nominator池智能合约 | 
| vesting-contract 🪄 在WebIDE中运行 | Nominator池智能合约 | 
| storage 🪄 在WebIDE中运行 | TON存储提供商和制造合约 | 
| vesting-contract 🪄 在WebIDE中运行 | Nominator池智能合约 | 
| ton-random 🪄 在WebIDE中运行 | TON存储提供商和制造合约 | 
生态系统合约
| 合约 | 描述 | 
|---|---|
| telemint 🪄 在WebIDE中运行 | Telegram用户名( nft-item.fc)和Telegram号码(nft-item-no-dns.fc)合约。 | 
| WTON 🪄 在WebIDE中运行 | 此智能合约提供了称为WTON的wrapped toncoin的实现 | 
| capped-fungible-token 🪄 在WebIDE中运行 | Jetton钱包和Jetton铸币的基本智能合约实现 | 
| getgems-io/nft-contracts 🪄 在WebIDE中运行 | Getgems NFT合约 | 
| lockup-wallet-deployment 🪄 在WebIDE中运行 | 部署和运行锁定合约的端到端实现 | 
| wton-contract 🪄 在WebIDE中运行 | wTON合约 | 
| contract-verifier-contracts 🪄 在WebIDE中运行 | 存储每个代码cell哈希的链上证明的源注册合约。 | 
| vanity-contract 🪄 在WebIDE中运行 | 允许为任何合约“挖掘”任何合适地址的智能合约。 | 
| ton-config-smc 🪄 在WebIDE中运行 | 简单的用于在TON区块链中存储版本化数据的合约。 | 
| ratelance 🪄 在WebIDE中运行 | Ratelance是一个自由职业平台,旨在消除潜在雇主和工作者之间的障碍。 | 
| ton-forwarder.fc 🪄 在WebIDE中运行 | 接受确切金额并将其转发到指定地址的合约。错误金额或后续退款时退还资金。 | 
| logger.fc 🪄 在WebIDE中运行 | 将数据保存在本地存储中的合约。 | 
| ton-nominators 🪄 在WebIDE中运行 | Ton Whales Nominator池源代码。 | 
| ton-link-contract-v3 🪄 在WebIDE中运行 | Ton-link允许智能合约访问区块链外的数据,同时保持数据安全。 | 
| delab-team/fungible-token 🪄 在WebIDE中运行 | DeLab TON可替代代币实现 | 
| whitelisted-wallet.fc 🪄 在WebIDE中运行 | 简单的白名单钱包合约 | 
| delab-team/jetton-pool 🪄 在WebIDE中运行 | Jetton Pool TON智能合约旨在创建farm pools。 | 
| ston-fi/contracts 🪄 在WebIDE中运行 | Stonfi DEX核心合约 | 
| onda-ton 🪄 在WebIDE中运行 | Onda借贷池 - TON上首个借贷协议的核心智能合约 | 
| ton-stable-timer 🪄 在WebIDE中运行 | TON稳定计时器合约 | 
| HipoFinance/contract 🪄 在WebIDE中运行 | hTON是TON区块链上的去中心化、无需许可的开源流动性质押协议 | 
学习合约
| 合约 | 描述 | 
|---|---|
| counter.fc 🪄 在WebIDE中运行 | 带有评论的counter(计数器)智能合约。 | 
| simple-distributor 🪄 在WebIDE中运行 | 简单的TON分发器。 | 
| ping-pong.fc 🪄 在WebIDE中运行 |