Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

thor-builtin

zzGHzz32MIT2.0.2TypeScript support: included

Addresses and ABIs of the built-in contracts deployed on the VeChain Thor blockchain.

readme

vechain-builtin

Addresses and ABIs of the built-in contracts deployed on the VeChain Thor blockchain.

Visit https://docs.vechain.org/thor/learn/builtin-contracts.html to learn about the built-in contracts.

Installation

npm i thor-builtin

Usage

To load the address and ABIs of the built-in Energy contract:

import { energyAddr, energyABI } from 'thor-builtin';