Go implementation of libraries for TON blockchain.
- ADNL - low level adnl protocol implementation
- Lite client - interaction with TON node as lite client
- BOC - cells and bag-of-cells methods and primitives
- TL - interaction with binary data described by TL (Type Language) schemas
- TLB - interaction with binary data (in Cells) described by TL-B (Typed Language - Binary) schemas
- TVM - interaction with TVM (TON Virtual Machine)
- Wallet - tools to simplify the deployment and interaction with the wallet smart contract
- Contract - tools to simplify the interaction with the smart contracts like Jettons and NFT
- Examples
For TVM executor you need a libraries from lib/darwin
(MAC) or lib/linux
For connect to TON node you need to know public key and ip:port
. In most cases you can use public config files.
Download global-config.json
(mainnet) or testnet-global.config.json
(testnet) file from ton.org
Lite client supports auto-download mainnet config from ton.org.
go get github.com/tonkeeper/tongo
Tongo operates with TON blockchain structures described in block.tlb
and some types described in lite_api.tl.
Go definitions of these types you can find in files: ton/account.go
, ton/transactions.go
, ton/models.go
...
You can join to our chat in telegram - https://t.me/tongo_lib
Don't be afraid if you see only russians - we welcome any english speakers too.