0.0.3 • Published 3 years ago

@tonstack/tontools v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

💎 tontools

TypeScript TON

Tontools-js is a javascript package inspired by tonweb to work with TON blockchain.\ Visit documentation to see API reference.

:warning: Work in progress, API can (and most likely will) be changed! This is not production ready version yet.

How to install

npm i @tonstack/tontools

How to use

import { BOC, Builder } from '@tonstack/tontools'

const text = 'Hello, World!'
const cell = new Builder()
    .storeString(text)
    .cell()

const boc = BOC.toBytesStandard(cell)
const result = BOC.fromStandard(boc)
    .parse()
    .loadString()

console.log(text === result) // true

Main authors

tjifyodor\ cryshado

License

MIT License

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago