1. A computer-implemented method for performing an off-chain testing on a smart contract, comprising:generating execution environment information for the smart contract, the execution environment information including at least one of transaction context information, blockchain information, or state information;
providing an interface between the generated execution environment information and the smart contract;
executing the smart contract based on the generated execution environment information and the provided interface; and
storing an execution result of the smart contract, wherein the storing the execution result comprises storing data indicating a change in at least one of the blockchain information or the state information,
wherein the generating the execution environment information, the providing the interface, the executing the smart contract, and the storing the execution result of the smart contract are performed before the smart contract is deployed into a blockchain, thereby implementing the off-chain testing on the smart contract.