Skip to content
On this page

Overview

Locklift, inspired by Truffle and Hardhat, is a Node JS framework designed to facilitate the building, testing, running, and maintaining of smart contracts for TVM (Threaded Virtual Machine) blockchains like Everscale, Venom, Gosh and TON.

Locklift logo

With Locklift, developers can benefit from:

  • Network management capabilities for various networks (main, test, local, etc.)
  • Automated contract testing with Mocha
  • A useful wrapper for smart contracts
  • Support for custom givers
  • Management of keys
  • An external script runner to execute scripts within a given environment

Locklift primarily revolves around command execution and extensibility through plugins, allowing for the creation of complex workflows. The Locklift class in the provided code snippet is responsible for setting up and initializing the development environment. It includes setting up the network connection, key management, creating the factory for deploying contracts, and establishing tracing for contract interactions. The class also provides utility methods and handles errors related to connection and network setup.

TIP

Locklift interfaces with the blockchain using the everscale-inpage-provider and everscale-standalone-client. The inpage provider is a powerful tool for building web3 applications that operate with TVM-compatible blockchains. It helps developers build statically type checked contract interactions, pack/unpack complex cell data structures, and write elegant transaction parsers using streams and combinators. When no providers are installed, or in a NodeJS environment, the standalone client can be utilized, which supports methods not requiring user interaction. For a deeper understanding of the inpage provider, you can refer to the Inpage Provider Documentation.