0.0.1 • Published 2 years ago
@ton-contract/config v0.0.1
TON Config
Small library for working with TON config contract.
Installation
yarn add @ton-contract/config ton-core ton-crypto
Usage
import { ConfigContract, Config } from "@ton-contract/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
0.0.1
2 years ago