tbc-contract
v1.6.0
Published
A TBC smart contract SDK.
Readme
TBC-Contract SDK
Smart Contract SDK for TuringBitChain
Introduction
TBC-Contract is a smart-contract SDK for the TuringBitChain ecosystem. It provides end-to-end building blocks for on-chain data queries, UTXO fetching, transaction construction, signing, and broadcasting.
With this SDK, you can quickly integrate TBC transfers and contract workflows such as MultiSig, NFT, FT, and Pool while avoiding low-level transaction scripting and manual parameter assembly.
Prerequisites
- Node.js 22+
- A testnet private key with enough TBC (testnet is recommended for beginners)
Install
npm i tbc-contractAdvanced Docs
- MultiSig: docs/multiSIg.md
- NFT: docs/nft.md
- FT: docs/ft.md
- Pool: docs/poolNFT2.0.md
Security Notes
- Never store private keys in plaintext on frontend apps.
- Never commit private keys or mnemonics to Git repositories.
- For production, use isolated signing services or hardware-based signing.
