1.3.6 • Published 10 months ago

@oraichain/tonbridge-utils v1.3.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

tonbridge-utils

Overview

This package is forked from TonRocks. It is a utility package for parsing all kinds of TON data such as blocks, transactions, configurations,...

We need such parsing functions because our TON Bridge system is trustless, and we have to parse TON data from BoC format to the human-readable format and extract data for verification.

Features

  • Parse TON Cells, Hashmaps.
  • Parse TON blocks, account states, validators, TON config.
  • TL-B and TL-B typescript codegen for TON Bridge data formats.

Quick start

Firstly, we need to install the dependencies and build the package:

# Install dependencies
yarn

# build
yarn build

Next, we import the package in package.json and use it. Eg: "@oraichain/tonbridge-utils": "^1.2.5",

Generate typescript from TL-B

If you want to update the TL-B typescript codegen, you can use the following command:

# Eg:
yarn tlb src/tlb/outmsg-body.tlb
1.3.6

10 months ago

1.3.5

10 months ago

1.3.1

11 months ago

1.2.2

1 year ago

1.0.0

1 year ago