Small library for working with TON config contract.
yarn add @ton-contract/config ton-core ton-crypto
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();
MIT