ton-global-config
v0.0.4
Published
Library for working with TON config contract
Readme
TON Global Config
Small library for working with TON config contract.
This is a fork of @tact-lang/ton-contract-config by Steve Korshakov, updated to use
@ton/coreand@ton/cryptopackages instead of the legacyton-coreandton-crypto.
Installation
yarn add ton-global-config @ton/core @ton/cryptoUsage
import { ConfigContract, Config } from 'ton-global-config';
// Load config from network
const config = client.open(ConfigContract.create());
const rawConfig: Dictionary<number, Cell> = await config.getRawConfig(); // Dictionary<number, Cell>
const config: Config = await config.getConfig();License
MIT
