TON BTCFi Kit - tgBTC APIs All You Need To Know

Build Your tgBTC Innovation on TON. Comprehensive tgBTC APIs, SDKs, and tgBTC Testnet Faucet. Powered by TONX API.

How to Get Free Testnet tgBTC Tokens?

TONX API is offering free testnet tgBTC to TON Global BTCFi hackathon participants. Here’s how to claim yours: https://forms.gle/CQWJgiF9kTW4prDw7


What is TON Teleport BTC (tgBTC)?

TON Teleport BTC is a trustless, decentralized bridge that brings Bitcoin directly into TON. TON Teleport BTC combines Bitcoin’s renowned security with TON’s speed and scalability.

TON Teleport BTC enables users to securely transfer BTC between the Bitcoin and TON networks without relying on central intermediaries.

More information you can refer to: https://tgbtc.gitbook.io/docs

Dapps can leverage tgBTC to come out use cases like:

  • Liquidity: Market Impact Effectiveness in increasing tgBTC liquidity in decentralized and centralized marketplaces.
  • Distribution: Ease of Adoption Solutions that reduce friction in tgBTC transactions, holding, and usage.
  • Yield: DeFi Integration Innovative uses of tgBTC in farming, staking, and lending protocols.

How does it work for tgBTC?

  1. Peg-in: Users transfer BTC to the TON network, where it is converted into an equivalent amount of tgBTC, a token fully pegged to the value of BTC.
  2. Unlocking DeFi Potential: tgBTC can be used in various scenarios within the TON ecosystem, such as providing liquidity, staking, and lending. This gives otherwise static BTC assets more utility.
  3. Redeem Anytime: Users can redeem tgBTC for native BTC at any time, ensuring quick and easy asset liquidity.

Through the TON network, tgBTC overcomes Bitcoin’s inherent issues of slow transaction speeds and high fees, enabling fast settlements and low-cost operations. These features make it an ideal choice for payment, DeFi, and NFT applications, while attracting more users and developers to the TON ecosystem.


What tgBTC api by TONX API offering?


tgBTC dapp example by TONX API

In this sample project, we aim to demonstrate: Retrieve tgBTC balance and send tgBTC on TestNet via a  web app.

  1. Retrieve tgBTC balance
    • Connect a Testnet wallet using TonConnect.
    • Retrieve tgBTC balance.
  2. Transfer tgBTC
    • Fill tgBTC Recipient Testnet Address
    • Fill Amount of tgBTC to send
    • Send tgBTC transactions to a destination account

Refer to this doc for detail implementation. https://docs.tonxapi.com/reference/build-your-tgbtc-dapp

Start to build your Dapp now!